Microchip Technology MA160014 Data Sheet

Page of 560
PIC18(L)F2X/4XK22
DS41412F-page 158
 2010-2012 Microchip Technology Inc.
REGISTER 10-13: IOCB: INTERRUPT-ON-CHANGE PORTB CONTROL REGISTER
R/W-1
R/W-1
R/W-1
R/W-1
U-0
U-0
U-0
U-0
IOCB7
IOCB6
IOCB5
IOCB4
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-4
IOCB<7:4>: Interrupt-on-Change PORTB control bits
1
 = Interrupt-on-change enabled
(1)
0
 = Interrupt-on-change disabled
Note 1:
 Interrupt-on-change requires that the RBIE bit (INTCON<3>) is set.
REGISTER 10-14: SLRCON: SLEW RATE CONTROL REGISTER
U-0
U-0
U-0
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
SLRE
SLRD
SLRC
SLRB
SLRA
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-5
Unimplemented: Read as ‘0’
bit 4
SLRE: PORTE Slew Rate Control bit
1
 = All outputs on PORTE slew at a limited rate
0
 = All outputs on PORTE slew at the standard rate
bit 3
SLRD: PORTD Slew Rate Control bit
1
 = All outputs on PORTD slew at a limited rate
0
 = All outputs on PORTD slew at the standard rate
bit 2
SLRC: PORTC Slew Rate Control bit
1
 = All outputs on PORTC slew at a limited rate
0
 = All outputs on PORTC slew at the standard rate
bit 1
SLRB: PORTB Slew Rate Control bit
1
 = All outputs on PORTB slew at a limited rate
0
 = All outputs on PORTB slew at the standard rate
bit 0
SLRA: PORTA Slew Rate Control bit
1
 = All outputs on PORTA slew at a limited rate
0
 = All outputs on PORTA slew at the standard rate
Note 1:
These bits are available on PIC18(L)F4XK22 devices.
2:
The slew rate of RA6 defaults to standard rate when the pin is used as CLKOUT.