14.6.4 TRISA

Tri-State Control Register
Note: Bits TRISA0 and TRISA1 are read-only when DEBUG is enabled, and will read as ‘1’.
Name: TRISA
Offset: 0x012

Bit 76543210 
   TRISA5TRISA4TRISA2TRISA1TRISA0 
Access R/WR/WROR/WR/WR/W 
Reset 111111 

Bits 4, 5 – TRISAx TRISA Port I/O Tri-state Control bits

ValueDescription
1 PORTA pin configured as an input (tri-stated)
0 PORTA pin configured as an output

Bits 0, 1, 2 – TRISAn TRISA Port I/O Tri-state Control bits

ValueDescription
1 PORTA pin configured as an input (tri-stated)
0 PORTA pin configured as an output
Bits TRISA0 and TRISA1 are read-only when DEBUG is enabled, and will read as ‘1’.