Table 29. Counting Direction And Encoding Signals; Figure 48. Both Ti0 And Ti1 Quadrature Decoder Counting - Holtek HT32F52220 User Manual

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

Advertisement

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

Table 29. Counting Direction and Encoding Signals

Counting mode
Counting on TI0 only
(SMSEL = 0x01)
Counting on TI1 only
(SMSEL = 0x02)
Counting on TI0 and TI1
(SMSEL = 0x03)
TI0
TI1
Up
Down

Figure 48. Both TI0 and TI1 Quadrature Decoder Counting

Rev. 1.10
TI0S0
Level
Rising
TI1S1 = High
Down
TI1S1 = Low
Up
TI0S0 = High
TI0S0 = Low
TI1S1 = High
Down
TI1S1 = Low
Up
TI0S0 = High
X
TI0S0 = Low
X
Note: "—" → means "no counting"; "X" → impossible
192 of 366
TI1S1
Falling
Rising
Up
Down
Up
Down
Up
X
Down
X
X
Up
X
Down
Quadrature Decoder Counting on
Both TI0 & TI1
(CH0P = 0, CH1P = 0)
November 09, 2018
Falling
Down
Up
X
X
Down
Up

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