3.1.3 Register Mapping
The complete ePWM module control and status register set is grouped by submodule as shown in
.
Each register set is duplicated for each instance of the ePWM module. The start address for each ePWM
register file instance on a device is specified in the appropriate data manual.
Table 3-1. ePWM Module Control and Status Register Set Grouped by Submodule
Name
Offset
Size
(x16)
Shadow
EALLOW Description
Time-Base Submodule Registers
TBCTL
0x0000
1
Time-Base Control Register
TBSTS
0x0001
1
Time-Base Status Register
TBPHSHR
0x0002
1
Extension for HRPWM Phase Register
TBPHS
0x0003
1
Time-Base Phase Register
TBCTR
0x0004
1
Time-Base Counter Register
TBPRD
0x0005
1
Yes
Time-Base Period Register
TBPRDHR
0x0006
1
Yes
Time Base Period High Resolution Register
Counter-Compare Submodule Registers
CMPCTL
0x0007
1
Counter-Compare Control Register
CMPAHR
0x0008
1
Yes
Extension for HRPWM Counter-Compare A Register
CMPA
0x0009
1
Yes
Counter-Compare A Register
CMPB
0x000A
1
Yes
Counter-Compare B Register
Action-Qualifier Submodule Registers
AQCTLA
0x000B
1
Action-Qualifier Control Register for Output A (EPWMxA)
AQCTLB
0x000C
1
Action-Qualifier Control Register for Output B (EPWMxB)
AQSFRC
0x000D
1
Action-Qualifier Software Force Register
AQCSFRC
0x000E
1
Yes
Action-Qualifier Continuous S/W Force Register Set
Dead-Band Generator Submodule Registers
DBCTL
0x000F
1
Dead-Band Generator Control Register
DBRED
0x0010
1
Dead-Band Generator Rising Edge Delay Count Register
DBFED
0x0011
1
Dead-Band Generator Falling Edge Delay Count Register
Trip-Zone Submodule Registers
TZSEL
0x0012
1
Yes
Trip-Zone Select Register
TZDCSEL
0x0013
1
Yes
Trip Zone Digital Compare Select Register
TZCTL
0x0014
1
Yes
Trip-Zone Control Register
TZEINT
0x0015
1
Yes
Trip-Zone Enable Interrupt Register
TZFLG
0x0016
1
Trip-Zone Flag Register
TZCLR
0x0017
1
Yes
Trip-Zone Clear Register
TZFRC
0x0018
1
Yes
Trip-Zone Force Register
Event-Trigger Submodule Registers
ETSEL
0x0019
1
Event-Trigger Selection Register
ETPS
0x001A
1
Event-Trigger Pre-Scale Register
ETFLG
0x001B
1
Event-Trigger Flag Register
ETCLR
0x001C
1
Event-Trigger Clear Register
ETFRC
0x001D
1
Event-Trigger Force Register
PWM-Chopper Submodule Registers
PCCTL
0x001E
1
PWM-Chopper Control Register
High-Resolution Pulse Width Modulator (HRPWM) Extension Registers
HRCNFG
0x0020
1
Yes
HRPWM Configuration Register
HRPWR
0x0021
1
Yes
Enhanced Pulse Width Modulator (ePWM) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
247
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......