English
Language : 

PIC16F1829LIN Datasheet, PDF (46/74 Pages) Micon Design Technology Corporation – 20-Pin, 8-bit Flash LIN/J2602 Microcontroller
PIC16F1829LIN
REGISTER 5-11: LATC: PORTC DATA LATCH REGISTER
R/W-x/u
PWRGD
bit 7
R/W-x/u
—
R/W-x/u
LATC5
R/W-x/u
LATC4
R/W-x/u
LATC3
R/W-x/u
LATC2
R/W-x/u
LATC1
R/W-x/u
LATC0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5-0
PWRGD: Configured as an Input Value; Don’t Care
Don’t Care
LATC<7:0>: PORTC Output Latch Value bits(1)
Note 1: Writes to PORTC are actually written to corresponding LATC register. Reads from PORTC register is
return of actual I/O pin values.
REGISTER 5-12: ANSELC: PORTC ANALOG SELECT REGISTER
R/W-1/1
R/W-1/1
U-0
ANSC7
—
—
bit 7
U-0
R/W-1/1
R/W-1/1
—
ANSC3
ANSC2
R/W-1/1
ANSC1
R/W-1/1
ANSC0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6-4
bit 3-0
ANSC7: Analog Select between Analog or Digital Function on Pin RC7
0 = Set for PWRGD input
1 = Do not use
Unimplemented: Read as ‘0’
ANSC<3:0>: Analog Select between Analog or Digital Function on Pins RC<3:0>
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.
DS41673A-page 46
Preliminary
 2012 Microchip Technology Inc.