Renesas RL78 Series User Manual page 10

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

CHAPTER 7 TIMER ARRAY UNIT ...................................................................................................... 156
7.1 Functions of Timer Array Unit ................................................................................................... 157
7.1.1 Independent channel operation function ........................................................................................ 157
7.1.2 Simultaneous channel operation function ....................................................................................... 158
7.1.3 8-bit timer operation function (channel 1 and 3 only) ...................................................................... 159
7.2 Configuration of Timer Array Unit ............................................................................................ 160
7.2.1 Timer count register mn (TCRmn) .................................................................................................. 165
7.2.2 Timer data register mn (TDRmn) .................................................................................................... 167
7.3 Registers Controlling Timer Array Unit .................................................................................... 168
7.3.1 Peripheral enable register 0 (PER0) ............................................................................................... 169
7.3.2 Timer clock select register m (TPSm) ............................................................................................ 170
7.3.3 Timer mode register mn (TMRmn) ................................................................................................. 173
7.3.4 Timer status register mn (TSRmn) ................................................................................................. 179
7.3.5 Timer channel enable status register m (TEm) ............................................................................... 180
7.3.6 Timer channel start register m (TSm) ............................................................................................. 181
7.3.7 Timer channel stop register m (TTm) ............................................................................................. 182
7.3.8 Timer input select register 0 (TIS0) ................................................................................................ 183
7.3.9 Timer output enable register 0 (TOE0) ........................................................................................... 184
7.3.10 Timer output register 0 (TO0) ....................................................................................................... 185
7.3.11 Timer output level register 0 (TOL0) ............................................................................................. 186
7.3.12 Timer output mode register 0 (TOM0) .......................................................................................... 187
7.3.13 Noise filter enable register 1 (NFEN1) .......................................................................................... 188
7.4 Basic Rules of Timer Array Unit ............................................................................................... 190
7.4.1 Basic rules of simultaneous channel operation function ................................................................. 190
7.4.2 Basic rules of 8-bit timer operation function (channels 1 and 3 only) ............................................. 192
7.5 Operation of Counter ................................................................................................................. 193
7.5.1 Count clock (fTCLK) ....................................................................................................................... 193
7.5.2 Start timing of counter .................................................................................................................... 195
7.5.3 Operation of counter ....................................................................................................................... 196
7.6 Channel Output (TO0n pin) Control .......................................................................................... 201
7.6.1 TO0n pin output circuit configuration .............................................................................................. 201
7.6.2 TO0n pin output setting .................................................................................................................. 202
7.6.3 Cautions on channel output operation ............................................................................................ 203
7.6.4 Collective manipulation of TO0n bit ................................................................................................ 208
7.6.5 Timer interrupt and TO0n pin output at operation start ................................................................... 209
7.7 Timer Input (TI0n) Control ......................................................................................................... 210
7.7.1 TI0n input circuit configuration ........................................................................................................ 210
7.7.2 Noise filter ...................................................................................................................................... 210
7.7.3 Cautions on channel input operation .............................................................................................. 211
7.8 Independent Channel Operation Function of Timer Array Unit ............................................. 212
4
Index-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents