Technical Reference Manual
002-29852 Rev. *B
28.4.1.1.16 TCPWM_GRP_CNT_TR_IN_EDGE_SEL
Description:
Counter input trigger edge selection register
Address:
0x4038004C
Offset:
0x4C
Retention:
Retained
IsDeepSleep:
No
Comment:
Used to determine edge detection for specific counter triggers. Events will only take effect on
enabled counters.
Default:
0xFFF
Bit-field Table
Bits
7
6
5
4
3
2
1
0
Name
STOP_EDGE [7:6]
RELOAD_EDGE [5:4]
COUNT_EDGE [3:2]
CAPTURE0_EDGE [1:0]
Bits
15
14
13
12
11
10
9
8
Name
None [15:12]
CAPTURE1_EDGE
[11:10]
START_EDGE [9:8]
Bits
23
22
21
20
19
18
17
16
Name
None [23:16]
Bits
31
30
29
28
27
26
25
24
Name
None [31:24]
Bit-fields
Bits Name
SW
HW
Default or
Enum
Description
0:1
CAPTURE0_EDGE
RW
R
3
A capture 0 event will copy the counter value into the
CC0 register.
RISING_EDGE
0
Rising edge. Any rising edge generates an event.
FALLING_EDGE
1
Falling edge. Any falling edge generates an event.
ANY_EDGE
2
Rising AND falling edge. Any odd amount of edges
generates an event.
NO_EDGE_DET
3
No edge detection, use trigger as is.
2:3
COUNT_EDGE
RW
R
3
A counter event will increase or decrease the counter
by '1'.
RISING_EDGE
0
Rising edge. Any rising edge generates an event.
FALLING_EDGE
1
Falling edge. Any falling edge generates an event.
ANY_EDGE
2
Rising AND falling edge. Any odd amount of edges
generates an event.
NO_EDGE_DET
3
No edge detection, use trigger as is.
4:5
RELOAD_EDGE
RW
R
3
A reload event will initialize the counter. When
counting up, the counter is initialized to '0'. When
counting down, the counter is initialized with PERIOD.
RISING_EDGE
0
Rising edge. Any rising edge generates an event.
FALLING_EDGE
1
Falling edge. Any falling edge generates an event.
ANY_EDGE
2
Rising AND falling edge. Any odd amount of edges
generates an event.
NO_EDGE_DET
3
No edge detection, use trigger as is.
6:7
STOP_EDGE
RW
R
3
A stop event, will stop the counter; i.e. it will no longer
be running. Stopping will NOT disable the counter.
RISING_EDGE
0
Rising edge. Any rising edge generates an event.
FALLING_EDGE
1
Falling edge. Any falling edge generates an event.
ANY_EDGE
2
Rising AND falling edge. Any odd amount of edges
generates an event.
NO_EDGE_DET
3
No edge detection, use trigger as is.
1814
2022-04-18
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers