BL4S100 User’s Manual
66
setPWM (continued)
RETURN VALUE
0 — success.
-EINVAL
— invalid parameter value.
-EPERM
— pin type does not permit this function.
-EACCES
— resource needed by this function is not available.
-EFAULT
— internal data fault detected.
positive number — Mode Conflict — the positive number is a bitmap that corresponds
to the pins on a particular block of a RIO chip that have not been configured to support
this function call. Appendix D provides the details of the pin and block associations to
allow you to identify the channels that need to be reconfigured to support this function
call.
SEE ALSO
brdInit, setFreq, setDuty, setSyncIn, setSyncOut, pulseEnable,
pulseDisable, setPPM