Download S3FN429

Transcript
S3FN429_UM_REV1.20
16 Timer/Counter
16.3.1.7 TC_SR

Base Address: 0x4006_0000, 0x4006_1000, 0x4006_2000

Address = Base Address + 0x0018, Reset Value = 0x0000_0000
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Name
RSVD
Bit
Type
[31:30]
R
RSVD
0
RSVD
0
RSVD
START
11
RSVD
12
STOPHOLD
13
STOPCLEAR
14
IDLESL
15
OUTSL
16
KEEP
17
PWMIM
18
PWMEN
19
REPEAT
20
OVFM
21
ADTIRG
22
RSVD
23
CAPT_F
24
CAPT_R
25
PWMEX0
26
PWMEX1
27
PWMEX2
28
PWMEX3
29
PWMEX4
30
PWMEX5
31
Description
Reserved
Reset Value
0
PWM output extension status
0 = Corresponding extension bits are disabled
1 = Corresponding extension bits are enabled
PWMEX
PWMEX[5:0]
RSVD
CAPT_R
[29:24]
[23:19]
[18]
R
"Stretched" Cycle Number
PWMEX0
32
PWMEX1
16, 48
PWMEX2
8, 24, 40, 56
PWMEX3
4, 12, 20, 28, 36 , 44, 52, 60
PWMEX4
2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54,
58, 62
PWMEX5
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29,
31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55,
57, 59, 61, 63
0
R
Reserved
0
R
Capture by Rising Edge Trigger
0 = External rising edge capture is disabled.
1 = External rising edge capture is enabled. When the TC
detects rising edge of external input signal on TCAP pin,
it stores the current counter value into the capture up
register.
0
0
0
CAPT_F
[17]
R
Capture by Falling Edge Trigger
0 = External falling edge capture is disabled.
1 = External falling edge capture is enabled. When the TC
detects falling edge of external input signal on TCAP pin,
it stores the current counter value into the capture down
register.
RSVD
[16]
R
Reserved
16-27