IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ pwmEnable()

int pwmEnable ( int  pwmNumber,
BOOL  enable 
)

Enable/disable pin with PWM functionality. Needs to be called to enable the PWM functionality on a pin. This function needs to be called first before other PWM API function can be called.

Parameters
pwmNumberPWM number
     0 = PWM1
     and so on ...
enableEnable/disable
     TRUE = Enable PWM functionality
     FALSE = Disable PWM functionality
Returns
Zero on success
Since
V1.03
See also
pwmSetActive()





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13