NEC V850ES/SA2 UPD703201 Manual page 10

32-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 6 CLOCK GENERATION FUNCTION................................................................................205
6.1
Overview ..................................................................................................................................205
6.2
Configuration ..........................................................................................................................206
6.3
Control Registers....................................................................................................................208
6.4
Operation .................................................................................................................................211
6.4.1
Operation of each clock ............................................................................................................211
6.4.2
Clock output function.................................................................................................................211
6.5
Prescaler 3...............................................................................................................................212
6.5.1
Control register..........................................................................................................................213
6.5.2
Generation of baud rate ............................................................................................................214
CHAPTER 7 TIMER/COUNTER FUNCTION.........................................................................................215
7.1
16-Bit Timer/Event Counters (TM0 and TM1) .......................................................................215
7.1.1
Features ....................................................................................................................................215
7.1.2
Function overview .....................................................................................................................215
7.1.3
Basic configuration of 16-bit timer/event counters (TM0 and TM1)...........................................216
7.1.4
Control registers ........................................................................................................................221
7.1.5
16-bit timer/event counter operation .........................................................................................226
7.1.6
Application examples (16-bit timer/event counter) ....................................................................233
7.1.7
Cautions (16-bit timer/event counter) ........................................................................................242
7.2
8-Bit Timer/Event Counters 2 to 5 (TM2 to TM5)..................................................................243
7.2.1
Function outline.........................................................................................................................243
7.2.2
Configuration of 8-bit timer/event counter n ..............................................................................244
7.2.3
Registers controlling 8-bit timer/event counters 2 to 5 ..............................................................246
7.3
Operation of 8-Bit Timer/Event Counters 2 to 5 ..................................................................250
7.3.1
Operation as interval timer (8 bits) ............................................................................................250
7.3.2
Operation as external event counter (8 bits) .............................................................................252
7.3.3
Square-wave output operation (8-bit resolution) .......................................................................253
7.3.4
8-bit PWM output operation.......................................................................................................255
7.3.5
Operation as interval timer (16 bits) ..........................................................................................258
7.3.6
Operation as external event counter (16 bits) ...........................................................................260
7.3.7
Square-wave output operation (16-bit resolution) .....................................................................261
7.3.8
Cautions ....................................................................................................................................262
CHAPTER 8 REAL-TIME COUNTER FUNCTION ...............................................................................263
8.1
Function...................................................................................................................................263
8.2
Real-Time Counter Control Registers...................................................................................264
8.3
Operation .................................................................................................................................270
8.3.1
Initializing counter and count-up ...............................................................................................270
8.3.2
Rewriting counter ......................................................................................................................270
8.3.3
Controlling interrupt request signal output ................................................................................271
8.3.4
Notes.........................................................................................................................................271
CHAPTER 9 WATCHDOG TIMER FUNCTIONS..................................................................................273
10
Preliminary User's Manual U15905EJ1V0UD

Advertisement

Table of Contents
loading

Table of Contents