NEC PD703114 User Manual page 379

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

Advertisement

(5) Timer 3 output control register (TO3C)
TO3C is a register that controls output of the TO3 pin.
This register can be read/written in 8-bit or 1-bit units.
Caution The TO3 output stop status can be canceled by writing 0 to the TO3SP bit of this register.
7
6
TO3C
0
0
Bit position
Bit name
0
TO3SP
The following table indicates the relationship between the setting of each register and the status of the TO3,
P27, and INTP31 pins.
Table 9-14. Relationship Between Setting of Each Register and Status of TO3, P27, and INTP31 Pins
PMC27
PFC27
PM27
Bit
Bit
Bit
×
0
0
×
0
1
×
1
0
×
1
1
×
1
1
Note If the TO3SP bit is set to 1 in TO3 output mode (PMC27 bit = 1 and PFC27 bit = 1), the output buffer of the
TO3 pin is turned off and the TO3 pin goes into a high-impedance state if the specified valid interrupt edge
is generated on the INTP4 pin.
To avoid turning off the output drive by valid edge input to the INTP4 pin, be sure to clear the TO3SP bit to
0.
The valid edge of the INTP4 pin is specified by bit 0 (ES40) and bit 1 (ES41) of the INTM2 register.
Specifying the valid edge of the INTP4 pin (changing the ES40 and ES41 bits) is prohibited while timer 3 is
operating.
×: Don't care (does not have to be set)
Remark
CHAPTER 9 TIMER/COUNTER FUNCTION
5
4
3
0
0
0
Validates or invalidates output stop control of the TO3 pin by INTP4 pin input.
0: Invalidates INTP4 pin input
(TO3 output (the output buffer of the TO3 pin is on)).
1: Validates INTP4 pin input
(TO3 output is stopped by the valid edge of the INTP4 pin (the output buffer of
the TO3 pin is off and the TO3 pin goes into a high-impedance state)).
TO3SP
Bit
Operation Mode of Pin
×
Output port mode
×
Input port mode
×
INTP31 input mode
0
TO3 output mode
1
User's Manual U15195EJ5V0UD
2
1
<0>
0
0
TO3SP
FFFFF6A0H
Function
TO3/P27/INTP31
Output Buffer Status
On
Off
Off
On
Note
On/off
Address
After reset
00H
Pin Function
Output port
Input port
INTP31
TO3
Note
TO3/Hi-Z
379

Advertisement

Table of Contents
loading

Table of Contents