參數(shù)資料
型號: M38227ECFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP80
封裝: 14 X 20 MM, 0.80 MM PITCH, PLASTIC, QFP-80
文件頁數(shù): 10/80頁
文件大?。?/td> 1329K
代理商: M38227ECFP
17
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
3822 Group
MITSUBISHI MICROCOMPUTERS
I/O PORTS
Direction Registers (ports P2, P41-P47, and
P5-P7)
The 3822 group has 49 programmable I/O pins arranged in seven
I/O ports (ports P0–P2, P41–P47 and P5-P7). The I/O ports P2,
P41–P47 and P5-P7 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 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.
Direction Registers (ports P0 and P1)
Ports P0 and P1 have direction registers which determine the in-
put/output direction of each individual port.
Each port in a direction register corresponds to one port, each port
can be set to be input or output. When “0” is written to the bit 0 of
a direction register, that port becomes an input port. When “1” is
written to that port, that port becomes an output port. Bits 1 to 7 of
ports P0 and P1 direction registers are not used.
Ports P3 and P40
These ports are only for input.
Pull-up/Pull-down Control
By setting the PULL register A (address 001616) or the PULL reg-
ister B (address 001716), ports except for port P40 can control
either pull-down or pull-up (pins that are shared with the segment
output pins for LCD are pull-down; all other pins are 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.
Fig. 14 Structure of PULL register A and PULL register B
P00–P07 pull-down
P10–P17 pull-down
P20–P27 pull-up
P34–P37 pull-down
P70, P71 pull-up
Not used (return “0” when read)
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.
相關PDF資料
PDF描述
M38223M4-XXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP80
M38223M4-XXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP80
M38223M4MXXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
M38223M4MXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
M38222M2-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
相關代理商/技術參數(shù)
參數(shù)描述
M38227ECFP#U0 功能描述:MCU 3/5V 48K PB-FREE 80-QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉換器:A/D 6x12b 振蕩器型:內部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M38227ECFS 制造商:Renesas Electronics Corporation 功能描述:MCU 8BIT 740 CISC 48KB EPROM 5V 80CLCC - Bulk
M38227FGFP 制造商:Renesas Electronics Corporation 功能描述:SLIM740 OTP 16K/512B RAM, W/A-D, LED, 4 - Rail/Tube
M38227RFS 制造商:Renesas Electronics Corporation 功能描述:MCU - Trays
M3823 BK001 制造商:Alpha Wire Company 功能描述:CBL 30COND 18AWG BLK 1000'