NEC PD703114 User Manual page 387

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 9 TIMER/COUNTER FUNCTION
(6) TO3 output control function by INTP4 pin
Output of the TO3 pin can be forcibly stopped by inputting a signal to the INTP4 pin if an abnormality is
detected in the power system of a motor.
If the TO3 output mode is set (PMC27 = 1 and PFC27 = 1) and if the specified valid edge is generated on the
INTP4 pin after the TO3SP bit of the timer 3 output control register (TO3C) has been set to 1, the output
buffer of the TO3 pin can be turned off (the TO3 pin goes into a high-impedance state).
To resume output of the TO3 pin (output buffer = on) after output of the TO3 pin has been stopped (output
buffer = off) by the valid edge of the INTP4 pin, rewrite the TO3SP bit from "1" to "0".
The valid edge of the INTP4 pin can be specified by the ES40 and ES41 bits of the external interrupt mode
register 2 (INTM2).
Figure 9-95. Example of Operation of TO3 Output Control Function by INTP4 Pin
(in TO3 Output Mode (PMC27 Bit = 1 and PFC27 Bit = 1))
TO3C
0000H
0001H
0000H
register
INTP4
Note
Note
(When rising edge is specified)
Edge detection
TO3 pin
Output buffer = on (output data)
Output buffer = on (output data)
Output buffer = off
(high impedance)
Note Analog delay
387
User's Manual U15195EJ5V0UD

Advertisement

Table of Contents
loading

Table of Contents