Datasheet

Table Of Contents
Rev. 2.00 Jul. 04, 2007 Page xvii of xl
14.3.9 Timer Synchro Register (TSYR) .......................................................................... 287
14.4 Interface to CPU ................................................................................................................ 288
14.4.1 16-Bit Registers .................................................................................................... 288
14.4.2 8-Bit Registers ...................................................................................................... 288
14.5 Operation ........................................................................................................................... 290
14.5.1 Basic Functions..................................................................................................... 290
14.5.2 Synchronous Operation......................................................................................... 296
14.5.3 Operation with Cascaded Connection................................................................... 298
14.5.4 PWM Modes......................................................................................................... 300
14.6 Interrupt Sources................................................................................................................ 305
14.7 Operation Timing............................................................................................................... 306
14.7.1 Input/Output Timing ............................................................................................. 306
14.7.2 Interrupt Signal Timing......................................................................................... 309
14.8 Usage Notes ....................................................................................................................... 311
14.8.1 Module Standby Function Setting......................................................................... 311
14.8.2 Input Clock Restrictions ....................................................................................... 311
14.8.3 Caution on Period Setting ..................................................................................... 312
14.8.4 Contention between TCNT Write and Clear Operation ....................................... 312
14.8.5 Contention between TCNT Write and Increment Operation ................................ 313
14.8.6 Contention between TGR Write and Compare Match.......................................... 314
14.8.7 Contention between TGR Read and Input Capture............................................... 315
14.8.8 Contention between TGR Write and Input Capture.............................................. 316
14.8.9 Contention between Overflow and Counter Clearing ........................................... 317
14.8.10 Contention between TCNT Write and Overflow .................................................. 318
14.8.11 Multiplexing of I/O Pins ....................................................................................... 318
14.8.12 Interrupts when Module Standby Function is Used.............................................. 318
14.8.13 Output Conditions for 0% Duty and 100% Duty.................................................. 318
Section 15 Asynchronous Event Counter (AEC)...............................................319
15.1 Features.............................................................................................................................. 319
15.2 Input/Output Pins............................................................................................................... 320
15.3 Register Descriptions ......................................................................................................... 321
15.3.1 Event Counter PWM Compare Register (ECPWCR) ........................................... 321
15.3.2 Event Counter PWM Data Register (ECPWDR).................................................. 322
15.3.3 Input Pin Edge Select Register (AEGSR)............................................................. 323
15.3.4 Event Counter Control Register (ECCR).............................................................. 324
15.3.5 Event Counter Control/Status Register (ECCSR)................................................. 325
15.3.6 Event Counter H (ECH)........................................................................................ 327
15.3.7 Event Counter L (ECL)......................................................................................... 327
15.4 Operation ........................................................................................................................... 328