Fujitsu MB90480 Series Hardware Manual page 14

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 13 8/16-BIT UP/DOWN COUNTER/TIMER ................................................... 259
13.1 Overview of 8/16-bit Up/Down Counter Timer .................................................................................. 260
13.2 Configuration of 8/16-bit Up/Down Counter/Timer ............................................................................ 261
13.3.1 Counter control register (ch.0) upper (CCRH0) ........................................................................... 265
13.3.2 Counter control register (ch.1) upper (CCRH1) ........................................................................... 267
13.3.3 Counter control register (ch.0/ch.1) lower (CCRL0/CCRL1) ........................................................ 269
13.3.4 Counter status register 0/1 (CSR0/CSR1) ................................................................................... 271
13.3.5 Up/down count register (ch.0/ch.1) (UDCR0/UDCR1) ................................................................. 273
13.3.6 Reload/compare register (ch.0/ch.1) (RCR0/RCR1) .................................................................... 274
13.4 Interrupt of 8/16-bit Up/Down Counter/Timer .................................................................................... 275
13.5 8/16-bit Up/Down Counter/Timer Operation ..................................................................................... 277
13.5.1 Reload/compare function ............................................................................................................. 280
13.5.2 Writing data to up/down count register (UDCR) ........................................................................... 283
13.6 Program Example of 8/16-bit Up/Down Counter/Timer .................................................................... 285
CHAPTER 14 16-BIT RELOAD TIMER ........................................................................... 291
14.1 Overview of 16-Bit Reload Timer ...................................................................................................... 292
14.2 Configuration and Functions of 16-Bit Reload Timer Registers ........................................................ 296
14.2.1 Timer Control Status Register (TMCSR) ..................................................................................... 297
14.2.2 16-Bit Timer Register (TMR)/16-Bit Reload Register (TMRLR) ................................................... 301
14.3 Interrupt of 16-Bit Reload Timer ........................................................................................................ 303
14.4 Operations of the 16-Bit Reload Timer ............................................................................................. 304
14.4.1 State Transitions During Count Operation ................................................................................... 305
14.4.2 Operations of Internal Clock Mode (Reload Mode) ...................................................................... 306
14.4.3 Internal Clock Mode (One-Shot Mode) ........................................................................................ 308
14.4.4 Event Count Mode ....................................................................................................................... 310
14.5 Program Example of 16-Bit Reload Timer ........................................................................................ 312
CHAPTER 15 8/16-BIT PPG TIMER ................................................................................ 317
15.1 Overview of 8/16-Bit PPG Timer ....................................................................................................... 318
15.2 Configuration of 8/16-Bit PPG Timer ................................................................................................ 319
15.3 Configuration and Functions of 8/16-Bit PPG Timer Registers ......................................................... 322
15.3.3 PPG0 to PPG5 Output Control Registers (PPG01, PPG23, PPG45) .......................................... 328
15.3.4 Reload Registers (PRLL0 to PRLL5, PRLH0 to PRLH5) ............................................................. 330
15.4 Interrupt of 8/16-Bit PPG Timer ........................................................................................................ 331
15.5 Operations of 8/16-Bit PPG Timer .................................................................................................... 333
15.6 Program Example of 8/16-Bit PPG Timer ......................................................................................... 338
CHAPTER 16 DTP/EXTERNAL INTERRUPTS ............................................................... 341
16.1 Overview of DTP/External Interrupt Unit ........................................................................................... 342
16.2 Configuration and Functions of DTP/External Interrupt Unit Registers ............................................. 344
16.3 DTP/External Interrupt ...................................................................................................................... 346
16.4 Operations of DTP/External Interrupt Unit ........................................................................................ 348
16.5 Precautions on Use of DTP/External Interrupt Unit .......................................................................... 350
16.6 Program Example of DTP/External Interrupt .................................................................................... 352
x

Advertisement

Table of Contents
loading

Table of Contents