![]() |
![]() |
PWM Parameters. More...
#include <PWM.h>
Data Fields | |
| PWM_Period_Units | periodUnits |
| uint32_t | periodValue |
| PWM_Duty_Units | dutyUnits |
| uint32_t | dutyValue |
| PWM_IdleLevel | idleLevel |
| void * | custom |
PWM Parameters.
PWM Parameters are used to with the PWM_open() call. Default values for these parameters are set using PWM_Params_init().
| PWM_Period_Units PWM_Params_::periodUnits |
Units in which the period is specified
| uint32_t PWM_Params_::periodValue |
PWM initial period
| PWM_Duty_Units PWM_Params_::dutyUnits |
Units in which the duty is specified
| uint32_t PWM_Params_::dutyValue |
PWM initial duty
| PWM_IdleLevel PWM_Params_::idleLevel |
Pin output when PWM is stopped.
| void* PWM_Params_::custom |
Custom argument used by driver implementation