Enhanced PWM (ePWM) Module
15.2.4.5 Trip-Zone Submodule Registers
lists the memory-mapped registers for the trip-zone submodule. All other register offset
addresses not listed in
should be considered as reserved locations and the register contents
should not be modified.
Table 15-78. Trip-Zone Submodule Registers
Offset
Acronym
Register Description
Section
24h
TZSEL
Trip-Zone Select Register
28h
TZCTL
Trip-Zone Control Register
2Ah
TZEINT
Trip-Zone Enable Interrupt Register
2Ch
TZFLG
Trip-Zone Flag Register
2Eh
TZCLR
Trip-Zone Clear Register
30h
TZFRC
Trip-Zone Force Register
15.2.4.5.1 Trip-Zone Select Register (TZSEL)
The trip-zone select register (TZSEL) is shown in
and described in
.
Figure 15-85. Trip-Zone Select Register (TZSEL)
15
9
8
7
1
0
Reserved/OSHTn
(1)
OSHT1
Reserved/CBCn
(1)
CBC1
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; -n = value after reset
(1)
Number of register bits depends on how many trip-zone pins are available in the device. See your device-specific data manual.
Table 15-79. Trip-Zone Submodule Select Register (TZSEL) Field Descriptions
Bits
Name
Value
Description
15-8
OSHTn
Trip-zone n (TZn) select. One-Shot (OSHT) trip-zone enable/disable. When any of the enabled pins go
low, a one-shot trip event occurs for this ePWM module. When the event occurs, the action defined in
the TZCTL register (
) is taken on the EPWMxA and EPWMxB outputs. The one-shot
trip condition remains latched until you clear the condition via the TZCLR register (
0
Disable TZn as a one-shot trip source for this ePWM module.
1
Enable TZn as a one-shot trip source for this ePWM module.
7-0
CBCn
Trip-zone n (TZn) select. Cycle-by-Cycle (CBC) trip-zone enable/disable. When any of the enabled pins
go low, a cycle-by-cycle trip event occurs for this ePWM module. When the event occurs, the action
defined in the TZCTL register (
) is taken on the EPWMxA and EPWMxB outputs. A
cycle-by-cycle trip condition is automatically cleared when the time-base counter reaches zero.
0
Disable TZn as a CBC trip source for this ePWM module.
1
Enable TZn as a CBC trip source for this ePWM module.
1596
Pulse-Width Modulation Subsystem (PWMSS)
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated