Contents
Program Memory...............................................................................26
Structure...............................................................................................................26
Special Vectors.....................................................................................................26
Look-up Table.......................................................................................................27
Table Program Example .......................................................................................28
Data Memory......................................................................................29
Structure...............................................................................................................29
Special Purpose Data Memory.........................................................30
Special Function Registers ...................................................................................31
Wake-up Function Register - PAWK, PCWK........................................................37
Pull-high Registers - PAPU, PBPU, PCPU, PDPU, PEPU, PFPU ........................37
Software COM Register - SCOMC.......................................................................37
Oscillator............................................................................................37
System Oscillator Overview..................................................................................37
System Clock Configurations................................................................................37
External Crystal/Resonator Oscillator - HXT ........................................................38
External RC Oscillator - ERC ...............................................................................38
Internal RC Oscillator - HIRC ...............................................................................39
External 32768Hz Crystal Oscillator - LXT ...........................................................39
LXT Oscillator Low Power Function ......................................................................40
Internal Low Speed Oscillator - LIRC ...................................................................40
Operating Modes ...............................................................................41
Mode Types and Selection ...................................................................................41
Mode Switching ....................................................................................................42
Standby Current Considerations...........................................................................43
Wake-up ...............................................................................................................43
Watchdog Timer ................................................................................44
Watchdog Timer Operation...................................................................................44
Reset and Initialisation .....................................................................46
Reset Functions ...................................................................................................46
Reset Initial Conditions .........................................................................................48
Input/Output Ports.............................................................................51
Pull-high Resistors................................................................................................51
I/O Port Wake-up..................................................................................................51
I/O Port Control Registers.....................................................................................53
Pin-shared Functions............................................................................................54
Pin Remapping Configuration - HT48R0662G .....................................................54
I/O Pin Structures .................................................................................................55
Programming Considerations ...............................................................................55
Rev. 1.10
3
October 23, 2012