32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Trigger ADC Start
To interconnect to the Analog-to-Digital Converter, the GPTM can output the MTO signal or the
channel compare match output signal CHxOREF (x = 0 ~ 3) to be used as an Analog-to-Digital
Converter input trigger signal.
Register Map
The following table shows the GPTM registers and reset values.
Table 31. GPTM Register Map
Register
CNTCFR
MDCFR
TRCFR
CTR
CH0ICFR
CH1ICFR
CH2ICFR
CH3ICFR
CH0OCFR
CH1OCFR
CH2OCFR
CH3OCFR
CHCTR
CHPOLR
DICTR
EVGR
INTSR
CNTR
PSCR
CRR
CH0CCR
CH1CCR
CH2CCR
CH3CCR
CH0ACR
CH1ACR
CH2ACR
CH3ACR
Rev. 1.10
Offset
Description
0x000
Timer Counter Configuration Register
0x004
Timer Mode Configuration Register
0x008
Timer Trigger Configuration Register
0x010
Timer Control Register
0x020
Channel 0 Input Configuration Register
0x024
Channel 1 Input Configuration Register
0x028
Channel 2 Input Configuration Register
0x02C
Channel 3 Input Configuration Register
0x040
Channel 0 Output Configuration Register
0x044
Channel 1 Output Configuration Register
0x048
Channel 2 Output Configuration Register
0x04C
Channel 3 Output Configuration Register
0x050
Channel Control Register
0x054
Channel Polarity Configuration Register
0x074
Timer Interrupt Control Register
0x078
Timer Event Generator Register
0x07C
Timer Interrupt Status Register
0x080
Timer Counter Register
0x084
Timer Prescaler Register
0x088
Timer Counter Reload Register
0x090
Channel 0 Capture/Compare Register
0x094
Channel 1 Capture/Compare Register
0x098
Channel 2 Capture/Compare Register
0x09C
Channel 3 Capture/Compare Register
0x0A0
Channel 0 Asymmetric Compare Register
0x0A4
Channel 1 Asymmetric Compare Register
0x0A8
Channel 2 Asymmetric Compare Register
0x0AC
Channel 3 Asymmetric Compare Register
201 of 366
Reset Value
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_FFFF
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
0x0000_0000
November 09, 2018
Need help?
Do you have a question about the HT32F52220 and is the answer not in the manual?
Questions and answers