CHAPTER 7 8-BIT TIMER/EVENT COUNTER
156
User’s Manual U11302EJ4V0UM
(3) 8-bit timer output control register (TOC1)
This register controls operation of 8-bit timer/event counter output controllers 1 and 2.
It sets/resets the R-S flip-flops (LV1 and LV2) and enables/disables inversion and 8-bit timer output of 8-
bit timer registers 1 and 2.
TOC1 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC1 to 00H.
Figure 7-6. Format of 8-Bit Timer Output Control Register
Cautions 1. Be sure to set TOC1 after stopping timer operation.
2. After data setting, 0 is read from LVS1, LVS2, LVR1, and LVR2.
<7>
<6>
5
<4>
<3>
<2>
1
<0>
LVS2 LVR2 TOC15 TOE2 LVS1
LVR1 TOC11 TOE1
Symbol
TOC1
Address
FF4FH
After reset
00H
R/W
R/W
TOE1
0
1
8-bit timer/event counter 1 output control
Output disabled (port mode)
Output enabled
TOC11
0
1
8-bit timer/event counter 1 timer output F/F control
Inverted operation disabled
Inverted operation enabled
LVS1
0
0
1
1
Unchanged
Timer output F/F reset (0)
Timer output F/F set (1)
Setting prohibited
TOE2
0
1
8-bit timer/event counter 2 output control
Output disabled (port mode)
Output enabled
TOC15
0
1
8-bit timer/event counter 2 timer output F/F control
Inverted operation disabled
Inverted operation enabled
LVR1
0
1
0
1
8-bit timer/event counter 1 timer output F/F
status setting
LVS2
0
0
1
1
Unchanged
Timer output F/F reset (0)
Timer output F/F set (1)
Setting prohibited
LVR2
0
1
0
1
8-bit timer/event counter 2 timer output F/F
status setting
Содержание mPD780204
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO ...