English
Language : 

PIC16F753 Datasheet, PDF (46/238 Pages) Microchip Technology – 14/16-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F753/HV753
5.4 Register Definitions: PORTA Control
REGISTER 5-2: PORTA: PORTA REGISTER
U-0
—
bit 7
U-0
R/W-x/u
R/W-x/u
R-x/x
—
RA5
RA4
RA3
R/W-x/u
RA2
R/W-x/u
RA1
R/W-x/u
RA0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-6
bit 5-0
Note 1:
Unimplemented: Read as ‘0’
RA<5:0>: PORTA I/O Value bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Writes to PORTA are actually written to corresponding LATA register. Reads from PORTA register is return of actual I/O pin
values.
REGISTER 5-3: TRISA: PORTA TRI-STATE REGISTER
U-0
—
bit 7
U-0
R/W-1/1
R/W-1/1
R-1/1
—
TRISA5
TRISA4
TRISA3(1)
R/W-1/1
TRISA2
R/W-1/1
TRISA1
R/W-1/1
TRISA0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-6
bit 5-0
Note 1:
Unimplemented: Read as ‘0’
TRISA<5:0>: PORTA Tri-State Control bits(1)
1 = PORTA pin configured as an input (tri-stated)
0 = PORTA pin configured as an output
TRISA3 always reads ‘1’.
REGISTER 5-4: LATA: PORTA DATA LATCH REGISTER
U-0
—
bit 7
U-0
R/W-x/u
R/W-x/u
U-0
—
LATA5
LATA4
—
R/W-x/u
LATA2
R/W-x/u
LATA1
R/W-x/u
LATA0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-6
bit 5-4
bit 3
bit 2-0
Unimplemented: Read as ‘0’
LATA<5:4>: PORTA Output Latch Value bits(1)
Unimplemented: Read as ‘0’
LATA<2:0>: PORTA Output Latch Value bits(1)
Note 1: Writes to PORTA are actually written to corresponding LATA register. Reads from PORTA register is return of actual I/O
pin values.
DS40001709A-page 46
Preliminary
 2013 Microchip Technology Inc.