參數(shù)資料
型號(hào): M38268MCA-XXXGP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
封裝: PLASTIC, LQFP-100
文件頁(yè)數(shù): 8/95頁(yè)
文件大?。?/td> 1006K
代理商: M38268MCA-XXXGP
Rev.2.00
May. 24, 2006
page 14 of 90
REJ03B0028-0200
3826 Group (A version)
I/O PORTS
Direction Registers
The I/O ports (ports P0, P1, P2, P4, P5, P6, P71–P77) have direc-
tion registers. Ports P16, P17, P4, P5, P6, and P71–P77 can be set
to input mode or output mode by each pin individually. P00–P07
and P10-P15 are respectively set to input mode or output mode in
a lump by bit 0 of the direction registers of ports P0 and P1 (see
Figure 11).
When “0” is set to the bit corresponding to a pin, that pin becomes
an input mode. When “1” is set to that bit, that pin becomes an
output mode.
If data is read from a port set to output mode, the value of the port
latch is read, not the value of the pin itself. A port set to input mode
is floating. If data is read from a port set to input mode, the value
of the pin itself is read. If a pin set to input mode is written to, only
the port 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.
Fig. 11 Structure of port P0 direction register, port P1 direc-
tion register
Fig. 12 Structure of port P3 output control register
Ports P00 to P07 direction register
0 : Input mode
1 : Output mode
Not used (Undefined at reading)
(If writing to these bits, write “0”.)
Port P0 direction register
(P0D : address 000116)
b7
b0
Note: In ports set to output mode, the pull-up control bit becomes
invalid and pull-up resistor is not connected.
Ports P10 to P15 direction register
0 : Input mode
1 : Output mode
Not used (Undefined at reading)
(If writing to these bits, write “0”.)
Port P16 direction register
Port P17 direction register
0 : Input mode
1 : Output mode
Port P1 direction register
(P1D : address 000316)
b7
b0
Ports P30 to P37 output control bit
0 : Output function is invalid (Pulled up)
1 : Output function is valid (No pull up)
Not used (Undefined at reading)
(If writing to these bits, write “0”.)
Port P3 output control register
(P3C : address 000716)
b7
b0
Note: In pins set to segment output by segment output enable bits
0, 1 (bits 0, 1 of segment output enable register (address
3816)), this bit becomes invalid and pull-up resistor is not
connected.
相關(guān)PDF資料
PDF描述
M3826AMFA-XXXFP 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
M3826AMFLXXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
M38268MCLXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
M3826AMFLXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
M38279EFHP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP100
相關(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 功能描述: