Datasheet
PIC14000
DS40122B-page 34 Preliminary 1996 Microchip Technology Inc.
FIGURE 5-12: TRISD REGISTER
88h Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
TRISD TRISD7 TRISD6 TRISD5 TRISD4 TRISD3 TRISD2 TRISD1 TRISD0
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
POR value FFh 1111 1 1 1 1
Bit Name Function
B7 TRISD7
Control direction on pin RD7/AN7:
0 = pin is an output
1 = pin is an input
B6 TRISD6
Control direction on pin RD6/AN6:
0 = pin is an output
1 = pin is an input
B5 TRISD5
Control direction on pin RD5/AN5:
0 = pin is an output
1 = pin is an input
B4 TRISD4
Control direction on pin RD4/AN4:
0 = pin is an output
1 = pin is an input
B3 TRISD3
Control direction on pin RD3/REFB (has no effect if the CMBOE bit is set):
0 = pin is an output
1 = pin is an input
B2 TRISD2
Control direction on pin RD2/CMPB (has no effect if the CMBOE bit is set):
0 = pin is an output
1 = pin is an input
B1 TRISD1
Control direction on pin RD1/SDAB:
0 = pin is an output
1 = pin is an input
B0 TRISD0
Control direction on pin RD0/SCLB:
0 = pin is an output
1 = pin is an input