Contents
Product Specification (V1.0) 10.03.2006
•
iii
Contents
1 General
Description.....................................................................................................1
2 Features ........................................................................................................................1
3 Pin
Assignment ............................................................................................................1
4 Pin
Description.............................................................................................................2
5 Function
Description...................................................................................................3
5.1 Functional Block Diagram .................................................................................... 3
5.2 Operating
Registers ............................................................................................. 4
5.3 Special
Purpose
Registers ................................................................................. 19
5.4 CPU
Operation
Mode ......................................................................................... 23
5.5 AD
Converter...................................................................................................... 24
5.6 Time Base Timer and Keytone Generator ......................................................... 26
5.7 UART
(Universal
Asynchronous
Receiver/Transmitter)..................................... 28
5.7.1 UART
Mode ...................................................................................................... 29
5.7.2 Transmitting ...................................................................................................... 29
5.7.3 Receiving .......................................................................................................... 30
5.7.4 Baud
Rate
Generator ....................................................................................... 30
5.8 SPI (Serial Peripheral Interface) ........................................................................ 31
5.8.1 Serial
Clock....................................................................................................... 32
5.8.2 Shift Direction and Sample Phase.................................................................... 32
5.8.3 Transfer
Mode .................................................................................................. 32
5.9 Timer/Counter
2.................................................................................................. 35
5.9.1 Timer
Mode....................................................................................................... 36
5.9.2 Counter
Mode ................................................................................................... 36
5.9.3 Window
Mode ................................................................................................... 36
5.10 Timer/Counter 3.................................................................................................. 37
5.10.1 Timer Mode....................................................................................................... 38
5.10.2 Counter Mode ................................................................................................... 38
5.10.3 Capture Mode ................................................................................................... 38
5.11 Timer/Counter 4.................................................................................................. 39
5.11.1 Timer Mode....................................................................................................... 40
5.11.2 Counter Mode ................................................................................................... 40
5.11.3 PDO Mode ........................................................................................................ 40
5.11.4 PWM Mode ....................................................................................................... 41
5.12 TCC/WDT & Prescaler ....................................................................................... 41
5.13 I/O Ports.............................................................................................................. 42