DL_MCPWM_SOCGenConfig
Module: Driverlib (AM13E230X) APIs / Driverlib MCPWM API
MCPWM Event Trigger SOC Pulse generator event specific configuration structure.
#include <dl_mcpwm.h>
Public Attributes
Name |
|
|---|---|
bool |
|
uint16_t |
Public Attributes Documentation
variable enable
bool enable;
SOCA/B/C/D Selection Enable. Configures SOCEN.SOCA/B/C/D_ENABLE
variable eventSource
DL_MCPWM_SOC_SOURCE eventSource;
SOCA/B/C/D Event source Selection. Configures SOCSEL.SOCA/B/C/DSEL
Valid values: DL_MCPWM_SOC_SOURCE
variable eventPeriod
uint16_t eventPeriod;
SOCA/B/C/D Period - how many selected SOCA/B/C/D events need to occur before SOCA/B/C/D pulse is generated. Configures SOCPERIOD.SOCA/B/C/D_PERIOD
Valid values: 0-7