CHAPTER 9 TIMER/COUNTER FUNCTION
387
User’s Manual U15195EJ5V0UD
(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
register
INTP4
Edge detection
TO3 pin
Output buffer = on (output data)
Output buffer = off
(high impedance)
Output buffer = on (output data)
(When rising edge is specified)
0000H
0001H
0000H
Note
Note
Note
Analog
delay
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...