English
Language : 

UPD784938 Datasheet, PDF (17/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
11.9.1 Operation as interval timer (1) .................................................................................................... 347
11.9.2 Operation as interval timer (2) .................................................................................................... 350
11.9.3 Pulse width measurement operation ........................................................................................... 353
11.9.4 Operation as PWM output ........................................................................................................... 356
11.9.5 Operation as PPG output ............................................................................................................ 360
11.9.6 Operation as external event counter ........................................................................................... 364
11.9.7 Operation as one-shot timer ........................................................................................................ 366
11.10 Cautions .................................................................................................................................... 369
CHAPTER 12 TIMER 3 ........................................................................................................................... 373
12.1 Function .................................................................................................................................... 373
12.2 Configuration ............................................................................................................................ 374
12.3 Timer 3 Control Registers ...................................................................................................... 376
12.4 Timer Counter 3 (TM3) Operation .......................................................................................... 378
12.4.1 Basic operation ............................................................................................................................ 378
12.4.2 Clear operation ............................................................................................................................. 380
12.5 Compare Register Operation ................................................................................................. 382
12.6 Example of Use ........................................................................................................................ 383
12.7 Cautions .................................................................................................................................... 385
CHAPTER 13 WATCHDOG TIMER ....................................................................................................... 387
13.1 Configuration ............................................................................................................................ 387
13.2 Watchdog Timer Mode Register (WDM)................................................................................ 388
13.3 Operation .................................................................................................................................. 390
13.3.1 Count operation ............................................................................................................................ 390
13.3.2 Interrupt priorities ......................................................................................................................... 390
13.4 Cautions .................................................................................................................................... 391
13.4.1 General cautions on use of watchdog timer ............................................................................... 391
13.4.2 Cautions on µPD784938 Subseries watchdog timer .................................................................. 392
CHAPTER 14 WATCH TIMER ................................................................................................................ 393
CHAPTER 15 PWM OUTPUT UNIT ..................................................................................................... 395
15.1 PWM Output Unit Configuration ............................................................................................ 395
15.2 PWM Output Unit Control Registers ..................................................................................... 397
15.2.1 PWM control register (PWMC) .................................................................................................... 397
15.2.2 PWM prescaler register (PWPR) ................................................................................................ 398
15.2.3 PWM modulo registers (PWM0, PWM1) ..................................................................................... 398
15.3 PWM Output Unit Operation ................................................................................................... 399
15.3.1 Basic PWM output operation ....................................................................................................... 399
15.3.2 PWM pulse output enabling/disabling ......................................................................................... 400
15.3.3 PWM pulse active level specification .......................................................................................... 400
15.3.4 PWM pulse width rewrite cycle specification .............................................................................. 401
15.4 Caution ...................................................................................................................................... 402
CHAPTER 16 A/D CONVERTER ........................................................................................................... 403
16.1 Configuration ............................................................................................................................ 403
16.2 A/D Converter Mode Register (ADM) .................................................................................... 407
Preliminary User’s Manual U13987EJ1V0UM00
17