Pulse-Width Modulation
Pulse-Width Modulation (PWM) hardware abstraction layer.
Summary
Macros
- PWM_CHANNELS : The total number of PWM channels.
- HIGH_FRACTIONAL : High fractional.
Functions
- Sys_PWM_GPIOConfig : Configure a GPIO pad for the PWM interface.
- Sys_PWM_Config : Set length of PWM period and number of high cycles within a PWM period.
- Sys_PWM_Enable : Enable a set of PWM channels.
- Sys_PWM_Disable : Disable the PWM[4:0] channel Disabling the PWM channel will set the counter and prescaler to zero.
- Sys_PWM_Reset_Channel : Reset the PWM[4:0] channel Disable the PWM[4:0] channel, reset the PWM_CFG[4:0] and PWM_OFFSET[4:1] registers and the related counter.