Input Stage; Figure 44. Channel 0 And Channel 1 Input Stages - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230

Input Stage

The input stage consists of a digital filter, a channel polarity selection, edge detection and a
channel prescaler. The channel 0 input signal (TI0) can be chosen to come from the GT_CH0
signal or the Excusive-OR function of the GT_CH0, GT_CH1 and GT_CH2 signals. The channel
input signal (TIx) is sampled by a digital filter to generate a filtered input signal TIxFP. Then the
channel polarity and the edge detection block can generate a TIxS0ED or TIxS1ED signal for the
input capture function. The effective input event number can be set by the channel input prescaler
register (CHxPSC).
TI0SRC
GT_CH0
TI0XOR
GT_CH1
XOR
GT_CH2
TI0
TI0FP
Filter
fsampling
TI0F
TI1
TI1FP
GT_CH1
Filter
fsampling
TI1F

Figure 44. Channel 0 and Channel 1 Input Stages

Rev. 1.10
TRCED
f
CLKIN
Edge
Detection
Edge
Detection
f
CLKIN
TI0S0
TI0FN
CH0P
TI1S0
TI0S1
CH1P
TI1S1
TI1FN
189 of 366
CH0CCS
Edge
TI0S0ED
Detection
CH0PRESCALER
Edge
TI1S0ED
CH0PSC
Detection
Edge
TI0S1ED
Detection
CH1PRESCALER
Edge
TI1S1ED
Detection
CH1PSC
CH1CCS
TI0BED
CH0PSC
CH0CAP Event
CH1PSC
CH1CAP Event
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Ht32f52230

Table of Contents