3.4.1.9 Time-Base Period Mirror Register (TBPRDM)
Figure 3-80. Time-Base Period Mirror Register (TBPRDM)
15
0
TBPRD
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 3-29. Time-Base Period Mirror Register (TBPRDM) Field Descriptions
Bit
Field
Value
Description
15-0
TBPRD
0000-FFFFh
TBPRDM and TBPRD can both be used to access the time-base period.
TBPRD provides backwards compatibility with earlier ePWM modules. The mirror registers
(TBPRDM and TBPRDHRM) allow for 32-bit writes to TBPRDHR in one access. Due to the odd
address memory location of the TBPRD legacy register, a 32-bit write is not possible.
By default writes to this register are shadowed. Unlike the TBPRD register, reads of
TBPRDM always return the active register value. Shadowing is enabled and disabled by the
TBCTL[PRDLD] bit.
•
If TBCTL[PRDLD] = 0, then the shadow is enabled and any write will automatically go to
the shadow register. In this case the active register will be loaded from the shadow register
when the time-base counter equals zero. Reads return the active value.
•
If TBCTL[PRDLD] = 1, then the shadow is disabled and any write to this register will go
directly to the active register controlling the hardware. Likewise reads return the active
value.
Enhanced Pulse Width Modulator (ePWM) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
335
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......