|
PIC16F684T-I Datasheet, PDF (35/192 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers | |||
|
◁ |
PIC16F684
REGISTER 4-4: WPUA: WEAK PULL-UP PORTA REGISTER
U-0
â
bit 7
U-0
R/W-1
R/W-1
U-0
R/W-1
â
WPUA5
WPUA4
â
WPUA2
R/W-1
WPUA1
R/W-1
WPUA0
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-6
bit 5-4
bit 3
bit 2-0
Unimplemented: Read as â0â
WPUA<5:4>: Weak Pull-up Control bits
1 = Pull-up enabled
0 = Pull-up disabled
Unimplemented: Read as â0â
WPUA<2:0>: Weak Pull-up Control bits
1 = Pull-up enabled
0 = Pull-up disabled
Note 1:
2:
3:
4:
Global RAPU must be enabled for individual pull-ups to be enabled.
The weak pull-up device is automatically disabled if the pin is in Output mode (TRISA = 0).
The RA3 pull-up is enabled when configured as MCLR and disabled as an I/O in the Configuration Word.
WPUA<5:4> always reads â1â in XT, HS and LP OSC modes.
REGISTER 4-5: IOCA: INTERRUPT-ON-CHANGE PORTA REGISTER
U-0
â
bit 7
U-0
R/W-0
R/W-0
R/W-0
R/W-0
â
IOCA5
IOCA4
IOCA3
IOCA2
R/W-0
IOCA1
R/W-0
IOCA0
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-6
bit 5-0
Unimplemented: Read as â0â
IOCA<5:0>: Interrupt-on-change PORTA Control bit
1 = Interrupt-on-change enabled
0 = Interrupt-on-change disabled
Note 1: Global Interrupt Enable (GIE) must be enabled for individual interrupts to be recognized.
2: IOCA<5:4> always reads â1â in XT, HS and LP OSC modes.
© 2007 Microchip Technology Inc.
DS41202F-page 33
|
▷ |