Technical Reference Manual 002-29852 Rev. *B
28.4.1.1.2 TCPWM_GRP_CNT_STATUS
Description:
Counter status register
Address:
0x40380004
Offset:
0x4
Retention:
Not Retained
IsDeepSleep:
No
Comment:
When the counter is disabled (CTRL.ENABLED = 0), then the STATUS.TR_* bit fields are
typically reset to their default values. However, there are exceptions possible in the following
cases, based on the selected input trigger via TR_IN_SEL*.*_SEL:
- If a constant '0' is selected, then a '0' is read.
- If a constant '1' is selected, then a '1' is read.
- If a general purpose trigger input 'tr_all_cnt_in' is selected which is also selected by another
counter and that counter is enabled, then the actual level of the selected trigger is read.
Default:
0x20
Bit-field Table
Bits 7 6 5 4 3 2 1 0
Name TR_STOP
[7:7]
TR
_RELOAD
[6:6]
TR_COUNT
[5:5]
TR
_CAPTUR
E0 [4:4]
None [3:1] DOWN [0:0]
Bits 15 14 13 12 11 10 9 8
Name RUNNING
[15:15]
None [14:12] LINE
_COMPL
_OUT
[11:11]
LINE_OUT
[10:10]
TR
_CAPTUR
E1 [9:9]
TR_START
[8:8]
Bits 23 22 21 20 19 18 17 16
Name DT_CNT_L [23:16]
Bits 31 30 29 28 27 26 25 24
Name DT_CNT_H [31:24]
Bit-fields
Bits Name SW HW Default or
Enum
Description
0 DOWN R RW 0 When '0', counter is counting up. When '1', counter is
counting down. In QUAD mode, this field indicates the
direction of the latest counter change: '0' when last
incremented and '1' when last decremented.
4 TR_CAPTURE0 R RW 0 Indicates the actual level of the selected capture 0
trigger.
5 TR_COUNT R RW 1 Indicates the actual level of the selected count trigger.
6 TR_RELOAD R RW 0 Indicates the actual level of the selected reload trigger.
7 TR_STOP R RW 0 Indicates the actual level of the selected stop trigger.
8 TR_START R RW 0 Indicates the actual level of the selected start trigger.
9 TR_CAPTURE1 R RW 0 Indicates the actual level of the selected capture 1
trigger.
10 LINE_OUT R RW 0 Indicates the actual level of the PWM line output
signal.
11 LINE_COMPL_OUT R RW 0 Indicates the actual level of the complementary PWM
line output signal.
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers