English
Language : 

PIC16LF1824T39A_12 Datasheet, PDF (128/418 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with XLP Technology
PIC16LF1824T39A
REGISTER 12-13: WPUC: WEAK PULL-UP PORTC REGISTER
U-0
—
bit 7
U-0
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
—
WPUC5
WPUC4
WPUC3
WPUC2
R/W-1/1
WPUC1
R/W-1/1
WPUC0
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-6
bit 5-0
Unimplemented: Read as ‘0’
WPUC<5:0>: Weak Pull-up Register bits(1)
1 = Pull-up enabled
0 = Pull-up disabled
Note 1: Global WPUEN bit of the OPTION_REG register must be cleared for individual pull-ups to be enabled.
2: The weak pull-up device is automatically disabled if the pin is in configured as an output.
REGISTER 12-14: INLVLC: PORTC INPUT LEVEL CONTROL REGISTER
U-0(1)
—
bit 7
U-0(1)
—
R/W-0/0(1)
INLVLC5
R/W-0/0(1)
INLVLC4
R/W-0/0(1)
INLVLC3
R/W-0/0(1)
INLVLC2
R/W-0/0(1)
INLVLC1
R/W-0/0(1)
INLVLC0
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-6
bit 5-0
Note 1:
Unimplemented: Read as ‘0’
INLVLC<5:0>: PORTC Input Level Select bits
For RC<7:0> pins, respectively
1 = ST input used for PORT reads and interrupt-on-change
0 = TTL input used for PORT reads and interrupt-on-change
Reset default value.
TABLE 12-3: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
ANSELC
INLVLC
LATC
PORTC
TRISC
WPUC
Legend:
—
—
—
—
ANSC3 ANSC2 ANSC1 ANSC0
127
—
—
INLVLC5 INLVLC4 INLVLC3 INLVLC2 INLVLC1 INLVLC0
128
—
—
LATC5
LATC4
LATC3
LATC2
LATC1
LATC0
127
—
—
RC5
RC4
RC3
RC2
RC1
RC0
126
—
—
TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0
126
—
—
WPUC5 WPUC4 WPUC3 WPUC2 WPUC1 WPUC0
128
x = unknown, u = unchanged, - = unimplemented locations, read as ‘0’. Shaded cells are not used by PORTC.
DS41657A-page 128
Preliminary
 2012 Microchip Technology Inc.