Format Of 8-Bit Timer Mode Control Register 01 - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

(2) 8-bit timer mode control register 01 (TMC01)
TMC01 determines whether to enable or disable 8-bit timer counter 01 (TM01), specifies the count clock for the
8-bit timer/event counter, and controls the operation of the output controller.
TMC01 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TMC01 to 00H.
Figure 6-4. Format of 8-Bit Timer Mode Control Register 01
Symbol
<7>
6
5
TMC01
TCE01
0
0
TCE01
0
Operation disabled (TM01 is cleared to 0.)
1
Operation enabled
TCL011
TCL010
0
0
f
/2
X
0
1
f
/2
X
1
0
Rising edge of TI01
1
1
Falling edge of TI01
TOE01
0
Output disabled (port mode)
1
Output enabled
Note When inputting a clock signal externally, timer output cannot be used.
Caution
Be sure to set the count clock after the timer operation is stopped (TCE01 = 0).
Refer to 6.4 Operation of 8-Bit Timer/Event Counters 00 and 01 for details.
Remarks 1. f
: System clock oscillation frequency
X
2. The parenthesized values apply to operation at f
CHAPTER 6
8-BIT TIMER/EVENT COUNTERS 00 AND 01
4
3
2
1
0
0
TCL011TCL010
8-bit timer counter 01 operation control
8-bit timer/event counter 01 count clock selection
4
(375 kHz)
8
(23.4 kHz)
Note
Note
8-bit timer/event counter 01 output control
User's Manual U12978EJ3V0UD
<0>
Address
After reset
TOE01
FF57H
00H
= 6.0 MHz.
X
R/W
R/W
83

Advertisement

Table of Contents
loading

Table of Contents