NEC 78K0 User Manual page 12

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

5.8.4
Switching from subsystem clock to X1 input clock........................................................................122
5.8.5
Register settings ...........................................................................................................................123
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00 ........................................................................... 124
6.1
Functions of 16-Bit Timer/Event Counter 00 ......................................................................... 124
6.2
Configuration of 16-Bit Timer/Event Counter 00................................................................... 125
6.3
Registers Controlling 16-Bit Timer/Event Counter 00 .......................................................... 129
6.4
Operation of 16-Bit Timer/Event Counter 00 ......................................................................... 135
6.4.1
Interval timer operation .................................................................................................................135
6.4.2
PPG output operations .................................................................................................................137
6.4.3
Pulse width measurement operations ...........................................................................................140
6.4.4
External event counter operation ..................................................................................................148
6.4.5
Square-wave output operation......................................................................................................150
6.4.6
One-shot pulse output operation...................................................................................................152
6.5
Cautions for 16-Bit Timer/Event Counter 00 ......................................................................... 157
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51........................................................... 160
7.1
Functions of 8-Bit Timer/Event Counters 50 and 51............................................................. 160
7.2
Configuration of 8-Bit Timer/Event Counters 50 and 51 ...................................................... 162
7.3
Registers Controlling 8-Bit Timer/Event Counters 50 and 51 ............................................. 164
7.4
Operations of 8-Bit Timer/Event Counters 50 and 51........................................................... 169
7.4.1
Operation as interval timer............................................................................................................169
7.4.2
Operation as external event counter .............................................................................................171
7.4.3
Square-wave output operation......................................................................................................172
7.4.4
PWM output operation ..................................................................................................................173
7.5
Cautions for 8-Bit Timer/Event Counters 50 and 51 ............................................................. 177
CHAPTER 8 8-BIT TIMERS H0 AND H1 .......................................................................................... 178
8.1
Functions of 8-Bit Timers H0 and H1 ..................................................................................... 178
8.2
Configuration of 8-Bit Timers H0 and H1............................................................................... 178
8.3
Registers Controlling 8-Bit Timers H0 and H1 ...................................................................... 182
8.4
Operation of 8-Bit Timers H0 and H1 ..................................................................................... 186
8.4.1
Operation as interval timer/square-wave output ...........................................................................186
8.4.2
Operation as PWM output mode...................................................................................................189
8.4.3
Carrier generator mode operation (8-bit timer H1 only) ................................................................195
CHAPTER 9 WATCH TIMER................................................................................................................ 202
9.1
Functions of Watch Timer ....................................................................................................... 202
9.2
Configuration of Watch Timer................................................................................................. 204
9.3
Register Controlling Watch Timer .......................................................................................... 204
9.4
Watch Timer Operations.......................................................................................................... 206
9.4.1
Watch timer operation...................................................................................................................206
9.4.2
Interval timer operation .................................................................................................................207
9.5
Cautions for Watch Timer ....................................................................................................... 208
CHAPTER 10 WATCHDOG TIMER ..................................................................................................... 209
10.1 Functions of Watchdog Timer ................................................................................................ 209
12
User's Manual U16227EJ2V0UD

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents