CMSIS PWM Driver Data Structures Type Documentation
_PWM_CFG_t
Location: Driver_PWM.h:125
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
Period value |
|
uint32_t |
High cycle value. |
|
uint32_t |
Dithering value |
|
uint32_t |
Offset value |
_DRIVER_PWM_t
Location: Driver_PWM.h:136
Data Fields
Type | Name | Description |
---|---|---|
Pointer to PWM_GetVersion : Get driver version. |
||
int32_t(* |
Pointer to PWM_Initialize : Initialize PWM driver. |
|
int32_t(* |
Pointer to PWM_Configure : Configure PWM common setting. |
|
int32_t(* |
Pointer to PWM_SelectClock : Configure PWM clock source. |
|
int32_t(* |
Pointer to PWM_Reset : Reset PWM |
|
int32_t(* |
Pointer to PWM_SetDithering : Add dithering to PWM channel. |
|
int32_t(* |
Pointer to PWM_SetPeriod : Set the period. |
|
int32_t(* |
Pointer to PWM_SetDutyCycle : Set the duty cycle (percentage). |
|
int32_t(* |
Pointer to PWM_SetHighPeriod : Set the high cycle period. |
|
int32_t(* |
Pointer to PWM_SetOffset : Set offset between PWM. |
|
int32_t(* |
Pointer to PWM_Start : Start the PWM. |
|
int32_t(* |
Pointer to PWM_Stop : Stop the PWM. |