參數(shù)資料
型號(hào): M38268MCLXXXFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
封裝: 14 X 20 MM, 0.65 MM PITCH, PLASTIC, QFP-100
文件頁(yè)數(shù): 10/82頁(yè)
文件大?。?/td> 1377K
代理商: M38268MCLXXXFP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3826 Group
15
I/O PORTS
Direction Registers
The I/O ports (ports P0, P1, P2, P4, P5, P6, P71–P77) have direc-
tion registers which determine the input/output direction of each
individual pin. (Ports P00–P07 are shared with bit 0 of the port P0
direction register, and ports P10–P15 shared with bit 0 of the port
P1 direction register.) Each bit in a direction register 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 be-
comes an output pin.
If data is read from a pin 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.
Port P3 Output Control Register
Bit 0 of the port P3 output control register (address 000716) en-
ables control of the output of ports P30–P37.
When the bit is set to “1”, the port output function is valid.
When resetting, bit 0 of the port P3 output control register is set to
“0” (the port output function is invalid) and pulled up.
Pull-up Control
By setting the PULL register A (address 001616) or the PULL reg-
ister B (address 001716), ports P0 to P2, P4 to P6 can control pull-
up with a program.
However, the contents of PULL register A and PULL register B do
not affect ports programmed as the output ports.
The PULL register A setting is invalid for pins set to segment out-
put with the segment output enable register.
Fig. 12 Structure of PULL register A and PULL register B
P00, P01 pull-up
P02, P03 pull-up
P04–P07 pull-up
P10–P13 pull-up
P14, P15 pull-up
P16, P17 pull-up
P20–P23 pull-up
P24–P27 pull-up
PULL register A
(PULLA : address 001616)
b7
b0
P41–P43 pull-up
P44–P47 pull-up
P50–P53 pull-up
P54–P57 pull-up
P60–P63 pull-up
P64–P67 pull-up
Not used (return “0” when read)
0 : Disable
1 : Enable
PULL register B
(PULLB : address 001716)
b7
b0
Note: The contents of PULL register A and PULL register B
do not affect ports programmed as the output port.
相關(guān)PDF資料
PDF描述
M3826AMFLXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
M38279EFHP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP100
M38277M8MXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
M38279EFFP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP100
M38279EFFS 8-BIT, UVPROM, 4 MHz, MICROCONTROLLER, CQCC100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M3826AEFFP#U0 制造商:Renesas 功能描述:MCU 8-bit 740 CISC 60KB EPROM 5V 100-Pin PQFP Tray
M3826AMFA-221FP#U0 制造商:Renesas Electronics Corporation 功能描述:
M3826-BK001 制造商:Alpha Wire 功能描述:
M3826-BK002 制造商:Alpha Wire 功能描述:
M3826-BK005 制造商:Alpha Wire 功能描述: