English
Language : 

M16C29 Datasheet, PDF (11/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
12. Timers ___________________________________________________ 101
12.1 Timer A ...................................................................................................................... 103
12.1.1 Timer Mode .......................................................................................................... 106
12.1.2 Event Counter Mode ............................................................................................ 107
12.1.3 One-shot Timer Mode .......................................................................................... 112
12.1.4 Pulse Width Modulation (PWM) Mode ................................................................. 114
12.2 Timer B ...................................................................................................................... 117
12.2.1 Timer Mode ......................................................................................................... 119
12.2.2 Event Counter Mode ............................................................................................ 120
12.2.3 Pulse Period and Pulse Width Measurement Mode ............................................ 121
12.2.4 A/D Trigger Mode ................................................................................................ 123
12.3 Three-phase Motor Control Timer Function ................................................................ 125
12.3.1 Position-Data-Retain Function ............................................................................. 136
12.3.2 Three-phase/Port Output Switch Function ........................................................... 138
13. Timer S __________________________________________________ 140
13.1 Base Timer ................................................................................................................. 151
13.1.1 Base Timer Reset Register(G1BTRR) ................................................................. 155
13.2 Interrupt Operation ..................................................................................................... 156
13.3 DMA Support .............................................................................................................. 156
13.4 Time Measurement Function ...................................................................................... 157
13.5 Waveform Generating Function .................................................................................. 161
13.5.1 Single-Phase Waveform Output Mode ................................................................. 162
13.5.2 Phase-Delayed Waveform Output Mode.............................................................. 164
13.5.3 Set/Reset Waveform Output (SR Waveform Output) Mode ................................. 166
13.6 I/O Port Function Select ............................................................................................. 168
13.6.1 INPC17 Alternate Input Pin Selection .................................................................. 169
________
13.6.2 Digital Debounce Function for Pin P17/INT5/INPC17 .......................................... 169
14. Serial I/O _________________________________________________ 170
14.1 UARTi (i=0 to 2) .......................................................................................................... 170
14.1.1 Clock Synchronous serial I/O Mode ..................................................................... 180
14.1.2 Clock Asynchronous Serial I/O (UART) Mode ..................................................... 188
14.1.3 Special Mode 1 (I2C bus mode)(UART2) ............................................................. 196
14.1.4 Special Mode 2 (UART2) ..................................................................................... 206
14.1.5 Special Mode 3 (IEBus mode)(UART2) .............................................................. 210
14.1.6 Special Mode 4 (SIM Mode) (UART2)................................................................. 212
A-4