CMSIS PWM Driver
CMSIS PWM Driver Reference.
Summary
Typedefs
- PWM_SEL_t : PWM Control Codes: PWM Selection.
- PWM_CFG_t : PWM Driver configuration.
- DRIVER_PWM_t : Access structure of the PWM Driver.
Data Structures
- _PWM_CFG_t : PWM Driver configuration.
- _DRIVER_PWM_t : Access structure of the PWM Driver.
Enumerations
- _PWM_SEL_t : PWM Control Codes: PWM Selection.
Macros
- ARM_PWM_API_VERSION : PWM API version
- PWM_ERROR_UNCONFIGURED : Driver has not been configured yet.
Functions
- PWM_GetVersion : Get driver version.
- PWM_Initialize : Initialize PWM driver with default configuration.
- PWM_Configure : Configure PWM common setting.
- PWM_SelectClock : Select the PWM clock source.
- PWM_Reset : Reset the PWM.
- PWM_SetDithering : Set the PWM dithering.
- PWM_SetPeriod : Set the PWM period.
- PWM_SetDutyCycle : Set the PWM duty cycle (expressed in percentage)
- PWM_SetHighPeriod : Set the PWM duty cycle (expressed in cycles).
- PWM_SetOffset : Set the offset between PWM.
- PWM_Start : Start the PWM.
- PWM_Stop : Stop the PWM.