DL_MCPWM_DeadBandConfig

Module: Driverlib (AM13E232X) APIs / Driverlib MCPWM API

MCPWM Dead-Band configuration structure.

#include <dl_mcpwm.h>

Public Attributes

Name

bool

enableRisingEdgeDelayOnPathA

bool

enableFallingEdgeDelayOnPathB

bool

enableOutputSwapA

bool

enableOutputSwapB

DL_MCPWM_DEADBAND_POLARITY

risingEdgeDelayPolarity

DL_MCPWM_DEADBAND_POLARITY

fallingEdgeDelayPolarity

uint16_t

risingEdgeDelayInputSource

uint16_t

fallingEdgeDelayInputSource

uint16_t

fallingEdgeDelayCount

uint16_t

risingEdgeDelayCount

Public Attributes Documentation

variable enableRisingEdgeDelayOnPathA

bool enableRisingEdgeDelayOnPathA;

Configure Dead-Band output mode. Configures DBCTL.OUT_MODE bit0.

  • false : Delay is bypassed for A signal Path. InA fed to A path,

  • true : Rising Edge delay for A signal path

variable enableFallingEdgeDelayOnPathB

bool enableFallingEdgeDelayOnPathB;

Configure Dead-Band output mode. Configures DBCTL.OUT_MODE bit1.

  • false : Delay is bypassed for B signal Path - InB fed to B path,

  • true : Falling Edge delay for B signal path

variable enableOutputSwapA

bool enableOutputSwapA;

Configures DBCTL.OUTSWAP bit 6

  • false : OutA is fed by A path

  • true : OutA is fed by B path

variable enableOutputSwapB

bool enableOutputSwapB;

Configures DBCTL.OUTSWAP bit 7

  • false : OutB is fed by B path

  • true : OutB is fed by A path

variable risingEdgeDelayPolarity

DL_MCPWM_DEADBAND_POLARITY risingEdgeDelayPolarity;

Configure polarity(inversion) on Rising edge delayed path. Configures DBCTL.POLSEL bit2

variable fallingEdgeDelayPolarity

DL_MCPWM_DEADBAND_POLARITY fallingEdgeDelayPolarity;

Configure polarity(inversion) on Falling edge delayed path. Configures DBCTL.POLSEL bit3

variable risingEdgeDelayInputSource

uint16_t risingEdgeDelayInputSource;

Configures DBCTL.IN_MODE bit4

  • Valid values: [DL_MCPWM_DB_INPUT]. Except DL_MCPWM_DB_INPUT_DB_RED

variable fallingEdgeDelayInputSource

uint16_t fallingEdgeDelayInputSource;

Configures DBCTL.IN_MODE bit5

  • Valid values: [DL_MCPWM_DB_INPUT]

variable fallingEdgeDelayCount

uint16_t fallingEdgeDelayCount;

Configures initial value of DBFED and DBFEFS

  • Valid values: 14 bit unsigned integer

variable risingEdgeDelayCount

uint16_t risingEdgeDelayCount;

Configures initial value of DBRED and DBREDS

  • Valid values: 14 bit unsigned integer