
vi
7.4 Operation ........................................................................................................................... 273
7.4.1 Overview.............................................................................................................. 273
7.4.2 Basic Functions .................................................................................................... 274
7.4.3 Synchronous Operation........................................................................................ 280
7.4.4 Buffer Operation .................................................................................................. 282
7.4.5 Cascaded Operation.............................................................................................. 286
7.4.6 PWM Modes ........................................................................................................ 288
7.4.7 Phase Counting Mode .......................................................................................... 293
7.5 Interrupts............................................................................................................................ 300
7.5.1 Interrupt Sources and Priorities............................................................................ 300
7.5.2 DTC/DMAC Activation....................................................................................... 302
7.5.3 A/D Converter Activation.................................................................................... 302
7.6 Operation Timing .............................................................................................................. 303
7.6.1 Input/Output Timing ............................................................................................ 303
7.6.2 Interrupt Signal Timing........................................................................................ 307
7.7 Usage Notes....................................................................................................................... 311
Section 8 Programmable Pulse Generator (PPG) .................................................... 321
8.1 Overview............................................................................................................................ 321
8.1.1 Features ................................................................................................................ 321
8.1.2 Block Diagram...................................................................................................... 322
8.1.3 Pin Configuration ................................................................................................. 323
8.1.4 Registers............................................................................................................... 324
8.2 Register Descriptions......................................................................................................... 325
8.2.1 Next Data Enable Registers H and L (NDERH, NDERL)................................... 325
8.2.2 Output Data Registers H and L (PODRH, PODRL)............................................ 326
8.2.3 Next Data Registers H and L (NDRH, NDRL).................................................... 327
8.2.4 Notes on NDR Access.......................................................................................... 327
8.2.5 PPG Output Control Register (PCR).................................................................... 329
8.2.6 PPG Output Mode Register (PMR)...................................................................... 331
8.2.7 Port 1 Data Direction Register (P1DDR)............................................................. 333
8.2.8 Port 2 Data Direction Register (P2DDR)............................................................. 334
8.2.9 Module Stop Control Register (MSTPCR).......................................................... 334
8.3 Operation ........................................................................................................................... 335
8.3.1 Overview.............................................................................................................. 335
8.3.2 Output Timing...................................................................................................... 336
8.3.3 Normal Pulse Output............................................................................................ 337
8.3.4 Non-Overlapping Pulse Output............................................................................ 339
8.3.5 Inverted Pulse Output........................................................................................... 342
8.3.6 Pulse Output Triggered by Input Capture ............................................................ 343
8.4 Usage Notes....................................................................................................................... 344
8.4.1 Operation of Pulse Output Pins............................................................................ 344
8.4.2 Note on Non-Overlapping Output........................................................................ 344