DatasheetQ Logo
Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits

M38747MCT-XXXG View Datasheet(PDF) - MITSUBISHI ELECTRIC

Part Name
Description
Manufacturer
M38747MCT-XXXG Datasheet PDF : 92 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
MITSUBISHI MICROCOMPUTERS
3874 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
I/O PORTS
The I/O ports P0–P8 have direction registers which determine the
input/output direction of each individual pin. Each bit in a direction
register corresponds to one pin, and each pin can be set to be in-
put 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 (1)
Pin
Name
P00–P07
Port P0
Input/Output
Input/output,
individual bits
P10–P17
Por t P1
Input/output,
individual bits
P20–P27
Port P2
Input/output,
individual bits
P30–P37
Port P3
P40/XCOUT
P41/XCIN
P42/INT1,
P43/INT2
P44/RXD
P45/TXD
P46/SCLK1
P47/SRDY1
P50/TOUT
Port P4
Por t P5
P51/INT3,
P52/INT4,
P53/INT5
P54/CNTR0
P55/CNTR1
P56/RTP0
P57/RTP1
P60/AN0
P67/AN7
Port P6
Input/output,
individual bits
Input/output,
individual bits
Input/output,
individual bits
Input/output,
individual bits
I/O Structure
•CMOS compatible
input level
•CMOS 3-state output
Non-Port Function
Related SFRs
Ref.No.
(1)
•CMOS compatible
input level
•CMOS 3-state output
•CMOS compatible
• K ey i n p u t ( k ey - o n •PULL UP register
(2)
input level
wake-up) interrupt in-
•CMOS 3-state output put
•CMOS compatible
input level
•CMOS 3-state output
•CPU mode register
(1)
•CMOS compatible
•Sub-clock generating •CPU mode register
(3)
input level
circuit I/O
(4)
•CMOS 3-state output •External interrupt input •Interrupt edge selection (5)
register
•Serial I/O1 function I/O •Serial I/O1 control reg- (6)
ister
•Serial I/O1 status regis-
(7)
ter
(8)
•UART control register
•PULL UP register
(9)
•CMOS compatible
•Timer 2 output
•Timer 123 mode regis- (10)
input level
ter
•CMOS 3-state output •External interrupt input •Interrupt edge selection
(5)
register
•Timer X function I/O
•Timer X mode register
(11)
•Timer Y function I/O
•Timer Y mode register
(12)
•Real time port function •Timer X mode register
output
(13)
•Real time port function •Timer Y mode register
output
•CMOS compatible
•A-D converter input
•A-D control register
(14)
input level
•CMOS 3-state output
14
 

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]