Renesas g1a Answering Machine User Manual


  Open as PDF
of 1004
 
6.2.1 Timer count register mn (TCRmn) .............................................................................................. 193
6.2.2 Timer data register mn (TDRmn)................................................................................................ 195
6.3 Registers Controlling Timer Array Unit ................................................................................ 196
6.3.1 Peripheral enable register 0 (PER0)........................................................................................... 197
6.3.2 Timer clock select register m (TPSm)......................................................................................... 198
6.3.3 Timer mode register mn (TMRmn).............................................................................................. 201
6.3.4 Timer status register mn (TSRmn).............................................................................................. 206
6.3.5 Timer channel enable status register m (TEm)........................................................................... 207
6.3.6 Timer channel start register m (TSm) ......................................................................................... 208
6.3.7 Timer channel stop register m (TTm).......................................................................................... 209
6.3.8 Timer input select register 0 (TIS0)............................................................................................. 210
6.3.9 Timer output enable register m (TOEm) ..................................................................................... 211
6.3.10 Timer output register m (TOm) ................................................................................................... 212
6.3.11 Timer output level register m (TOLm) ......................................................................................... 213
6.3.12 Timer output mode register m (TOMm)....................................................................................... 214
6.3.13 Input switch control register (ISC)............................................................................................... 215
6.3.14 Noise filter enable register 1 (NFEN1)........................................................................................ 216
6.3.15 Registers controlling port functions of pins to be used for timer I/O............................................ 218
6.4 Basic Rules of Timer Array Unit ............................................................................................ 219
6.4.1 Basic rules of simultaneous channel operation function ............................................................. 219
6.4.2 Basic rules of 8-bit timer operation function (channels 1 and 3 only).......................................... 221
6.5 Operation of Counter .............................................................................................................. 222
6.5.1 Count clock (fTCLK)....................................................................................................................... 222
6.5.2 Start timing of counter................................................................................................................. 224
6.5.3 Operation of counter ................................................................................................................... 225
6.6 Channel Output (TOmn Pin) Control..................................................................................... 230
6.6.1 TOmn pin output circuit configuration ......................................................................................... 230
6.6.2 TOmn pin output setting.............................................................................................................. 231
6.6.3 Cautions on channel output operation ........................................................................................ 232
6.6.4 Collective manipulation of TOmn bit ........................................................................................... 237
6.6.5 Timer Interrupt and TOmn pin output at operation start.............................................................. 238
6.7 Timer Input (TImn) Control..................................................................................................... 239
6.7.1 TImn pin input circuit configuration ............................................................................................. 239
6.7.2 Noise filter................................................................................................................................... 239
6.7.3 Cautions on channel input .......................................................................................................... 240
6.8 Independent Channel Operation Function of Timer Array Unit ......................................... 241
6.8.1 Operation as interval timer/square wave output.......................................................................... 241
6.8.2 Operation as external event counter........................................................................................... 247
6.8.3 Operation as frequency divider (channel 0 of unit 0 only)........................................................... 252
6.8.4 Operation as input pulse interval measurement.......................................................................... 256
6.8.5 Operation as input signal high-/low-level width measurement .................................................... 260
6.8.6 Operation as delay counter......................................................................................................... 264
6.9 Simultaneous Channel Operation Function of Timer Array Unit ....................................... 269
6.9.1 Operation as one-shot pulse output function .............................................................................. 269
6.9.2 Operation as PWM function........................................................................................................ 276
6.9.3 Operation as multiple PWM output function................................................................................ 283
6.10 Cautions When Using Timer Array Unit................................................................................ 291
Index-4