English
Language : 

HT67F30 Datasheet, PDF (4/242 Pages) Holtek Semiconductor Inc – TinyPowerTM A/D Flash Type 8-Bit MCU with LCD & EEPROM
HT67F30/HT67F40/HT67F50/HT67F60
TinyPowerTM A/D Flash Type 8-Bit MCU with LCD & EEPRO
Programming Considerations................................................................................................. 98
Timer Modules – TM........................................................................................ 99
Introduction............................................................................................................................ 99
TM Operation....................................................................................................................... 100
TM Clock Source.................................................................................................................. 100
TM Interrupts........................................................................................................................ 100
TM External Pins.................................................................................................................. 100
TM Input/Output Pin Control Registers................................................................................ 101
Programming Considerations............................................................................................... 109
Compact Type TM.................................................................................................................110
Compact TM Operation.........................................................................................................110
Compact Type TM Register Description...............................................................................111
Compact Type TM Operating Modes....................................................................................114
Compare Match Output Mode...............................................................................................114
Timer/Counter Mode.............................................................................................................115
PWM Output Mode................................................................................................................116
Standard Type TM – STM.............................................................................. 118
Standard TM Operation.........................................................................................................118
Standard Type TM Register Description...............................................................................119
Standard Type TM Operating Modes................................................................................... 124
Compare Output Mode......................................................................................................... 124
Timer/Counter Mode............................................................................................................ 126
PWM Output Mode............................................................................................................... 126
Single Pulse Mode............................................................................................................... 128
Capture Input Mode............................................................................................................. 129
Enhanced Type TM – ETM............................................................................. 131
Enhanced TM Operation...................................................................................................... 131
Enhanced Type TM Register Description............................................................................. 132
Enhanced Type TM Operating Modes................................................................................. 137
Compare Output Mode......................................................................................................... 138
Timer/Counter Mode............................................................................................................ 140
PWM Output Mode............................................................................................................... 140
Single Pulse Mode............................................................................................................... 144
Capture Input Mode............................................................................................................. 146
Analog to Digital Converter.......................................................................... 148
A/D Overview....................................................................................................................... 148
A/D Converter Register Description..................................................................................... 148
A/D Converter Data Registers – ADRL, ADRH.................................................................... 149
A/D Converter Control Registers – ADCR0, ADCR1, ACERL, ACERH............................... 149
A/D Operation...................................................................................................................... 154
A/D Input Pins...................................................................................................................... 155
Summary of A/D Conversion Steps...................................................................................... 156
Programming Considerations............................................................................................... 157
A/D Transfer Function.......................................................................................................... 157
Rev. 1.50
4
March 06 , 2012