Contents
Special Function Registers ..............................................................15
Indirect Addressing Registers - IAR0, IAR1 .........................................................15
Memory Pointers - MP0, MP1..............................................................................15
Accumulator - ACC..............................................................................................17
Program Counter Low Register - PCL..................................................................17
Status Register - STATUS ...................................................................................17
Input/Output Ports and Control Registers .............................................................18
System Control Registers - CTRL0, CTRL1, CTRL2............................................18
Wake-up Function Register - PAWK ....................................................................20
Pull-high Registers - PAPU, PBPU, PCPU, PDPU, PEPU, PFPU........................20
Software COM Register - SCOMC.......................................................................20
Oscillator............................................................................................20
System Oscillator Overview..................................................................................20
System Clock Configurations................................................................................20
External Crystal/Resonator Oscillator - HXT ........................................................20
External RC Oscillator - ERC...............................................................................20
Internal RC Oscillator - HIRC...............................................................................21
External 32768Hz Crystal Oscillator - LXT...........................................................21
LXT Oscillator Low Power Function......................................................................21
Internal Low Speed Oscillator - LIRC...................................................................22
Operating Modes...............................................................................22
Mode Types and Selection ...................................................................................22
Mode Switching....................................................................................................22
Standby Current Considerations...........................................................................23
Wake-up...............................................................................................................23
Watchdog Timer ................................................................................23
Watchdog Timer Operation...................................................................................23
Reset and Initialisation .....................................................................25
Reset Functions ...................................................................................................25
Reset Initial Conditions.........................................................................................26
Input/Output Ports.............................................................................28
Pull-high Resistors................................................................................................28
Port A Wake-up ....................................................................................................28
I/O Port Control Registers.....................................................................................30
Pin-shared Functions............................................................................................30
I/O Pin Structures .................................................................................................30
Programming Considerations ...............................................................................30
Rev. 1.00
3
April 7, 2011