
Preliminary User’s Manual U19291EJ1V0UD
11
6.1.3 LIN-bus supporting function (channel 7 only)..................................................................................218
6.2 Configuration of Timer Array Unit TAUS ................................................................................. 219
6.3 Registers Controlling Timer Array Unit ................................................................................... 225
6.4 Channel Output (TO0n pin) Control ......................................................................................... 247
6.4.1 TO0n pin output circuit configuration ..............................................................................................247
6.4.2 TO0n Pin Output Setting .................................................................................................................248
6.4.3 Cautions on Channel Output Operation ..........................................................................................248
6.4.4 Collective manipulation of TO0n bit ................................................................................................252
6.4.5 Timer Interrupt and TO0n Pin Output at Operation Start ................................................................253
6.5 Channel Input (TI0n Pin) Control .............................................................................................. 254
6.5.1 TI0n edge detection circuit ..............................................................................................................254
6.6 Basic Function of Timer Array Unit TAUS............................................................................... 255
6.6.1 Overview of single-operation function and combination-operation function ....................................255
6.6.2 Basic rules of combination-operation function.................................................................................255
6.6.3 Applicable range of basic rules of combination-operation function .................................................256
6.7 Operation of Timer Array Unit TAUS as Independent Channel............................................. 257
6.7.1 Operation as interval timer/square wave output..............................................................................257
6.7.2 Operation as external event counter ...............................................................................................261
6.7.3 Operation as frequency divider (channel 0 of 78K0R/KD3-L and 78K0R/KE3-L only) ....................264
6.7.4 Operation as input pulse interval measurement..............................................................................268
6.7.5 Operation as input signal high-/low-level width measurement ........................................................272
6.8 Operation of Plural Channels of Timer Array Unit TAUS....................................................... 276
6.8.1 Operation as PWM function ............................................................................................................276
6.8.2 Operation as one-shot pulse output function...................................................................................283
6.8.3 Operation as multiple PWM output function ....................................................................................290
CHAPTER 7 REAL-TIME COUNTER .................................................................................................. 297
7.1 Functions of Real-Time Counter............................................................................................... 297
7.2 Configuration of Real-Time Counter ........................................................................................ 297
7.3 Registers Controlling Real-Time Counter ............................................................................... 299
7.4 Real-Time Counter Operation ................................................................................................... 314
7.4.1 Starting operation of real-time counter ............................................................................................314
7.4.2 Shifting to STOP mode after starting operation...............................................................................315
7.4.3 Reading/writing real-time counter ...................................................................................................316
7.4.4 Setting alarm of real-time counter ...................................................................................................318
7.4.5 1 Hz output of real-time counter......................................................................................................319
7.4.6 32.768 kHz output of real-time counter ...........................................................................................319
7.4.7 512 Hz, 16.384 kHz output of real-time counter..............................................................................319
7.4.8 Example of watch error correction of real-time counter...................................................................320