HT46R068B/HT46R069B
Enhanced A/D Type 8-bit OTP MCU
Oscillator...................................................................................................................... 28
Sꢂstem Oscillatoꢁ Oveꢁview ...............................................................................................ꢃ8
Exteꢁnal Cꢁꢂstal/Resonatoꢁ Oscillatoꢁ – HXT.....................................................................ꢃ8
Exteꢁnal RC Oscillatoꢁ – ERC ............................................................................................ꢃ9
Inteꢁnal RC Oscillatoꢁ – HIRC ............................................................................................30
Exteꢁnal 3ꢃ7ꢄ8Hz Cꢁꢂstal Oscillatoꢁ – LXT........................................................................30
LXT Oscillatoꢁ Low Poweꢁ Fꢀnction...................................................................................31
Inteꢁnal Low Speed Oscillatoꢁ – LIRC................................................................................31
Operating Modes......................................................................................................... 32
Mode Tꢂpes and Selection.................................................................................................3ꢃ
Mode Switching..................................................................................................................33
Standbꢂ Cꢀꢁꢁent Consideꢁations........................................................................................33
Wake-ꢀp.............................................................................................................................34
Watchdog Timeꢁ Opeꢁation ................................................................................................35
Reset and Initialisation ............................................................................................... 36
Reset Fꢀnctions .................................................................................................................37
Reset Initial Conditions ......................................................................................................39
Input/Output Ports....................................................................................................... 41
Pꢀll-high Resistoꢁs .............................................................................................................41
Poꢁt A Wake-ꢀp ..................................................................................................................41
I/O Poꢁt Contꢁol Registeꢁs..................................................................................................43
Pin-shaꢁed Fꢀnctions .........................................................................................................44
Pin Remapping Configuration ............................................................................................45
I/O Pin Stꢁꢀctꢀꢁes...............................................................................................................45
Pꢁogꢁamming Consideꢁations.............................................................................................47
Timer/Event Counters................................................................................................. 47
Configuring the Timer/Event Counter Input Clock Source .................................................47
Timeꢁ Registeꢁs – TMR0ꢅ TMR1ꢅ TMRꢃLꢅ TMRꢃH ............................................................48
Timeꢁ Contꢁol Registeꢁs – TMR0Cꢅ TMR1Cꢅ TMRꢃC ........................................................48
Timeꢁ Mode........................................................................................................................5ꢃ
Event Coꢀnteꢁ Mode ..........................................................................................................5ꢃ
Pꢀlse Width Captꢀꢁe Mode ................................................................................................53
Pꢁescaleꢁ............................................................................................................................54
PFD Fꢀnction .....................................................................................................................54
I/O Inteꢁfacing.....................................................................................................................55
Pꢁogꢁamming Consideꢁations.............................................................................................55
Timeꢁ Pꢁogꢁam Example ....................................................................................................5ꢄ
Time Base..........................................................................................................................5ꢄ
Pulse Width Modulator ............................................................................................... 57
PWM Opeꢁation..................................................................................................................58
ꢄ+ꢃ PWM Mode .................................................................................................................58
7+1 PWM Mode .................................................................................................................59
PWM Oꢀtpꢀt Contꢁol..........................................................................................................ꢄ0
Rev. 1.00
3
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011