Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
218
15
CC14G
W
0
Refer to CC0G description
14
CC13G
W
0
Refer to CC0G description
13
CC12G
W
0
Refer to CC0G description
12
CC11G
W
0
Refer to CC0G description
11
CC10G
W
0
Refer to CC0G description
10
CC9G
W
0
Refer to CC0G description
9
CC8G
W
0
Refer to CC0G description
8
CC7G
W
0
Refer to CC0G description
7
CC6G
W
0
Refer to CC0G description
6
CC5G
W
0
Refer to CC0G description
5
CC4G
W
0
Refer to CC0G description
4
CC3G
W
0
Refer to CC0G description
3
CC2G
W
0
Refer to CC0G description
2
CC1G
W
0
Refer to CC0G description
1
CC0G
W
0
Capture/compare 0 generation
This bit is set by software in order to generate an event. It is automatically cleared by
hardware.
0: No action.
1: A capture/compare event is generated on channel 0.
If channel CC0 is configured as output: CC0IF flag is set, corresponding interrupt is
sent if enabled.
If channel CC0 is configured as input: The current value of the counter is captured in
the CCR0 field of the TIMx_CCR0 register. The CC0IF flag is set, the corresponding
interrupt is sent if enabled.
0
UG
W
0
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.3.6
TIMx Counter Register (TIMx_CNT)
Name:
TIM5 counter register
Address offset:
0x14
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CNT
R/W
Bit
Name
Access
Reset
Description
31:16
RSVD
N/A
-
Reserved
15:0
CNT
R/W
0
Counter value
10.4.3.7
TIMx Prescaler Register (TIMx_PSC)
Name:
TIM5 prescaler register
Address offset:
0x18
Reset value:
0x00000000
Read/write access:
read/write
31
30
29
28
27
…
12
11
10
9
8
7
6
…
1
0
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03