參數資料
型號: AT89LP213-20PU
廠商: Atmel
文件頁數: 20/98頁
文件大?。?/td> 0K
描述: MCU 8051 2K FLASH 20MHZ 14-PDIP
產品培訓模塊: MCU Product Line Introduction
標準包裝: 25
系列: 89LP
核心處理器: 8051
芯體尺寸: 8-位
速度: 20MHz
連通性: SPI
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數: 12
程序存儲器容量: 2KB(2K x 8)
程序存儲器類型: 閃存
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2.4 V ~ 5.5 V
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 14-DIP(0.300",7.62mm)
包裝: 管件
27
3538E–MICRO–11/10
AT89LP213/214
13.3
Port Read-modify-write
A read from a port will read either the state of the pins or the state of the port register depending
on which instruction is used. Simple read instructions will always access the port pins directly.
Read-modify-write instructions, which read a value, possibly modify it, and then write it back, will
always access the port register. This includes bit write instructions such as CLR or SETB as they
actually read the entire port, modify a single bit, then write the data back to the entire port. See
Table 13-3 for a complete list of Read-modify-write instruction which may access the ports.
13.4
Ports During Powerdown
Due to the 5V tolerant port structure, the output ports may have reduced V
OH while the device is
under DC conditions, i.e. in the powerdown state, and at high temperature. It is recommended
that output ports be placed in a low state, if possible, prior to entering powerdown, or else exter-
nal pullups can be used to maintain the output at a higher voltage.
13.5
Port Alternate Functions
Most general-purpose digital I/O pins of the AT89LP213/214 share functionality with the various
I/Os needed for the peripheral units. Table 13-5 lists the alternate functions of the port pins.
Alternate functions are connected to the pins in a logic AND fashion. In order to enable the
alternate function on a port pin, that pin must have a “1” in its corresponding port register bit,
otherwise the input/output will always be “0”. Furthermore, each pin must be configured
for the correct input/output mode as required by its peripheral before it may be used as such.
Table 13-4 shows how to configure a generic pin for use with an alternate function.
Table 13-3.
Port Read-modify-write Instructions
Mnemonic
Instruction
Example
ANL
Logical AND
ANL P1, A
ORL
Logical OR
ORL P1, A
XRL
Logical EX-OR
XRL P1, A
JBC
Jump if bit set and clear bit
JBC P3.0, LABEL
CPL
Complement bit
CPL P3.1
INC
Increment
INC P1
DEC
Decrement
DEC P3
DJNZ
Decrement and jump if not zero
DJNZ P3, LABEL
MOV PX.Y, C
Move carry to bit Y of Port X
MOV P1.0, C
CLR PX.Y
Clear bit Y of Port X
CLR P1.1
SETB PX.Y
Set bit Y of Port X
SETB P3.2
Table 13-4.
Alternate Function Configurations for Pin y of Port x
PxM0.y
PxM1.y
Px.y
I/O Mode
0
1
bidirectional (internal pull-up)
0
1
output
1
0
X
input
1
bidirectional (external pull-up)
相關PDF資料
PDF描述
VE-B5X-IX-F4 CONVERTER MOD DC/DC 5.2V 75W
V375A36E500BG CONVERTER MOD DC/DC 36V 500W
AT89LP214-20XU MCU 8051 2K FLASH 20MHZ 14-TSSOP
VE-B5X-IW-F2 CONVERTER MOD DC/DC 5.2V 100W
V375A36E500BF3 CONVERTER MOD DC/DC 36V 500W
相關代理商/技術參數
參數描述
AT89LP213-20SU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K ISP FLASH 2.4-5.5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP213-20XU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K ISP FLASH 2.4-5.5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP214-16XI 功能描述:8位微控制器 -MCU Microcontroller RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP214-20PU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K ISP FLASH 2.4-5.5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT89LP214-20SU 功能描述:8位微控制器 -MCU SINGLE CYCLE 2K ISP FLASH 2.4-5.5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT