Contents
Data Memory......................................................................................22
Structure...............................................................................................................22
Special Purpose Data Memory.............................................................................23
Special Function Registers ..............................................................23
Indirect Addressing Registers - IAR0, IAR1 .........................................................23
Memory Pointers - MP0, MP1..............................................................................23
Accumulator - ACC..............................................................................................25
Program Counter Low Register - PCL..................................................................25
Status Register - STATUS ...................................................................................25
Input/Output Ports and Control Registers .............................................................26
System Control Registers - CTRL0, CTRL1.........................................................27
Wake-up Function Register - PAWK ....................................................................28
Pull-high Registers - PAPU, PBPU, PCPU, PDPU...............................................28
Software COM Register - SCOMC.......................................................................28
Oscillator............................................................................................28
System Oscillator Overview..................................................................................28
System Clock Configurations................................................................................29
External Crystal/Resonator Oscillator - HXT ........................................................29
External RC Oscillator - ERC...............................................................................29
Internal RC Oscillator - HIRC...............................................................................29
External 32768Hz Crystal Oscillator - LXT...........................................................29
LXT Oscillator Low Power Function......................................................................30
Internal Low Speed Oscillator - LIRC...................................................................30
Operating Modes...............................................................................30
Mode Types and Selection ...................................................................................30
Mode Switching....................................................................................................31
Standby Current Considerations...........................................................................31
Wake-up...............................................................................................................32
Watchdog Timer ................................................................................32
Watchdog Timer Operation...................................................................................32
Reset and Initialisation .....................................................................34
Reset Functions ...................................................................................................34
Reset Initial Conditions.........................................................................................35
Input/Output Ports.............................................................................38
Pull-high Resistors................................................................................................38
Port A Wake-up ....................................................................................................38
I/O Port Control Registers.....................................................................................40
Pin-shared Functions............................................................................................40
Pin Remapping Configuration - HT46R066B .......................................................40
I/O Pin Structures .................................................................................................41
Programming Considerations ...............................................................................41
Rev. 1.10
3
October 23, 2012