v
8.1.4
Register Configuration .......................................................................................... 191
8.2
Register Descriptions.......................................................................................................... 194
8.2.1
Timer Start Register (TSTR)................................................................................. 194
8.2.2
Timer Synchro Register (TSNC) .......................................................................... 195
8.2.3
Timer Mode Register (TMDR) ............................................................................. 197
8.2.4
Timer Function Control Register (TFCR) ............................................................ 200
8.2.5
Timer Output Master Enable Register (TOER) .................................................... 202
8.2.6
Timer Output Control Register (TOCR) ............................................................... 205
8.2.7
Timer Counters (TCNT)........................................................................................ 206
8.2.8
General Registers (GRA, GRB)............................................................................ 207
8.2.9
Buffer Registers (BRA, BRB) .............................................................................. 208
8.2.10 Timer Control Registers (TCR) ............................................................................ 209
8.2.11 Timer I/O Control Register (TIOR) ...................................................................... 212
8.2.12 Timer Status Register (TSR) ................................................................................. 214
8.2.13 Timer Interrupt Enable Register (TIER) ............................................................... 216
8.3
CPU Interface ..................................................................................................................... 218
8.3.1
16-Bit Accessible Registers .................................................................................. 218
8.3.2
8-Bit Accessible Registers .................................................................................... 220
8.4
Operation ............................................................................................................................ 221
8.4.1
Overview ............................................................................................................... 221
8.4.2
Basic Functions ..................................................................................................... 222
8.4.3
Synchronization .................................................................................................... 232
8.4.4
PWM Mode ........................................................................................................... 234
8.4.5
Reset-Synchronized PWM Mode.......................................................................... 238
8.4.6
Complementary PWM Mode ................................................................................ 241
8.4.7
Phase Counting Mode ........................................................................................... 251
8.4.8
Buffering ............................................................................................................... 253
8.4.9
ITU Output Timing ............................................................................................... 260
8.5
Interrupts ............................................................................................................................ 262
8.5.1
Setting of Status Flags........................................................................................... 262
8.5.2
Clearing of Status Flags ........................................................................................ 264
8.5.3
Interrupt Sources ................................................................................................... 265
8.6
Usage Notes........................................................................................................................ 266
Section 9
Programmable Timing Pattern Controller
................................................ 281
9.1
Overview ............................................................................................................................ 281
9.1.1
Features ................................................................................................................. 281
9.1.2
Block Diagram ...................................................................................................... 282
9.1.3
Pin Configuration .................................................................................................. 283
9.1.4
Register Configuration .......................................................................................... 284
9.2
Register Descriptions.......................................................................................................... 285
9.2.1
Port A Data Direction Register (PADDR) ............................................................ 285
9.2.2
Port A Data Register (PADR) ............................................................................... 285