Laptop User Manual

A-3
11. DMAC ................................................................................................................................ 82
11.1 Transfer Cycle .......................................................................................................................................... 87
11.1.1 Effect of Source and Destination Addresses .................................................................................... 87
11.1.2 Effect of Software Wait ..................................................................................................................... 87
11.2 DMA Transfer Cycles ................................................................................................................................ 89
11.3 DMA Enable ............................................................................................................................................. 90
11.4 DMA Request ........................................................................................................................................... 90
11.5 Channel Priority and DMA Transfer Timing .............................................................................................. 91
12. Timers ............................................................................................................................... 92
12.1 Timer A ..................................................................................................................................................... 94
12.1.1 Timer Mode ...................................................................................................................................... 98
12.1.2 Event Counter Mode ........................................................................................................................ 99
12.1.3 One-shot Timer Mode .................................................................................................................... 104
12.1.4 Pulse Width Modulation (PWM) Mode ........................................................................................... 106
12.2 Timer B ................................................................................................................................................... 109
12.2.1 Timer Mode .................................................................................................................................... 112
12.2.2 Event Counter Mode ...................................................................................................................... 113
12.2.3 Pulse Period and Pulse Width Measurement Mode ...................................................................... 114
13. Three-Phase Motor Control Timer Function .................................................................... 117
14. Serial I/O ......................................................................................................................... 128
14.1 UARTi ..................................................................................................................................................... 128
14.1.1 Clock Synchronous Serial I/O Mode .............................................................................................. 138
14.1.2 Clock Asynchronous Serial I/O (UART) Mode ............................................................................... 146
14.1.3 Special Mode 1 (I
2
C Mode) ............................................................................................................ 154
14.1.4 Special Mode 2 .............................................................................................................................. 163
14.1.5 Special Mode 3 (IE Mode) ............................................................................................................. 168
14.1.6 Special Mode 4 (SIM Mode) (UART2) ........................................................................................... 170
14.2 SI/Oi ....................................................................................................................................................... 175
14.2.1 SI/Oi Operation Timing ................................................................................................................... 179
14.2.2 CLK Polarity Selection ................................................................................................................... 179
14.2.3 Functions for Setting an SOUTi Initial Value .................................................................................. 180
15. A/D Converter.................................................................................................................. 181
15.1 Mode Description ...................................................................................................................................185
15.1.1 One-shot Mode .............................................................................................................................. 185
15.1.2 Repeat Mode ................................................................................................................................. 187
15.1.3 Single Sweep Mode ....................................................................................................................... 189
15.1.4 Repeat Sweep Mode 0 .................................................................................................................. 191
15.1.5 Repeat Sweep Mode 1 .................................................................................................................. 193
15.2 Function ................................................................................................................................................. 195
15.2.1 Resolution Select Function ............................................................................................................ 195
15.2.2 Sample and Hold ........................................................................................................................... 195
15.2.3 Extended Analog Input Pins ........................................................................................................... 195
15.2.4 External Operation Amplifier (Op-Amp) Connection Mode ............................................................ 195
15.2.5 Current Consumption Reducing Function ...................................................................................... 196
15.2.6 Output Impedance of Sensor under A/D Conversion ..................................................................... 196
16. D/A Converter.................................................................................................................. 198
17. CRC Calculation.............................................................................................................. 200