|
MG32L003 Standard Peripherals Firmware Library
|
PCA Output Compare Configuration Structure definition. More...
#include <mg32l003_pca.h>
Data Fields | |
| uint32_t | CompareEnable |
| uint32_t | TogEnable |
| uint32_t | PwmEnable |
| uint32_t | Period |
| uint32_t | Channel |
PCA Output Compare Configuration Structure definition.
| uint32_t Channel |
Specifies the PCA output channel. This parameter can be a value of PCA_Channel.
| uint32_t CompareEnable |
Specifies the output compare function enable or disable. This parameter can be a value of PCA_Output_Compare_Enable
| uint32_t Period |
Specifies the period value compared with CNT register. Period caculation = Period/(PCA clock) This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF.
| uint32_t PwmEnable |
Specifies tog function enable or disable. TogEnable & PwmEnable must not be enabled at the same time. This parameter can be a value of PCA_Pwm_Enable
| uint32_t TogEnable |
Specifies tog function enable or disable. TogEnable & PwmEnable must not be enabled at the same time. This parameter can be a value of PCA_Toggle_Enable