English
Language : 

PIC16F722 Datasheet, PDF (81/302 Pages) Microchip Technology – 28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16F72X/PIC16LF72X
REGISTER 6-13: TRISD: PORTD TRI-STATE REGISTER(1)
R/W-1
TRISD7
bit 7
R/W-1
TRISD6
R/W-1
TRISD5
R/W-1
TRISD4
R/W-1
TRISD3
R/W-1
TRISD2
R/W-1
TRISD1
R/W-1
TRISD0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-0
TRISD<7:0>: PORTD Tri-State Control bits
1 = PORTD pin configured as an input (tri-stated)
0 = PORTD pin configured as an output
Note 1: TRISD is not implemented on PIC16F722/723/726/PIC16LF722/723/726 devices, read as ‘0’.
REGISTER 6-14: ANSELD: PORTD ANALOG SELECT REGISTER(2)
R/W-1
ANSD7
bit 7
R/W-1
ANSD6
R/W-1
ANSD5
R/W-1
ANSD4
R/W-1
ANSD3
R/W-1
ANSD2
R/W-1
ANSD1
R/W-1
ANSD0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-0
ANSD<7:0>: Analog Select between Analog or Digital Function on Pins RD<7:0>, respectively
0 = Digital I/O. Pin is assigned to port or Digital special function.
1 = Analog input. Pin is assigned as analog input(1). Digital Input buffer disabled.
Note 1: When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
2: ANSELD register is not implemented on the PIC16F722/723/726/PIC16LF722/723/726. Read as ‘0’.
© 2009 Microchip Technology Inc.
DS41341E-page 81