DL_MCPWM_TripZoneConfig

Module: Driverlib (AM13E232X) APIs / Driverlib MCPWM API

MCPWM Trip Zone configuration structure.

#include <dl_mcpwm.h>

Public Attributes

Name

uint32_t

enableTripZoneMask

DL_MCPWM_TRIP_ZONE_CBC_MODE

cbcClearEvent

DL_MCPWM_TRIP_ZONE_ACTION

actionOnA

DL_MCPWM_TRIP_ZONE_ACTION

actionOnB

Public Attributes Documentation

variable enableTripZoneMask

uint32_t enableTripZoneMask;

Enable trip zone input signals TZ1-8 as Cycle By Cycle (CBC) or One Shot (OST) source. Configures TZSEL.CBC1-8 and TZSEL.OST1-8

  • Valid values: [DL_MCPWM_TZ_SIGNAL] (multiple sources may be ORed together)

variable cbcClearEvent

DL_MCPWM_TRIP_ZONE_CBC_MODE cbcClearEvent;

Select trip zone CBC event. Configures TZCTL.CBCPULSE

variable actionOnA

DL_MCPWM_TRIP_ZONE_ACTION actionOnA;

Select Trip Zone action for A. Configures TZCTL.TZA

variable actionOnB

DL_MCPWM_TRIP_ZONE_ACTION actionOnB;

Select Trip Zone action for B. Configures TZCTL.TZB