
Rev. 2.10 4 July 02, 2014 Rev. 2.10 5 July 02, 2014
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Enhanced I/O Flash Type 8-Bit MCU with EEPROM
Input/Output Ports ......................................................................................... 82
Pull-high Resistors ................................................................................................................ 84
Port A Wake-up ..................................................................................................................... 86
I/O Port Control Registers ..................................................................................................... 86
Pin-remapping Functions ...................................................................................................... 89
Pin-remapping Registers....................................................................................................... 89
I/O Pin Structures.................................................................................................................. 96
Programming Considerations................................................................................................ 96
Timer Modules – TM ...................................................................................... 97
Introduction ........................................................................................................................... 97
TM Operation ........................................................................................................................ 98
TM Clock Source................................................................................................................... 98
TM Interrupts......................................................................................................................... 98
TM External Pins................................................................................................................... 98
TM Input/Output Pin Control Registers ................................................................................. 99
Programming Considerations.............................................................................................. 109
Compact Type TM .........................................................................................110
Compact TM Operation........................................................................................................110
Compact Type TM Register Description...............................................................................111
Compact Type TM Operating Modes ...................................................................................115
Compare Match Output Mode..............................................................................................115
Timer/Counter Mode ............................................................................................................115
PWM Output Mode...............................................................................................................118
Standard Type TM – STM ............................................................................ 121
Standard TM Operation....................................................................................................... 121
Standard Type TM Register Description ............................................................................. 122
Standard Type TM Operating Modes .................................................................................. 131
Compare Output Mode........................................................................................................ 131
Timer/Counter Mode ........................................................................................................... 134
PWM Output Mode.............................................................................................................. 134
Single Pulse Mode .............................................................................................................. 138
Capture Input Mode ............................................................................................................ 140
Enhanced Type TM – ETM........................................................................... 142
Enhanced TM Operation ..................................................................................................... 143
Enhanced Type TM Register Description............................................................................ 143
Enhanced Type TM Operating Modes................................................................................. 150
Compare Output Mode........................................................................................................ 150
Timer/Counter Mode ........................................................................................................... 155
PWM Output Mode.............................................................................................................. 155
Single Pulse Output Mode .................................................................................................. 161
Capture Input Mode ............................................................................................................ 163