HWAG Registers
889
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
20.5.13 HWAG Previous Tooth Period Value Register (HWAPCNT1)
Figure 20-101. HWAG Previous Tooth Period Value Register (HWAPCNT1)
31
24
23
16
Reserved
PCNT(n-1)
R-0
R/W-0
15
0
PCNT(n-1)
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 20-65. HWAG Previous Tooth Period Value Register (HWAPCNT1) Field Descriptions
Bit
Field
Value
Description
31-24
Reserved
0
Reads return 0. Writes have no effect.
23-0
PCNT(n-1)
0-FF FFFFh
Period (n-1) Value. Gives the period value of the previous tooth.
20.5.14 HWAG Current Tooth Period Value Register (HWAPCNT)
Figure 20-102. HWAG Current Tooth Period Value Register (HWAPCNT)
31
24
23
16
Reserved
PCNT(n)
R-0
R/W-0
15
0
PCNT(n)
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 20-66. HWAG Current Tooth Period Value Register (HWAPCNT) Field Descriptions
Bit
Field
Value
Description
31-24
Reserved
0
Reads return 0. Writes have no effect.
23-0
PCNT(n)
0-FF FFFFh
Period (n) Value. Provides the current period since the beginning of the last tooth active
edge seen by the HWAG (PCNT (n)).
This period would not be accurate due to the fact that the PCNT counter is running at VCLK2
and that the peripheral bus is running at VCLK. Then, the value will have changed when
used.