參數(shù)資料
型號(hào): ATAM893T-TKSYD
廠商: Atmel
文件頁(yè)數(shù): 17/98頁(yè)
文件大?。?/td> 0K
描述: IC MCU FLASH 4K MTP 20SSOP
標(biāo)準(zhǔn)包裝: 830
系列: MARC4
核心處理器: MARC4
芯體尺寸: 4-位
速度: 4MHz
連通性: SSI(2 線,3 線)
外圍設(shè)備: 欠壓檢測(cè)/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 16
程序存儲(chǔ)器容量: 4KB(4K x 8)
程序存儲(chǔ)器類型: EEPROM
EEPROM 大?。?/td> 64 x 16
RAM 容量: 256 x 4
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 6.5 V
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 125°C
封裝/外殼: 20-SOIC(0.209",5.30mm 寬)
包裝: 管件
24
4680C–4BMCU–01/05
ATAM893-D
5.2
Bi-directional Ports
With the exception of Port 1 and Port 6, all other ports (2, 4 and 5) are 4 bits wide. Port 1 and
Port 6 have a data width of 2 bits (bit 0 and bit 3). All ports may be used for data input or output.
All ports are equipped with Schmitt trigger inputs and a variety of mask options for open drain,
open source, full complementary outputs, pull-up and pull-down transistors. All Port Data Regis-
ters (PxDAT) are I/O mapped to the primary address register of the respective port address and
the Port Control Register (PxCR), to the corresponding auxiliary register.
There are five different directional ports available:
Port 1
2-bit wide bi-directional ports with automatic full bus width direction switching
Port 2
4-bit wide bit-wise-programmable I/O port
Port 5
4-bit wide bit-wise-programmable bi-directional port with optional strong pull-ups
and programmable interrupt logic
Port 4
4-bit wide bit-wise-programmable bi-directional port also provides the I/O interface
to Timer 2, SSI, voltage monitor input and external interrupt input
Port 6
2-bit wide bit-wise-programmable bi-directional port also provides the I/O interface
to Timer 3 and external interrupt input
5.2.1
Bi-directional Port 1
In Port 1 the data direction register is not independently software programmable, the direction of
the complete port being switched automatically when an I/O instruction occurs (see Figure 5-2
on page 25). The port is switched to output mode via an OUT instruction and to input via an IN
instruction. The data written to a port will be stored into the output data latches and appears
immediately at the port pin following the OUT instruction. After RESET all output latches are set
to '1' and the port is switched to input mode. An IN instruction reads the condition of the associ-
ated pins.
Note:
Care must be taken when switching the bi-directional port 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. To avoid this, one of the
following programming techniques should be used:
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.
Use an OUT-instruction followed by an IN-instruction. Via 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.
相關(guān)PDF資料
PDF描述
ATF1500ABV-15JI IC CPLD 15NS LOW VOLT PLCC
ATF1500AL-20JI IC CPLD 20NS LOW POW 44PLCC
ATF1502ASV-15JI44 IC CPLD EE HP 15NS 44-PLCC
ATF1502BE-5AX44 IC CPLD 64MC 1.8V 44-TQFP
ATF1504ASVL-20QI100 IC CPLD 20NS LOWV LOWPWR 100QPFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATAM893X-TKHYZ 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Flash Version for ATAR080, ATAR090/890 and ATAR092/892
ATAM893X-TKQYZ 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Flash Version for ATAR080, ATAR090/890 and ATAR092/892
ATAM893X-TKSYZ 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Flash Version for ATAR080, ATAR090/890 and ATAR092/892
ATAM894 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8k-flash Microcontroller
ATAM894P 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:MARC4 4-bit Microcontrollers