Renesas M16C/6NL Computer Hardware User Manual


 
A-3
11. DMAC ................................................................................................................................ 78
11.1 Transfer Cycle ..........................................................................................................................................83
11.1.1 Effect of Source and Destination Addresses .................................................................................... 83
11.1.2 Effect of Software Wait ..................................................................................................................... 83
11.2 DMA Transfer Cycles................................................................................................................................85
11.3 DMA Enable .............................................................................................................................................86
11.4 DMA Request ...........................................................................................................................................86
11.5 Channel Priority and DMA Transfer Timing ..............................................................................................87
12. Timers ............................................................................................................................... 88
12.1 Timer A .....................................................................................................................................................90
12.1.1 Timer Mode ......................................................................................................................................94
12.1.2 Event Counter Mode ........................................................................................................................ 95
12.1.3 One-shot Timer Mode ....................................................................................................................100
12.1.4 Pulse Width Modulation (PWM) Mode ........................................................................................... 102
12.2 Timer B ...................................................................................................................................................105
12.2.1 Timer Mode ....................................................................................................................................108
12.2.2 Event Counter Mode ...................................................................................................................... 109
12.2.3 Pulse Period and Pulse Width Measurement Mode ...................................................................... 110
13. Three-Phase Motor Control Timer Function .................................................................... 113
14. Serial I/O ......................................................................................................................... 124
14.1 UARTi.....................................................................................................................................................124
14.1.1 Clock Synchronous Serial I/O Mode .............................................................................................. 134
14.1.2 Clock Asynchronous Serial I/O (UART) Mode ............................................................................... 142
14.1.3 Special Mode 1 (I
2
C Mode) ............................................................................................................ 150
14.1.4 Special Mode 2 ..............................................................................................................................159
14.1.5 Special Mode 3 (IE Mode) .............................................................................................................164
14.1.6 Special Mode 4 (SIM Mode) (UART2) ........................................................................................... 166
14.2 SI/Oi ....................................................................................................................................................... 171
14.2.1 SI/Oi Operation Timing................................................................................................................... 175
14.2.2 CLK Polarity Selection ................................................................................................................... 175
14.2.3 Functions for Setting an SOUTi Initial Value ..................................................................................176
15. A/D Converter.................................................................................................................. 177
15.1 Mode Description ...................................................................................................................................181
15.1.1 One-shot Mode ..............................................................................................................................181
15.1.2 Repeat Mode .................................................................................................................................183
15.1.3 Single Sweep Mode ....................................................................................................................... 185
15.1.4 Repeat Sweep Mode 0 ..................................................................................................................187
15.1.5 Repeat Sweep Mode 1 ..................................................................................................................189
15.2 Function .................................................................................................................................................191
15.2.1 Resolution Select Function ............................................................................................................ 191
15.2.2 Sample and Hold ...........................................................................................................................191
15.2.3 Extended Analog Input Pins........................................................................................................... 191
15.2.4 External Operation Amplifier (Op-Amp) Connection Mode ............................................................191
15.2.5 Current Consumption Reducing Function ...................................................................................... 192
15.2.6 Output Impedance of Sensor under A/D Conversion..................................................................... 192
16. D/A Converter.................................................................................................................. 194
17. CRC Calculation.............................................................................................................. 196