beautypg.com

Renesas H8S/2111B User Manual

Page 14

background image

Rev. 1.00, 05/04, page xiv of xxxiv

9.3.7

Timer Control/Status Register (TCSR)................................................................ 163

9.3.8

Timer Control Register (TCR)............................................................................. 166

9.3.9

Timer Output Compare Control Register (TOCR) .............................................. 167

9.4

Operation .......................................................................................................................... 169

9.4.1

Pulse Output ........................................................................................................ 169

9.5

Operation Timing.............................................................................................................. 170

9.5.1

FRC Increment Timing........................................................................................ 170

9.5.2

Output Compare Output Timing.......................................................................... 171

9.5.3

FRC Clear Timing ............................................................................................... 171

9.5.4

Input Capture Input Timing ................................................................................. 172

9.5.5

Buffered Input Capture Input Timing .................................................................. 173

9.5.6

Timing of Input Capture Flag (ICF) Setting ........................................................ 174

9.5.7

Timing of Output Compare Flag (OCF) setting................................................... 174

9.5.8

Timing of FRC Overflow Flag Setting ................................................................ 175

9.5.9

Automatic Addition Timing................................................................................. 175

9.5.10

Mask Signal Generation Timing.......................................................................... 176

9.6

Interrupt Sources............................................................................................................... 177

9.7

Usage Notes ...................................................................................................................... 177

9.7.1

Conflict between FRC Write and Clear ............................................................... 177

9.7.2

Conflict between FRC Write and Increment........................................................ 178

9.7.3

Conflict between OCR Write and Compare-Match ............................................. 178

9.7.4

Switching of Internal Clock and FRC Operation................................................. 180

9.7.5

Module Stop Mode Setting .................................................................................. 181

Section 10 8-Bit Timer (TMR).......................................................................... 183

10.1

Features............................................................................................................................. 183

10.2

Input/Output Pins.............................................................................................................. 188

10.3

Register Descriptions ........................................................................................................ 189

10.3.1

Timer Counter (TCNT)........................................................................................ 191

10.3.2

Time Constant Register A (TCORA) .................................................................. 191

10.3.3

Time Constant Register B (TCORB) ................................................................... 191

10.3.4

Timer Control Register (TCR)............................................................................. 192

10.3.5

Timer Control/Status Register (TCSR)................................................................ 196

10.3.6

Time Constant Register (TCORC)....................................................................... 202

10.3.7

Input Capture Registers R and F (TICRR, TICRF, TICRR_A and TICRF_A) ... 202

10.3.8

Timer Input Select Register (TISR and TISR_B) ................................................ 202

10.3.9

Timer Connection Register I (TCONRI) ............................................................. 203

10.3.10

Timer Connection Register S (TCONRS) ........................................................... 203

10.3.11

Timer XY Control Register (TCRXY) ................................................................ 204

10.3.12

Timer AB Control Register (TCRAB)................................................................. 205

10.4

Operation .......................................................................................................................... 206

10.4.1

Pulse Output ........................................................................................................ 206

10.5

Operation Timing.............................................................................................................. 207

This manual is related to the following products: