![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_8.png)
vi
MB90560 series
11.2
11.3
11.4
11.4.1
11.4.2
11.4.3
11.4.4
11.5
11.6
11.6.1
11.6.2
11.6.3
11.7
11.8
Configuration of the 16-Bit Reload Timer ........................................................................................... 252
16-Bit Reload Timer Pins ................................................................................................................... 254
16-Bit Reload Timer Registers ........................................................................................................... 255
Timer control status register, upper part (TMCSR0, TMCSR1: H) ............................................... 256
Timer control status register, lower part (TMCSR0, TMCSR1: L) ............................................... 258
16-bit timer register (TMR0, TMR1) .............................................................................................. 260
16-bit reload register (TMRLR0, TMRLR1) ................................................................................... 261
16-Bit Reload Timer Interrupts ........................................................................................................... 262
Operation of the 16-Bit Reload Timer ................................................................................................ 264
Reload Mode (Internal Clock Mode) ............................................................................................. 266
Single-shot Mode (Internal Clock Mode) ...................................................................................... 268
Event count mode ......................................................................................................................... 270
Usage Notes on the 16-Bit Reload Timer .......................................................................................... 272
Sample Programs for the 16-Bit Reload Timer .................................................................................. 273
CHAPTER 12 MULTI-FUNCTION TIMER ........................................................................277
12.1
Overview of Multi-function Timer ....................................................................................................... 278
12.2
Block Diagram of Multi-function Timer ............................................................................................... 280
12.3
Register of Multi-Function Timer ........................................................................................................ 284
12.3.1
Registers of 16-bit Free-Run Timer .............................................................................................. 290
12.3.1.1 Compare Clear Register (CPCLR) ......................................................................................... 291
12.3.1.2 Timer Data Register (TCDT) ................................................................................................... 292
12.3.1.3 Timer Control Status Register (TCCS) ................................................................................... 294
12.3.2
Registers of 16-bit Output Compare ............................................................................................. 298
12.3.2.1 Compare Registers (OCCP0~5) ............................................................................................. 299
12.3.2.2 Compare Control Registers (OSC0/1/2/3/4/5) ........................................................................ 300
12.3.3
Registers of 16-bit Input Capture .................................................................................................. 304
12.3.3.1 Input Capture Register (IPCP0~3) .......................................................................................... 305
12.3.3.2 Capture Control Registers (ICS23, ICS01) ............................................................................. 306
12.3.4
Register of 8/16-bit PPG Timer ..................................................................................................... 310
12.3.4.1 PPG Reload Register (PRLH0~5, PRLL0~5) ......................................................................... 311
12.3.4.2 PPG Control Register (PPGC0~5) ......................................................................................... 312
12.3.4.3 PPG Clock Control Register (PCS01/23/45) .......................................................................... 316
12.3.5
Registers of Waveform Generator ................................................................................................ 318
12.3.5.1 8-bit Reload Register (TMRR0/1/2) ........................................................................................ 319
12.3.5.2 8-bit Timer Control Register (DTCR0/1/2) .............................................................................. 320
12.3.5.3 Waveform Control Register (SIGCR) ...................................................................................... 322
12.4
Operation of Multi-Function Timer ..................................................................................................... 324
12.4.1
Operation of 16-bit Free-run Timer ............................................................................................... 326
12.4.2
Operation of 16-bit Output Compare ............................................................................................ 328
12.4.3
Operation of 16-bit Input Capture ................................................................................................. 332
12.4.4
Operation of 8/16-bit PPG Timers ................................................................................................ 334
12.4.5
Operation of Waveform Generator ............................................................................................... 340
12.4.5.1 Operation of Dead-timer Control Circuit ................................................................................. 342
12.4.5.2 Operation of PPG Output and GATE Signal Control Circuit ................................................... 346
12.4.5.3 Operation of DTTI Pin Control ................................................................................................ 348
CHAPTER 13 UART .........................................................................................................351
13.1
Overview of UART ............................................................................................................................. 352
13.2
Configuration of UART ....................................................................................................................... 354