參數(shù)資料
型號: M44C510-P40
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, MICROCONTROLLER, PDIP40
封裝: DIP-40
文件頁數(shù): 9/57頁
文件大小: 1105K
代理商: M44C510-P40
M44C510
TELEFUNKEN Semiconductors
Rev. A2, 13–Jan–98
17 (57)
2.2.1
Bidirectional Port 0 and Port 1
In this port type, the data direction register is not indepen-
dently software programmable because the direction of
the complete port is switched automatically when an I/O
instruction occurs (see figure 13). The port can be
switched to output mode with an OUT instruction and to
input with an IN instruction. The data written to a port will
be stored into the output data latches and appears immedi-
ately at the port pin following the OUT instruction. After
RESET, all output latches are set to ’1’ and the ports are
switched to input mode. An IN instruction reads the
condition of the associated pins.
Note
Care must be taken when switching these bidirectional
ports from output to input. The capacitive pin loading at
this port, in conjunction with the high resistance pull-ups,
may cause the CPU to read the contents of the output data
register rather than the external input state. This can be
avoided by using either of the following programming
techniques:
D Use two IN instructions and DROP the first data
nibble. The first IN switches the port from output to
input and the DROP removes the first invalid nibble.
The second IN reads the valid pin state.
D Use an OUT instruction followed by an IN instruction.
With the OUT instruction, the capacitive load is
charged or discharged depending on the optional
pull-up /pull-down configuration. Write a “1” for pins
with pull-up resistors, and a “0” for pins with pull-
down resistors.
OUT
IN
Reset
I/O Bus
D
R
S
Q
NQ
R
Master reset
PxDATy
*) Mask options
(Data out)
(Direction)
Port 1 only
BPxy
V
DD
*
Pull-up
*
Pull-down
*
V
DD
*
14020
Figure 13. Bidirectional Ports 0 and 1
相關(guān)PDF資料
PDF描述
M44C510D-XXX-DOW 4-BIT, MROM, MICROCONTROLLER
M44C588 4-BIT, MROM, 4 MHz, MICROCONTROLLER
M44C892 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO20
M48T08Y-15PC1 0 TIMER(S), REAL TIME CLOCK, PDMA28
M48T08Y-10PC1 0 TIMER(S), REAL TIME CLOCK, PDMA28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M44C890 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low-Current Microcontroller for Wireless Communication
M44C890-H 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Low-Current Microcontroller for Wireless Communication
M44S05K4F1 功能描述:汽車連接器 MX44 Terminals RoHS:否 制造商:Amphenol SINE Systems 產(chǎn)品:Contacts 系列:ATP 位置數(shù)量: 型式:Female 安裝風(fēng)格: 端接類型: 觸點電鍍:Nickel
M44T332538880MHZ 制造商:MEC 功能描述:
M44T3338880MHZ 制造商:MEC 功能描述: