English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (215/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00
(2) Setting LVS00 and LVR00
Set LVS00 and LVR00 using the following procedure.
Figure 6-57. Example of Flow for Setting LVS00 and LVR00 Bits
Setting TOC00.OSPE00, TOC004, TOC001 bits
Setting TOC00.TOE00 bit
Setting TOC00.LVS00, LVR00 bits
Setting TMC00.TMC003, TMC002 bits
<1> Setting of timer output operation
<2> Setting of timer output F/F
<3> Enabling timer operation
Caution Be sure to set LVS00 and LVR00 following steps <1>, <2>, and <3> above.
Step <2> can be performed after <1> and before <3>.
Figure 6-58. Timing Example of LVR00 and LVS00
TOC00.LVS00 bit
TOC00.LVR00 bit
Operable bits
(TMC003, TMC002)
TO00 output
INTTM000 signal
00
01, 10, or 11
<1> <2> <1> <3> <4> <4> <4>
<1> The TO00 output goes high when LVS00 and LVR00 = 10.
<2> The TO00 output goes low when LVS00 and LVR00 = 01 (the pin output remains unchanged from the high
level even if LVS00 and LVR00 are cleared to 00).
<3> The timer starts operating when TMC003 and TMC002 are set to 01, 10, or 11. Because LVS00 and
LVR00 were set to 10 before the operation was started, the TO00 output starts from the high level. After
the timer starts operating, setting LVS00 and LVR00 is prohibited until TMC003 and TMC002 = 00
(disabling the timer operation).
<4> The TO00 output level is inverted each time an interrupt signal (INTTM000) is generated.
User’s Manual U18698EJ1V0UD
213