int MSXE17xx__MFPWMDisableAndRelease ( xsd__unsignedLong  ulMFModuleIndex,
xsd__unsignedLong  ulPWM,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
struct MSXE17xx__Response Response 
)

If PWM in progress this stop directly the PWM and ignore the ulStopMode configugation (MSXE17xx__MFPWMInitAndEnable).

Parameters:
[in] ulMFModuleIndex : Index of the multifunction sub module (0 to 3).
[in] ulPWM : Selected PWM 0 or 1
[in] ulOption01 : Reserved. Set to 0
[in] ulOption02 : Reserved. Set to 0
[out] Response :
iReturnValue :

  • 0: means the remote function performed OK
  • -1: means an system error occured
  • -2: Sub module selection wrong
  • -3: Sub module is not a PWM
  • -4: PWM selection wrong
  • -5: PWM not initialised
  • -100: Disable PWM kernel function error

syserrno : system-error code (the value of the libc "errno" code)

Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error