m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 80

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
Fig. 5.2.6 Port peripheral circuits (3)
5.2.3 Pin P4OUT
Any of bits 0 through 7 of the port P4 direction register (address C
of a falling edge to pin P4OUT
pins P4
through P4
When input level at pin P4OUT
When using port pins P4
Vcc via a resistor. Pin P4OUT
Also, when using pin P4OUT
through P4
5.2.4 Pin P6OUT
Any of bits 0 through 7 of the port P6 direction register (address 10
of a falling edge to pin P6OUT
pins P6
through P6
When input level at pin P6OUT
When using port pins P6
Vcc via a resistor. Pin P6OUT
Also, when using pin P6OUT
through P6
data.
these port pins to the output mode.
data.
these port pins to the output mode.
Write data to the port P4 register (address A
Write data to the port P6 register (address E
Return the input level at pin P4OUT
Set the port P4 direction register’s bits, corresponding to the port P4 pins in
Return the input level at pin P6OUT
Set the port P6 direction register’s bits, corresponding to the port P6 pins in
0
0
through P4
through P6
7
7
7
7
, be sure to do as follows:
, be sure to do as follows:
in the input mode.
in the input mode.
P8
P8
P4OUT
2
3
/AN
/AN
CUT
CUT
10
11
CUT
/R
/T
/INT
/INT
7
7
X
X
/INT
D
D
enter the input mode. After that, if it is necessary to output data from port pins P4
enter the input mode. After that, if it is necessary to output data from port pins P6
2
0
0
, P6OUT
0
4
0
0
(Port-P4-output-cutoff signal input pin)
(Port-P6-output-cutoff signal input pin)
through P4
through P6
CUT
CUT
CUT
CUT
CUT
CUT
CUT
/INT
/INT
CUT
CUT
/INT
/INT
/INT
/INT
/INT
/INT
/INT
4
0
4
0
4
as an input pin of an external interrupt (pin INT
as an input pin of an external interrupt (pin INT
, regardless of the mode of port pins P4
, regardless of the mode of port pins P6
7905 Group User’s Manual Rev.1.0
0
4
7
7
Data bus
Data bus
0
4
cannot serve as pin INT
cannot serve as pin INT
as output port pins at all the time, connect pin P4OUT
as output port pins at all the time, connect pin P6OUT
CUT
CUT
is “L”, no bit of the port P4 direction register can be set to “1.”
is “L”, no bit of the port P6 direction register can be set to “1.”
/INT
/INT
16
16
0
4
)’s bits, corresponding to the port P4 pins which will output
)’s bits, corresponding to the port P6 pins which will output
to “H” level.
to “H” level.
Direction register
Direction register
Port latch
Port latch
Output (internal peripheral device)
Analog input
0
4
.
.
1
INPUT/OUTPUT PINS
16
16
Analog input
) are forcibly cleared to “0” by input
) are forcibly cleared to “0” by input
5.2 Programmable I/O ports
0
0
through P4
through P6
, to “1” in order to set
, to “1” in order to set
0
4
), use port pins P4
), use port pins P6
7
7
; therefore, port
; therefore, port
CUT
CUT
/INT
/INT
0
4
5-7
to
to
0
0
0
0

Related parts for m37905