m37516e6hp Renesas Electronics Corporation., m37516e6hp Datasheet - Page 15

no-image

m37516e6hp

Manufacturer Part Number
m37516e6hp
Description
Single-chip 8-bit Cmos Microcomputer
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37516E6HP
Manufacturer:
MITSUBIS
Quantity:
720
Part Number:
M37516E6HP
Manufacturer:
MITSUBISHI
Quantity:
323
Part Number:
M37516E6HP
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
7516 Group
I/O PORTS
The I/O ports have direction registers which determine the input/
output direction of each individual pin. Each bit in a direction reg-
ister corresponds to one pin, and each pin can be set to be input
port or output port.
When “0” is written to the bit corresponding to a pin, that pin be-
comes an input pin. When “1” is written to that bit, that pin
becomes an output pin.
If data is read from a pin which is set to output, the value of the
port output latch is read, not the value of the pin itself. Pins set to
input are floating. If a pin set to input is written to, only the port
output latch is written to and the pin remains floating.
Table 5 I/O port function
Rev.1.01
P0
P0
P0
P0
P0
P1
P2
P2
P2
P2
P2
P2
P2
P2
S
P3
P3
P4
P4
P4
P4
P4
P4
RDY1
0
1
2
3
4
0
0
1
2
3
4
5
6
7
0
7
0
1
2
3
4
5
/S
/S
/S
/S
–P0
–P1
/X
/X
/S
/INT
/INT
/INT
/INT
–P4
/SDA
/SCL
/SDA
/SCL
/CNTR
/AN
/AN
/CNTR
IN2
OUT2
CLK2
RDY2
COUT
CIN
CLK
Pin
0
7
7
7
7
0
1
2
3
1
2
1
2
/S
/PWM
/TxD
/RxD
0
1
CMP2
Jul 01, 2003
/
Port P1
Port P2
Port P0
Port P3
Port P4
Name
page 13 of 89
Input/output,
individual
bits
Input/Output
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level
CMOS/SMBUS input
level (when selecting
I
function)
N-channel open-drain
output
CMOS compatible
input level
CMOS/SMBUS input
level (when selecting
I
function)
CMOS 3-state output
N-channel open-drain
output (when
selecting I
interface function)
CMOS compatible
input level
CMOS 3-state output
2
2
C-BUS interface
C-BUS interface
I/O Structure
2
C-BUS
Serial I/O2 function I/O
Sub-clock generating
circuit
I
tion I/O
I
tion I/O
Serial I/O1 function I/O
Serial I/O1 function I/O
Serial I/O1 function I/O
Timer X function I/O
A-D conversion input
Timer Y function I/O
External interrupt input
External interrupt input
S
External interrupt input
PWM output
2
2
CMP2
C-BUS interface func-
C-BUS interface func-
Non-Port Function
output
Serial I/O2 control
register
CPU mode register
I
I
Serial I/O1 control
register
Serial I/O1 control
register
Serial I/O1 control
register
Timer XY mode register
A-D control register
Timer XY mode register
Interrupt edge selection
register
Interrupt edge selection
register
Serial I/O2 control
register
Interrupt edge selection
register
PWM control register
2
2
C control register
C control register
Related SFRs
Ref.No.
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(6)
(7)
(8)
(9)
(5)
(1)
(2)
(3)
(4)
(5)

Related parts for m37516e6hp