
Rev. 1.00
236 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
13 General-Purpose T
imer (GPTM)
13 General-Purpose T
imer (GPTM)
Bits
Field
Descriptions
[1]
CH1CCG
Channel 1 Capture / Compare Generation
A Channel 1 capture / compare event can be generated by setting this bit. It is cleared
by hardware automatically.
0: No action
1: Capture / compare event is generated on channel 1
If Channel 1 is configured as an input, the counter value is captured into the
CH1CCR register and then the CH1CCIF bit is set. If Channel 1 is configured as an
output, the CH1CCIF bit is set.
[0]
CH0CCG
Channel 0 Capture / Compare Generation
A Channel 0 capture / compare event can be generated by setting this bit. It is
cleared by hardware automatically.
0: No action
1: Capture / compare event is generated on channel 0
If Channel 0 is configured as an input, the counter value is captured into the
CH0CCR register and then the CH0CCIF bit is set. If Channel 0 is configured as an
output, the CH0CCIF bit is set.
Timer Interrupt Status Register – INTSR
This register stores the timer interrupt status.
Offset:
0x07C
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
TEVIF
Reserved
UEVIF
Type/Reset
RW 0
RW 0
7
6
5
4
3
2
1
0
CH3OCF
CH2OCF
CH1OCF
CH0OCF CH3CCIF CH2CCIF CH1CCIF CH0CCIF
Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[10]
TEVIF
Trigger Event Interrupt Flag
This flag is set by hardware on a trigger event and is cleared by software.
0: No trigger event occurs
1: Trigger event occurs