DL_MCPWM_GlobalLoadConfig

Module: Driverlib (AM13E230X) APIs / Driverlib MCPWM API

MCPWM Global Load configuration structure.

#include <dl_mcpwm.h>

Public Attributes

Name

bool

enableGlobalLoad

bool

enableOneShotMode

DL_MCPWM_GLOBAL_LOAD_TRIGGER

triggerEvent

bool

enableOneShotLatch

bool

forceLoadEvent

Public Attributes Documentation

variable enableGlobalLoad

bool enableGlobalLoad;

Enable global load. Configures GLDCTL.GLD

variable enableOneShotMode

bool enableOneShotMode;

Enable global load one shot. Configures GLDCTL.OSHTMODE

variable triggerEvent

DL_MCPWM_GLOBAL_LOAD_TRIGGER triggerEvent;

Select Global Load trigger event. Configures GLDCTL.GLDMODE

variable enableOneShotLatch

bool enableOneShotLatch;

Turn on the one shot latch condition ON. Allow one shadow to active reload.

  • true : Writes 1 to GLDOSHTCTL.OSHTLD

  • false : Writes 1 to GLDOSHTCTL.OSHTCLR

variable forceLoadEvent

bool forceLoadEvent;

Issue force load event in one shot mode. Write 1 to GLDOSHTCTL.GFRCLD