Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
208
10.4.1.4
TIMx Status Register (TIMx_SR)
Name:
TIMx status register (x = {0, 1, 2, 3})
Address offset:
0x0C
Reset value:
0x00000000
Read/write access:
read/write
31
30
29
28
27
…
4
3
2
1
0
UG_DONE
RSVD
UIF
R
R/W1C
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:1
RSVD
N/A
-
Reserved
0
UIF
R/W1C
0
Update interrupt flag
10.4.1.5
TIMx Event Generation Register (TIMx_EGR)
Name:
TIMx event generation register (x = {0, 1, 2, 3})
Address offset:
0x10
Reset value:
0x00000000
Read/write access:
write
31
30
29
28
27
…
5
4
3
2
1
0
RSVD
UG
W
Bit
Name
Access
Reset Description
31:1
RSVD
N/A
-
Reserved
0
UG
W
-
Update generation
0: No action.
1: Re-initialize the counter and generate an update of the registers. Note that the
prescaler counter is cleared too, anyway the prescaler ratio isn’t affected.
10.4.1.6
TIMx Counter Register (TIMx_CNT)
Name:
TIMx counter register (x = {0, 1, 2, 3})
Address offset:
0x14
Reset value:
0x00000000
Read/write access:
read/write
31
30
29
28
27
26
…
5
4
3
2
1
0
CNT
R/W
Bit
Name
Access
Reset Description
31:0
CNT
R/W
0
Counter value
10.4.1.7
TIMx Auto-reload Register (TIMx_ARR)
Name:
TIMx auto-reload register (x = {0, 1, 2, 3})
Address offset:
0x1C
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03