參數(shù)資料
型號: 35007B
廠商: Microchip Technology Inc.
英文描述: 18-pin Enhanced FLASH/EEPROM 8-bit Microcontroller
中文描述: 18針/ EEPROM的8位微控制器的閃存
文件頁數(shù): 17/88頁
文件大小: 1495K
代理商: 35007B
2001 Microchip Technology Inc.
DS35007B-page 15
PIC16F84A
4.0
I/O PORTS
Some pins for these I/O ports are multiplexed with an
alternate function for the peripheral features on the
device. In general, when a peripheral is enabled, that
pin may not be used as a general purpose I/O pin.
Additional information on I/O ports may be found in the
PICmicro Mid-Range Reference Manual (DS33023).
4.1
PORTA and TRISA Registers
PORTA is a 5-bit wide, bi-directional port. The corre-
sponding data direction register is TRISA. 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.
Therefore, a write to a port implies that the port pins are
read. This value is modified and then written to the port
data latch.
Pin RA4 is multiplexed with the Timer0 module clock
input to become the RA4/T0CKI pin. The RA4/T0CKI
pin is a Schmitt Trigger input and an open drain output.
All other RA port pins have TTL input levels and full
CMOS output drivers.
EXAMPLE 4-1:
INITIALIZING PORTA
FIGURE 4-1:
BLOCK DIAGRAM OF
PINS RA3:RA0
FIGURE 4-2:
BLOCK DIAGRAM OF PIN
RA4
Note:
On a Power-on Reset, these pins are con-
figured as inputs and read as '0'.
BCF
CLRF
STATUS, RP0 ;
PORTA
; Initialize PORTA by
; clearing output
; data latches
BSF
MOVLW
STATUS, RP0 ; Select Bank 1
0x0F
; Value used to
; initialize data
; direction
TRISA
; Set RA<3:0> as inputs
; RA4 as output
; TRISA<7:5> are always
; read as ’0’.
MOVWF
Data
Bus
Q
D
Q
CK
Q
D
Q
CK
Q
D
EN
P
N
WR
Port
WR
TRIS
Data Latch
TRIS Latch
RD TRIS
RD Port
TTL
Input
Buffer
V
SS
V
DD
I/O pin
Note:
I/O pins have protection diodes to V
DD
and V
SS
.
Data
Bus
WR
Port
WR
TRIS
RD Port
Data Latch
TRIS Latch
RD TRIS
Schmitt
Trigger
Input
Buffer
N
V
SS
RA4 pin
TMR0 Clock Input
Q
D
Q
CK
Q
D
Q
CK
EN
Q
D
Note:
I/O pins have protection diodes to V
DD
and V
SS
.
相關(guān)PDF資料
PDF描述
350PJT 1200A ITGQ Gate Turn-Off Hockey Puk SCRs
351-90-116-00-017 PCB connectors 2.54 mm Single row / double row Solder tail
351-90-116-00-016 HOOD DB50 PLASTIC 10 PACK
351-90-116-00-005 DB-50 PLASTIC HOOD
351-90-116-00-004 CRIMP SHELLS DB50 FEMALE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
35-007-BU 制造商:GC Electronics 功能描述:Switch Toggle ON OFF (ON) SPDT Bat Toggle Solder 5A 250VAC 28VDC Panel Mount with Threads Bulk
35008 功能描述:WRENCH OPEN END METRIC 10X11MM RoHS:否 類別:工具 >> 鉗子、扳手 系列:350 標(biāo)準(zhǔn)包裝:1 系列:- 尖端 - 類型:針頭,直形 工具類型:鉗子 特點:人機(jī)工程型手柄,ESD 安全,鋸齒狀 長度:5.75"(146.05mm) 重量:0.23 磅(104.33g)
35-008 制造商:GC Electronics 功能描述:SPDT(ON)-OFF-(ON)MIN BAT TO 制造商:Ideal Industries Inc 功能描述:TENITE HANDLES 8 IN 制造商:GC Electronics 功能描述:Switch Toggle (ON) OFF (ON) SPDT Bat Toggle Solder 5A 250VAC 28VDC Panel Mount with Threads 制造商:Ideal Industries Inc 功能描述:Switch Toggle (ON) OFF (ON) SPDT Bat Toggle
35008 BK199 制造商:Alpha Wire Company 功能描述:35008 BLACK 1000 = 1000 FT
350080-1 功能描述:端子 RING 18-14 10 .025TP RoHS:否 制造商:AVX 產(chǎn)品:Junction Box - Wire to Wire 系列:9826 線規(guī):26-18 接線柱/接頭大小: 絕緣: 顏色:Red 型式:Female 觸點電鍍:Tin over Nickel 觸點材料:Beryllium Copper, Phosphor Bronze 端接類型:Crimp