参数资料
型号: PIC16F83A-10/P
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 10 MHz, RISC MICROCONTROLLER, PDIP18
封装: 0.300 INCH, PLASTIC, DIP-18
文件页数: 40/125页
文件大小: 2018K
代理商: PIC16F83A-10/P
PIC16F8X
1998 Microchip Technology Inc.
DS30430C-page 21
5.0
I/O PORTS
The PIC16F8X has two ports, PORTA and PORTB.
Some port pins are multiplexed with an alternate func-
tion for other features on the device.
5.1
PORTA and TRISA Registers
PORTA is a 5-bit wide latch. RA4 is a Schmitt Trigger
input and an open drain output. All other RA port pins
have TTL input levels and full CMOS output drivers. All
pins have data direction bits (TRIS registers) which can
configure these pins as output or input.
Setting a TRISA bit (=1) will make the corresponding
PORTA pin an input, i.e., put the corresponding output
driver in a hi-impedance mode. Clearing a TRISA bit
(=0) will make the corresponding PORTA pin an output,
i.e., put the contents of the output latch on the selected
pin.
Reading the PORTA register reads the status of the pins
whereas writing to it will write to the port latch. All write
operations are read-modify-write operations. So a write
to a port implies that the port pins are first read, then this
value is modified and written to the port data latch.
The RA4 pin is multiplexed with the TMR0 clock input.
FIGURE 5-1:
BLOCK DIAGRAM OF PINS
RA3:RA0
EXAMPLE 5-1:
INITIALIZING PORTA
CLRF
PORTA
; Initialize PORTA by
; setting output
; data latches
BSF
STATUS, RP0
; Select Bank 1
MOVLW
0x0F
; Value used to
; initialize data
; direction
MOVWF
TRISA
; Set RA<3:0> as inputs
; RA4 as outputs
; TRISA<7:5> are always
; read as ’0’.
FIGURE 5-2:
BLOCK DIAGRAM OF PIN RA4
Note: I/O pins have protection diodes to VDD and VSS.
Data
bus
Q
D
Q
CK
Q
D
Q
CK
QD
EN
P
N
WR
Port
WR
TRIS
Data Latch
TRIS Latch
RD TRIS
RD PORT
TTL
input
buffer
VSS
VDD
I/O pin
Data
bus
WR
PORT
WR
TRIS
RD PORT
Data Latch
TRIS Latch
RD TRIS
Schmitt
Trigger
input
buffer
N
VSS
RA4 pin
TMR0 clock input
Note: I/O pin has protection diodes to VSS only.
Q
D
Q
CK
Q
D
Q
CK
EN
QD
EN
相关PDF资料
PDF描述
PIC16LF83A-04I/SO 8-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PDSO18
PIC16LC716-04/SS 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO20
PIC17C43 PIC17C42/42A/43/44/CR42A/CR43 Datasheet
PIC17C75X Micropower Precision Series Reference Family; Package: SOT; No of Pins: 3; Temperature Range: 0&deg;C to +70&deg;C
PIC17C7X
相关代理商/技术参数
参数描述
PIC16F83T-04/SO 功能描述:8位微控制器 -MCU .875KB 36 RAM 13 I/O 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
PIC16F83T-04I/SO 功能描述:8位微控制器 -MCU .875KB 36 RAM 13 I/O 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
PIC16F83T-10/SO 功能描述:8位微控制器 -MCU .875KB 36 RAM 13 I/O 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
PIC16F83T-10I/SO 功能描述:8位微控制器 -MCU .875KB 36 RAM 13 I/O 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
PIC16F84-04/P 功能描述:8位微控制器 -MCU 1.75KB 68 RAM 13 I/O 4MHz PDIP18 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