Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
210
1: Disable the counter. Poll CNT_RUN to see the counter status. If CNT_RUN is 0,
it means that the counter has been disabled internally
0
CNT_START
W
0
Counter start
0: No action.
1: Enable the counter. Poll CNT_RUN to see the counter status. If CNT_RUN is 1, it
means that the counter has been enabled internally.
10.4.2.2
TIMx Control Register (TIMx_CR)
Name:
TIM4 control register
Address offset:
0x04
Reset value:
0x00000000
Read/write access:
read/write
31
30
29
28
…
8
7
6
5
4
3
2
1
0
RSVD
ARPE
RSVD
URS
UDIS
RSVD
R/W
R/W
R/W
Bit
Name Access Reset Description
31:5 RSVD
N/A
-
Reserved
4
ARPE
R/W
0
Auto-reload preload enable
0: The TIMx_ARR register isn’t buffered.
1: The TIMx_ARR register is buffered.
3
RSVD
N/A
-
Reserved
2
URS
R/W
0
Update request source
0: Update events can be
Counter overflow
Setting the UG bit
1: Counter overflow generates an update event.
1
UDIS
R/W
0
Update disable
0: UEV is enabled. Buffered registers are loaded with their preload values when UEV happens.
1: UEV is disabled. Shadow registers keep their value.
0
RSVD
N/A
-
Reserved
10.4.2.3
TIMx Interrupt Enable Register (TIMx_DIER)
Name:
TIM4 interrupt enable register
Address offset:
0x08
Reset value:
0x00000000
Read/write access:
read/write
31
30
29
28
…
5
4
3
2
1
0
RSVD
CC0IE
UIE
R/W
R/W
Bit
Name
Access Reset Description
31:2
RSVD
N/A
-
Reserved
1
CC0IE
R/W
0
Capture/compare 0 interrupt enable
0: CC0 interrupt is disabled.
1: CC0 interrupt is enabled.
0
UIE
R/W
0
Update interrupt enable
0: Update interrupt is disabled.
1: Update interrupt is enabled.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03