Datasheet

2011 Microchip Technology Inc. Preliminary DS41585A-page 77
PIC10(L)F320/322
REGISTER 10-1: PORTA: PORTA REGISTER
U-0 U-0 U-0 U-0 R-x/x R/W-x/x R/W-x/x R/W-x/x
RA3 RA2 RA1 RA0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-4 Unimplemented: Read as0
bit 3-0 RA<3:0>: PORTA I/O Value bits (RA3 is read-only)
Note 1: Writes to PORTx are actually written to the corresponding LATx register. Reads from PORTx register
return actual I/O pin values.
REGISTER 10-2: TRISA: PORTA TRI-STATE REGISTER
U-0 U-0 U-0 U-0 U-1 R/W-1/1 R/W-1/1 R/W-1/1
(1)
TRISA2 TRISA1 TRISA0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-4 Unimplemented: Read as0
bit 3 Unimplemented: Read as ‘1
bit 2-0 TRISA<2:0>: RA<2:0> Port I/O Tri-State Control bits
1 = Port output driver is disabled
0 = Port output driver is enabled
Note 1: Unimplemented, read as1’.