EasyManua.ls Logo

Renesas RL78/G15

Renesas RL78/G15
765 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6.3.1 Peripheral enable register 0 (PER0) .................................................................................. 178
6.3.2 Timer clock select register m (TPSm) ................................................................................ 179
6.3.3 Timer mode register mn (TMRmn) ..................................................................................... 183
6.3.4 Timer status register mn (TSRmn) ..................................................................................... 189
6.3.5 Timer channel enable status register m (TEm) .................................................................. 190
6.3.6 Timer channel start register m (TSm) ................................................................................ 191
6.3.7 Timer channel stop register m (TTm) ................................................................................. 193
6.3.8 Timer output enable register m (TOEm) ............................................................................ 194
6.3.9 Timer output register m (TOm) .......................................................................................... 195
6.3.10 Timer output level register m (TOLm) ................................................................................ 196
6.3.11 Timer output mode register m (TOMm) ............................................................................. 197
6.3.12 Input switch control register (ISC) ...................................................................................... 198
6.3.13 Noise filter enable registers 1 (NFEN1) ............................................................................. 199
6.3.14 Registers controlling port functions of pins to be used for timer I/O .................................. 201
6.4 Basic Rules of Timer Array Unit ................................................................................................... 202
6.4.1 Basic rules of simultaneous channel operation function .................................................... 202
6.4.2 Basic rules of 8-bit timer operation function (channels 1 and 3 only) ................................ 204
6.5 Operation of Counter .................................................................................................................... 205
6.5.1 Count clock (f
TCLK
) .............................................................................................................. 205
6.5.2 Start timing of counter ........................................................................................................ 207
6.5.3 Operation of counter .......................................................................................................... 208
6.6 Channel Output (TOmn pin) Control ............................................................................................. 213
6.6.1 TOmn pin output circuit configuration ................................................................................ 213
6.6.2 TOmn pin output setting ..................................................................................................... 215
6.6.3 Cautions on channel output operation ............................................................................... 216
6.6.4 Collective manipulation of TOmn bit .................................................................................. 222
6.6.5 Timer interrupt and TOmn pin output at count operation start ........................................... 224
6.7 Timer Input (TImn) Control ........................................................................................................... 225
6.7.1 TImn input circuit configuration .......................................................................................... 225
6.7.2 Noise filter .......................................................................................................................... 225
6.7.3 Cautions on channel input operation ................................................................................. 226
6.8 Independent Channel Operation Function of Timer Array Unit .................................................... 227
6.8.1 Operation as interval timer/square wave output ................................................................ 227
6.8.2 Operation as external event counter .................................................................................. 233
6.8.3 Operation as frequency divider (channels 0 and 3 only) ................................................... 238
6.8.4 Operation as input pulse interval measurement ................................................................ 245
6.8.5 Operation as input signal high-/low-level width measurement .......................................... 250
6.8.6 Operation as delay counter ................................................................................................ 255
6.9 Simultaneous Channel Operation Function of Timer Array Unit .................................................. 260
6.9.1 Operation as one-shot pulse output function ..................................................................... 260
6.9.2 Operation as PWM function ............................................................................................... 270
6.9.3 Operation as multiple PWM output function ...................................................................... 279

Table of Contents

Related product manuals