NEC PD78058FY(A) User Manual

Page 18

Advertising
background image

18

7.4.2

Subsystem clock oscillator ........................................................................................................... 162

7.4.3

Scaler ........................................................................................................................................... 164

7.4.4

When no subsystem clocks are used ........................................................................................... 164

7.5

Clock Generator Operations ................................................................................................. 165

7.5.1

Main system clock operations ...................................................................................................... 166

7.5.2

Subsystem clock operations ........................................................................................................ 167

7.6

Changing System Clock and CPU Clock Settings .............................................................. 167

7.6.1

Time required for switchover between system clock and CPU clock ........................................... 167

7.6.2

System clock and CPU clock switching procedure ...................................................................... 169

CHAPTER 8 16-BIT TIMER/EVENT COUNTER ................................................................................... 171

8.1

Overview of the

µ

PD78058F and 78058FY Subseries On-Chip Timers ............................. 171

8.2

16-Bit Timer/Event Counter Functions ................................................................................ 173

8.3

16-Bit Timer/Event Counter Configuration .......................................................................... 174

8.4

16-Bit Timer/Event Counter Control Registers ................................................................... 178

8.5

16-Bit Timer/Event Counter Operations ............................................................................... 187

8.5.1

Interval timer operations ............................................................................................................... 187

8.5.2

PWM output operations ................................................................................................................ 189

8.5.3

PPG output operation ................................................................................................................... 192

8.5.4

Pulse width measurement operations .......................................................................................... 193

8.5.5

External event counter operation ................................................................................................. 200

8.5.6

Square-wave output operation ..................................................................................................... 202

8.5.7

One-shot pulse output operation .................................................................................................. 204

8.6

16-Bit Timer/Event Counter Operating Precautions ........................................................... 208

CHAPTER 9 8-BIT TIMER/EVENT COUNTERS .................................................................................. 211

9.1

8-Bit Timer/Event Counter Function .................................................................................... 211

9.1.1

8-bit timer/event counter mode .................................................................................................... 211

9.1.2

16-bit timer/event counter mode .................................................................................................. 214

9.2

8-Bit Timer/Event Counter Configuration ............................................................................ 216

9.3

8-Bit Timer/Event Counter Control Registers ..................................................................... 220

9.4

8-Bit Timer/Event Counter Operation ................................................................................... 225

9.4.1

8-bit timer/event counter mode .................................................................................................... 225

9.4.2

16-bit timer/event counter mode .................................................................................................. 230

9.5

Cautions on 8-Bit Timer/Event Counters ............................................................................. 236

CHAPTER 10 WATCH TIMER .............................................................................................................. 239

10.1

Watch Timer Functions ....................................................................................................... 239

10.2

Watch Timer Configuration ................................................................................................. 240

10.3

Watch Timer Control Registers .......................................................................................... 240

10.4

Watch Timer Operations ..................................................................................................... 244

10.4.1

Watch timer operation ............................................................................................................. 244

10.4.2

Interval timer operation ............................................................................................................ 244

Advertising
This manual is related to the following products: