Product List ......................................................................................................................................................................... 3
Ordering Information ........................................................................................................................................................... 3
Features .............................................................................................................................................................................. 3
Special Function Register (SFR) ........................................................................................................................................ 7
Function Description ......................................................................................................................................................... 11
1.
General Features ..................................................................................................................................................... 11
1.1
Embedded Programmable ROM ..................................................................................................................... 11
The Clock Out Selection .................................................................................................................................. 12
1.5.1 Hardware RESET function .......................................................................................................................... 12
1.5.2 Software RESET function ........................................................................................................................... 12
1.5.3 Reset status ................................................................................................................................................ 13
1.5.4 Time Access Key register (TAKEY) ............................................................................................................. 13
1.5.6 Example of software reset........................................................................................................................... 14
Instruction Set .......................................................................................................................................................... 15
Program Memory ............................................................................................................................................. 19
3.2
Data Memory ................................................................................................................................................... 20
3.3
Data memory - lower 128 byte (00h to 7Fh) ................................................................................................... 20
3.4
Data memory - higher 128 byte (80h to FFh) .................................................................................................. 20
3.5
Data memory - Expanded 256 bytes ($00 to $FF) .......................................................................................... 20
4.
CPU Engine ............................................................................................................................................................. 21
B Register ........................................................................................................................................................ 21
4.3
Program Status Word ...................................................................................................................................... 22
Data Pointer ..................................................................................................................................................... 22
4.6
Data Pointer 1.................................................................................................................................................. 23
4.7
Clock control register ....................................................................................................................................... 23
4.8
Interface control register .................................................................................................................................. 24
Mode 3 (Timer 0 acts as two independent 8 bit Timers / Counters)................................................................ 31
7.
Timer 2 and Capture Compare Unit ......................................................................................................................... 32
7.1
Timer 2 function ............................................................................................................................................... 35
7.1.4 Reload of Timer 2 ........................................................................................................................................ 36
7.2
Compare function ............................................................................................................................................ 36
Capture function .............................................................................................................................................. 38
Serial interface ......................................................................................................................................................... 39
8.1
Serial interface................................................................................................................................................. 40
8.4.1 Serial interface modes 1 and 3 ................................................................................................................... 42
Power Management Unit ..................................................................................................................................... 55
IIC function ........................................................................................................................................................... 59
14.
SPI Function - Serial Peripheral Interface ........................................................................................................... 64
ISP service program ........................................................................................................................................ 80
18.2
Lock Bit (N) ...................................................................................................................................................... 80
18.3
Program the ISP Service Program .................................................................................................................. 81
18.4
Initiate ISP Service Program ........................................................................................................................... 81
DC Characteristics ............................................................................................................................................................ 89