Contents
Product Specification (V1.11) 04.20.2006
••••
iii
1
General Description ................................................................................................ 1
2
Features ................................................................................................................... 1
3
Type Definition......................................................................................................... 3
4
Application............................................................................................................... 3
5
Pin Assignment ....................................................................................................... 4
6
Pin Description ........................................................................................................ 6
7
Block Diagram ......................................................................................................... 7
8
Function Description............................................................................................... 8
8.1 Program Memory ..............................................................................................8
8.2 Data Memory ....................................................................................................9
8.2.1 Special Purpose Register....................................................................................9
8.2.2 Operation Registers ..........................................................................................10
8.2.2.1 R0 (Indirect Addressing Register) ......................................................10
8.2.2.2 R1 (Timer / Clock Counter) ................................................................10
8.2.2.3 R2 (Program Counter & Stack) ..........................................................10
8.2.2.4 R3 (Status Register) ...........................................................................11
8.2.2.5 R4 (RAM Select Register)..................................................................13
8.2.2.6 R5 (Port 5 I/O Register)......................................................................13
8.2.2.7 R6 (Port 6 I/O Register)......................................................................13
8.2.2.8 R7 (Port 7 I/O Register)......................................................................13
8.2.2.9 R8 (Port 8 I/O Register)......................................................................13
8.2.2.10 R9 (Port 9 I/O Register)......................................................................13
8.2.2.11 RA (EEPROM Control Register..........................................................14
8.2.2.12 RB (Pattern Detect Application Control Register) ..............................14
8.2.2.13 RC (USB Application Status Register) ...............................................14
8.2.2.12 RD (USB Application FIFO Address Register) ...................................15
8.2.2.13 RE (USB Application FIFO Data Register).........................................15
8.2.2.14 RF (Interrupt Status Register) ............................................................15
8.2.3 Control Registers...............................................................................................16
8.2.3.1 A (Accumulator)..................................................................................16
8.2.3.2 CONT (Control Register)....................................................................17
8.2.3.3 IOC5 ~IOC9 I/O (Port Direction Control Registers) ...........................18
8.2.3.4 IOCA (Operation Mode Control Register) ..........................................18
8.2.3.5 IOCB (Port 9 Wake-up Pin Select Register) ......................................19
8.2.3.7 IOCD (Port 9 Pull High Control Register)...........................................19
8.2.3.8 IOCE (Special Function Control Register)..........................................20
8.2.3.9 IOCF (Interrupt Mask Register)..........................................................21