HT45F23A
8-Bit Flash MCU with Op Amps & Comparators
Reading Data from the EEPROM ......................................................................................... ꢃꢃ
Writing Data to the EEPROM................................................................................................ ꢃ4
Write Protection..................................................................................................................... ꢃ4
EEPROM Interrꢀpt ................................................................................................................ ꢃ4
Programming Considerations................................................................................................ ꢃ4
Programming Exampꢁes........................................................................................................ ꢃ5
Oscillator ........................................................................................................ 36
Osciꢁꢁator Overview ............................................................................................................... ꢃ6
System Clock Configurations................................................................................................ ꢃ6
Externaꢁ Crꢂstaꢁ/Ceramic Osciꢁꢁator – HXT ........................................................................... ꢃ7
Externaꢁ RC Osciꢁꢁator – ERC ............................................................................................... ꢃ7
Externaꢁ Osciꢁꢁator – EC........................................................................................................ ꢃ8
Internaꢁ RC Osciꢁꢁator – HIRC ............................................................................................... ꢃ8
Externaꢁ ꢃꢅ.768kHz Crꢂstaꢁ Osciꢁꢁator – LXT........................................................................ ꢃ8
LXT Osciꢁꢁator Low Power Fꢀnction...................................................................................... ꢃ9
Internaꢁ ꢃꢅkHz Osciꢁꢁator – LIRC........................................................................................... ꢃ9
Sꢀppꢁementarꢂ Osciꢁꢁators .................................................................................................... 40
Operating Modes and System Clocks ......................................................... 40
Sꢂstem Cꢁocks ...................................................................................................................... 40
Sꢂstem Operation Modes...................................................................................................... 40
Controꢁ Register .................................................................................................................... 4ꢅ
Fast Wake-ꢀp........................................................................................................................ 44
Operating Mode Switching and Wake-ꢀp.............................................................................. 44
NORMAL Mode to SLOW Mode Switching........................................................................... 45
SLOW Mode to NORMAL Mode Switching........................................................................... 47
Entering the SLEEP0 Mode .................................................................................................. 47
Entering the SLEEP1 Mode .................................................................................................. 47
Entering the IDLE0 Mode...................................................................................................... 48
Entering the IDLE1 Mode...................................................................................................... 48
Standbꢂ Cꢀrrent Considerations........................................................................................... 48
Wake-ꢀp................................................................................................................................ 49
Programming Considerations................................................................................................ 49
Watchdog Timer............................................................................................. 50
Watchdog Timer Cꢁock Soꢀrce.............................................................................................. 50
Watchdog Timer Controꢁ Register......................................................................................... 50
Watchdog Timer Operation ................................................................................................... 51
Reset and Initialisation.................................................................................. 52
Reset Fꢀnctions .................................................................................................................... 5ꢅ
Reset Initiaꢁ Conditions ......................................................................................................... 54
Input/Output Ports......................................................................................... 57
Pꢀꢁꢁ-high Resistors ................................................................................................................ 57
Port A Wake-ꢀp ..................................................................................................................... 58
I/O Port Controꢁ Registers..................................................................................................... 58
Rev. 1.00
ꢃ
�ꢀꢁꢂ 0ꢃꢄ ꢅ01ꢅ