DL_MCPWM_SOCGenConfig

Module: Driverlib (AM13E232X) APIs / Driverlib MCPWM API

MCPWM Event Trigger SOC Pulse generator event specific configuration structure.

#include <dl_mcpwm.h>

Public Attributes

Name

bool

enable

DL_MCPWM_SOC_SOURCE

eventSource

uint16_t

eventPeriod

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

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