English
Language : 

PIC16F946 Datasheet, PDF (30/274 Pages) Microchip Technology – 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F946
REGISTER 3-1:
PORTA – PORTA REGISTER (ADDRESS: 05h)
R/W-x R/W-x R/W-x R/W-x R/W-x
RA7
RA6
RA5
RA4
RA3
bit 7
R/W-x
RA2
R/W-x
RA1
R/W-x
RA0
bit 0
bit 7-0
RA<7:0>: PORTA I/O Pin bits
1 = Port pin is >VIH
0 = Port pin is <VIL
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
REGISTER 3-2:
TRISA – PORTA TRI-STATE REGISTER (ADDRESS: 85h)
R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
TRISA7 TRISA6 TRISA5 TRISA4 TRISA3 TRISA2
bit 7
R/W-1
TRISA1
R/W-1
TRISA0
bit 0
bit 7-0
TRISA<7:0>: PORTA Tri-State Control bits
1 = PORTA pin configured as an input (tri-stated)
0 = PORTA pin configured as an output
Note: TRISA<7:6> always reads ‘1’ in XT, HS and LP OSC modes.
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
DS41265A-page 28
Preliminary
© 2005 Microchip Technology Inc.