English
Language : 

M16C65 Datasheet, PDF (18/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
18.5.3 Timer B (Pulse Period/Pulse Width Measurement Modes) ...................... 362
19. Three-Phase Motor Control Timer Function ......................................... 363
19.1 Introduction...................................................................................................... 363
19.2 Registers ......................................................................................................... 367
19.2.1 Timer B2 Register (TB2)........................................................................... 368
19.2.2 Timer Ai, Ai-1 Register (TAi, TAi1) (i = 1, 2, 4) ..................................... 368
19.2.3 Three-Phase PWM Control Register 0 (INVC0) ....................................... 369
19.2.4 Three-Phase PWM Control Register 1 (INVC1) ....................................... 371
19.2.5 Three-Phase Output Buffer Register i (IDBi) (i = 0, 1) ............................. 373
19.2.6 Dead Time Timer (DTT)............................................................................ 373
19.2.7 Timer B2 Interrupt Generation Frequency Set Counter (ICTB2) .............. 374
19.2.8 Timer B2 Special Mode Register (TB2SC) ............................................... 375
19.2.9 Position-Data-Retain Function Control Register (PDRF) ......................... 376
19.2.10 Port Function Control Register (PFCR) .................................................... 377
19.2.11 Three-Phase Protect Control Register (TPRC) ........................................ 377
19.3 Operations....................................................................................................... 378
19.3.1 Common Operations in Multiple Modes ................................................... 378
19.3.2 Triangular Wave Modulation Three-Phase Mode 0 .................................. 384
19.3.3 Triangular Wave Modulation Three-Phase Mode 1 .................................. 389
19.3.4 Sawtooth Wave Modulation Mode ............................................................ 396
19.4 Interrupts ......................................................................................................... 401
19.4.1 Timer B2 Interrupt..................................................................................... 401
19.4.2 Timers A1, A2 and A4 Interrupts .............................................................. 401
19.5 Notes on Three-Phase Motor Control Timer Function..................................... 402
19.5.1 Timer A, Timer B....................................................................................... 402
19.5.2 Forced Cutoff Input................................................................................... 402
20. Real-Time Clock ................................................................................... 403
20.1 Introduction...................................................................................................... 403
20.2 Registers ......................................................................................................... 405
20.2.1 Real-Time Clock Second Data Register (RTCSEC)................................. 406
20.2.2 Real-Time Clock Minute Data Register (RTCMIN) ................................... 407
20.2.3 Real-Time Clock Hour Data Register (RTCHR) ....................................... 408
20.2.4 Real-Time Clock Day Data Register (RTCWK) ........................................ 409
20.2.5 Real-Time Clock Control Register 1 (RTCCR1) ...................................... 410
A - 11