14.6.4 TRISA
Note: Bits
TRISA0 and TRISA1 are read-only when DEBUG is enabled, and will
read as ‘
1
’.Name: | TRISA |
Offset: | 0x012 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
TRISA5 | TRISA4 | TRISA2 | TRISA1 | TRISA0 | |||||
Access | R/W | R/W | RO | R/W | R/W | R/W | |||
Reset | 1 | 1 | 1 | 1 | 1 | 1 |
Bits 4, 5 – TRISAx TRISA Port I/O Tri-state Control bits
Value | Description |
---|---|
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
Value | Description |
---|---|
1 |
PORTA pin configured as an input (tri-stated) |
0 |
PORTA pin configured as an output |