NEC V850ES/KE1+ User Manual page 288

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Setting the LVS01 and LVR01 bits
Set the LVS01 and LVR01 bits using the following procedure.
Figure 7-44. Example of Flow for Setting LVS01 and LVR01 Bits
Setting
TOC01.OSPE01, TOC014, TOC011
Setting
Setting
Caution Be sure to set the LVS01 and LVR01 bits following steps <1>, <2>, and <3> above.
Step <2> can be performed after <1> and before <3>.
<1> The TO01 pin output goes high when the LVS01 and LVR01 bits = 10.
<2> The TO01 pin output goes low when the LVS01 and LVR01 bits = 01 (the pin output remains unchanged
from the high level even if the LVS01 and LVR01 bits are cleared to 00).
<3> The timer starts operating when the TMC013 and TMC012 bits are set to 01, 10, or 11. Because the
LVS01 and LVR01 bits were set to 10 before the operation was started, the TO01 pin output starts from
the high level. After the timer starts operating, setting the LVS01 and LVR01 bits is prohibited until the
TMC013 and TMC012 bits = 00 (disabling the timer operation).
<4> The output level of the TO01 pin is inverted each time an interrupt signal (INTTM010) is generated.
288
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
Setting
TOC01.TOE01
bit
TOC01.LVS01, LVR01
bits
TMC01.TMC013, TMC012
bits
Figure 7-45. Timing Example of LVR01 and LVS01 Bits
TOC01.LVS01 bit
TOC01.LVR01 bit
Operable bits
00
(TMC013, TMC012)
TO01 pin output
INTTM010 signal
User's Manual U16896EJ2V0UD
bits
<1> Setting of timer output operation
<2> Setting of timer output F/F
<3> Enabling timer operation
01, 10, or 11
<1>
<2> <1> <3> <4>
<4>
<4>

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents