Renesas M16C/64C User Manual page 16

Table of Contents

Advertisement

18.2.5
Timer Bi-1 Register (TBi1) (i = 0 to 5) .............................................................................. 308
18.2.6
(PPWFSi) (i = 1, 2) .......................................................................................................... 309
18.2.7
Timer B Count Source Select Register i (TBCSi) (i = 0 to 3) ........................................... 310
18.2.8
Timer B3/B4/B5 Count Start Flag (TBSR) ........................................................................311
18.2.9
Timer Bi Mode Register (TBiMR) (i = 0 to 5) ................................................................... 312
18.3
Operations ................................................................................................................................ 313
18.3.1
Common Operations ....................................................................................................... 313
18.3.2
Timer Mode ..................................................................................................................... 315
18.3.3
Event Counter Mode ........................................................................................................ 317
18.3.4
Pulse Period/Pulse Width Measurement Modes ............................................................. 320
18.4
Interrupts................................................................................................................................... 325
18.5
Notes on Timer B...................................................................................................................... 326
18.5.1
Common Notes on Multiple Modes ................................................................................. 326
18.5.2
Timer B (Timer Mode) ...................................................................................................... 326
18.5.3
Timer B (Event Counter Mode) ........................................................................................ 326
18.5.4
Timer B (Pulse Period/Pulse Width Measurement Modes) ............................................. 327
19. Three-Phase Motor Control Timer Function ............................................................ 328
19.1
Introduction ............................................................................................................................... 328
19.2
Registers................................................................................................................................... 332
19.2.1
Timer B2 Register (TB2) .................................................................................................. 333
19.2.2
Timer Ai, Ai-1 Register (TAi, TAi1) (i = 1, 2, 4) ................................................................. 333
19.2.3
Three-Phase PWM Control Register 0 (INVC0) .............................................................. 334
19.2.4
Three-Phase PWM Control Register 1 (INVC1) .............................................................. 336
19.2.5
Three-Phase Output Buffer Register i (IDBi) (i = 0, 1) ..................................................... 338
19.2.6
Dead Time Timer (DTT) ................................................................................................... 338
19.2.7
Timer B2 Interrupt Generation Frequency Set Counter (ICTB2) ..................................... 339
19.2.8
Timer B2 Special Mode Register (TB2SC) ...................................................................... 340
19.2.9
Position-Data-Retain Function Control Register (PDRF) ................................................ 341
19.2.10
Port Function Control Register (PFCR) ........................................................................... 342
19.2.11
Three-Phase Protect Control Register (TPRC) ............................................................... 342
19.3
Operations ................................................................................................................................ 343
19.3.1
Common Operations in Multiple Modes .......................................................................... 343
19.3.2
Triangular Wave Modulation Three-Phase Mode 0 ......................................................... 349
19.3.3
Triangular Wave Modulation Three-Phase Mode 1 ......................................................... 354
19.3.4
Sawtooth Wave Modulation Mode ................................................................................... 361
19.4
Interrupts................................................................................................................................... 366
19.4.1
Timer B2 Interrupt ............................................................................................................ 366
19.4.2
Timer A1, A2, and A4 Interrupts ...................................................................................... 366
19.5
Notes on Three-Phase Motor Control Timer Function .............................................................. 367
A - 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents