General Timers
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
217
Bit
Name
Access
Reset Description
31
UG_DONE
R
1
UG operation status
This bit is cleared by hardware when the UG bit in the TIMx_EGR register is set. When the UG
operation is done, hardware set this bit to ‘1’. So, software can poll this bit to see the UG
operation status.
30:19 RSVD
N/A
-
Reserved
18
CC17IF
R/W1C 0
Refer to CC0IF description
17
CC16IF
R/W1C 0
Refer to CC0IF description
16
CC15IF
R/W1C 0
Refer to CC0IF description
15
CC14IF
R/W1C 0
Refer to CC0IF description
14
CC13IF
R/W1C 0
Refer to CC0IF description
13
CC12IF
R/W1C 0
Refer to CC0IF description
12
CC11IF
R/W1C 0
Refer to CC0IF description
11
CC10IF
R/W1C 0
Refer to CC0IF description
10
CC9IF
R/W1C 0
Refer to CC0IF description
9
CC8IF
R/W1C 0
Refer to CC0IF description
8
CC7IF
R/W1C 0
Refer to CC0IF description
7
CC6IF
R/W1C 0
Refer to CC0IF description
6
CC5IF
R/W1C 0
Refer to CC0IF description
5
CC4IF
R/W1C 0
Refer to CC0IF description
4
CC3IF
R/W1C 0
Refer to CC0IF description
3
CC2IF
R/W1C 0
Refer to CC0IF description
2
CC1IF
R/W1C 0
Refer to CC0IF description
1
CC0IF
R/W1C 0
Capture/compare 0 interrupt flag
If channel CC0 is configured as output: This flag is set by hardware when the counter
matches the compare value. It is cleared by software.
0: No match.
1: The content of the counter TIMx_CNT matches the content of the TIMx_CCR0
register. When the contents of TIMx_CCR0 are greater than the contents of the
TIMx_ARR, the CC0IF bit goes high on the counter overflow.
If channel CC0 is configured as input: This bit is set by hardware on a capture. It is cleared
by software.
0: No input capture is occurred.
1: The counter value has been captured in the CCR0 filed of the TIMx_CCR0 register.
An active edge has been detected.
0
UIF
R/W1C 0
Update interrupt flag
10.4.3.5
TIMx Event Generation Register (TIMx_EGR)
Name:
TIM5 event generation register
Address offset:
0x10
Reset value:
0x00000000
Read/write access:
read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RSVD
CC17G
CC16G
CC15G
W
W
W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CC14G
CC13G
CC12G
CC11G
CC10G
CC9G
CC8G
CC7G
CC6G
CC5G
CC4G
CC3G
CC2G
CC1G
CC0G
UG
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
Bit
Name
Access
Reset Description
31:19
RSVD
N/A
-
Reserved
18
CC17G
W
0
Refer to CC0G description
17
CC16G
W
0
Refer to CC0G description
16
CC15G
W
0
Refer to CC0G description
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03