Channel Controller; Figure 124. Capture/Compare Block Diagram - Holtek HT32F54231 User Manual

Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253

Channel Controller

The SCTM channel can be used as the capture input or compare match output. The capture input or
compare match output channel is composed of a preload register and a shadow register. Data access
of the APB bus is always implemented by reading/writing the preload register.
When used in the input capture mode, the counter value is captured into the CHCCR shadow
register first and then transferred into the CHCCR preload register when the capture event occurs.
When used in the compare match output mode, the contents of the CHCCR preload register is
copied into the associated shadow register, the counter value is then compared with the register
value.
CHPSC
Capture
Controller
Read CHCCR
CHCCS
CHCCG
CHE

Figure 124. Capture/Compare Block Diagram

Rev. 1.00
APB Bus Interface
CHCCR
(Preload Register)
Capture Transfer
CHCCR
(Shadow Register)
Capture
372 of 576
Compare
Compare Transfer
Controller
CHCCS
CHPRE
CHCCR
TM_CNT
Write CHCCR
Update Event
January 28, 2022

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT32F54231 and is the answer not in the manual?

This manual is also suitable for:

Ht32f54241Ht32f54243Ht32f54253

Table of Contents