参数资料
型号: AT90LS2343-1SC
厂商: Atmel
文件页数: 26/63页
文件大小: 0K
描述: IC MCU 2K FLASH 1MHZ COM 8-SOIC
标准包装: 95
系列: AVR® 90LS
核心处理器: AVR
芯体尺寸: 8-位
速度: 1MHz
连通性: SPI
外围设备: 欠压检测/复位,POR,WDT
输入/输出数: 5
程序存储器容量: 2KB(1K x 16)
程序存储器类型: 闪存
EEPROM 大小: 128 x 8
RAM 容量: 128 x 8
电压 - 电源 (Vcc/Vdd): 2.7 V ~ 6 V
振荡器型: 内部
工作温度: 0°C ~ 70°C
封装/外壳: 8-SOIC(0.209",5.30mm 宽)
包装: 管件
2002 Microchip Technology Inc.
Preliminary
DS41139B-page 31
PIC16C433
5.4
I/O Programming Considerations
5.4.1
BI-DIRECTIONAL I/O PORTS
Any instruction which writes, operates internally as a
read followed by a write operation. The BCF and BSF
instructions, for example, read the register into the
CPU, execute the bit operation and write the result
back to the register. Caution must be used when these
instructions are applied to a port with both inputs and
outputs defined. For example, a BSF operation on bit5
of GPIO will cause all eight bits of GPIO to be read into
the CPU. Then, the BSF operation takes place on bit5
and GPIO is written to the output latches. If another bit
of GPIO is used as a bi-directional I/O pin (i.e., bit0) and
it is defined as an input at this time, the input signal
present on the pin itself would be read into the CPU and
rewritten to the data latch of this particular pin, overwrit-
ing the previous content. As long as the pin stays in the
Input mode, no problem occurs. However, if bit0 is
switched to an output, the content of the data latch may
now be unknown.
Reading the port register reads the values of the port
pins. Writing to the port register writes the value to the
port latch. When using read-modify-write instructions
(i.e., BCF, BSF, etc.) on a port, the value of the port
pins is read, the desired operation is done to this value,
and this value is then written to the port latch.
Example 5-1 shows the effect of two sequential read-
modify-write instructions on an I/O port.
EXAMPLE 5-1:
READ-MODIFY-WRITE
INSTRUCTIONS ON AN I/O
PORT
A pin actively outputting a Low or High should not be
driven from external devices at the same time, in order
to change the level on this pin (“wired-or”, “wired-and”).
The resulting high output currents may damage the
chip.
;Initial GPIO Settings
; GPIO<5:3> Inputs
; GPIO<2:0> Outputs
;
GPIO latch
GPIO pins
;
----------
BCF
GPIO,5 ;pp01 -ppp
pp11 pppp
BCF
GPIO,4 ;pp10 -ppp
pp11 pppp
MOVLW 007h
;
TRIS
GPIO
;pp10 -ppp
pp10 pppp
;
;Note that the user may have expected the pin
;values to be --00 pppp. The 2nd BCF caused GP5
;to be latched as the pin value (High).
相关PDF资料
PDF描述
AT90LS2343-1PI IC MCU 2K FLASH 1MHZ IND 8-DIP
AT90LS2343-1PC IC MCU 2K FLASH 1MHZ COM 8-DIP
AT89S52-24PI IC MCU 8K FLASH 24MHZ 40-DIP
DSPIC33FJ32MC202-I/SS IC DSPIC MCU/DSP 32K 28SSOP
PIC18LF46J13-I/ML IC PIC MCU 64KB FLASH 44QFN
相关代理商/技术参数
参数描述
AT90LS2343-1SI 功能描述:8位微控制器 -MCU 2k bit 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
AT90LS2343-4PC 功能描述:8位微控制器 -MCU 2k bit 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
AT90LS2343-4PI 功能描述:8位微控制器 -MCU 2k bit 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
AT90LS2343-4SC 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-Bit Microcontroller with 2K Bytes of In-System Programmable Flash
AT90LS2343-4SI 功能描述:8位微控制器 -MCU 2k bit 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