
iii
8.3.5
Pulse Width Measurement Mode
............................................................................................................ 74
8.3.6
Programmable Pulse Generate (PPG) Output Mode
............................................................................. 77
9.
8-Bit TimerCounter (TC3, TC4)
9.1
Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
9.2
TimerCounter Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
9.3
Function
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
9.3.1
8-Bit Timer Mode (TC3 and 4)
................................................................................................................ 87
9.3.2
8-Bit Event Counter Mode (TC3, 4)
........................................................................................................ 88
9.3.3
8-Bit Programmable Divider Output (PDO) Mode (TC3, 4)
..................................................................... 88
9.3.4
8-Bit Pulse Width Modulation (PWM) Output Mode (TC3, 4)
.................................................................. 91
9.3.5
16-Bit Timer Mode (TC3 and 4)
.............................................................................................................. 93
9.3.6
16-Bit Event Counter Mode (TC3 and 4)
................................................................................................ 94
9.3.7
16-Bit Pulse Width Modulation (PWM) Output Mode (TC3 and 4)
.......................................................... 94
9.3.8
16-Bit Programmable Pulse Generate (PPG) Output Mode (TC3 and 4)
............................................... 97
9.3.9
Warm-Up Counter Mode
......................................................................................................................... 99
9.3.9.1
Low-Frequency Warm-up Counter Mode
(NORMAL1
→
NORMAL2
→
SLOW2
→
SLOW1)
9.3.9.2
High-Frequency Warm-Up Counter Mode
(SLOW1
→
SLOW2
→
NORMAL2
→
NORMAL1)
10.
Synchronous Serial Interface (SIO)
10.1
Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
10.2
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
10.3
Function
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
10.3.1
Serial clock
......................................................................................................................................... 104
10.3.1.1
Clock source
10.3.1.2
Shift edge
10.3.2
Transfer bit direction
........................................................................................................................... 106
10.3.2.1
Transmit mode
10.3.2.2
Receive mode
10.3.2.3
Transmit/receive mode
10.3.3
Transfer modes
................................................................................................................................... 107
10.3.3.1
Transmit mode
10.3.3.2
Receive mode
10.3.3.3
Transmit/receive mode
11.
Asynchronous Serial interface (UART )
11.1
Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
11.2
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
11.3
Transfer Data Format
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
11.4
Transfer Rate
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
11.5
Data Sampling Method
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
11.6
STOP Bit Length
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
11.7
Parity
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
11.8
Transmit/Receive Operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
11.8.1
Data Transmit Operation
.................................................................................................................... 124
11.8.2
Data Receive Operation
..................................................................................................................... 124
11.9
Status Flag
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
11.9.1
Parity Error
.......................................................................................................................................... 125
11.9.2
Framing Error
...................................................................................................................................... 125
11.9.3
Overrun Error
...................................................................................................................................... 125
11.9.4
Receive Data Buffer Full
..................................................................................................................... 126
11.9.5
Transmit Data Buffer Empty
............................................................................................................... 126