dsPIC33/PIC24 Family Reference Manual
DS30009711C-page 18 2006-2019 Microchip Technology Inc.
4.6 Peripheral Pin Select Registers
These registers are used to configure input and output functionality of the dsPIC33/PIC24 device pins.
• RPINRx: Peripheral Pin Select Input Register x
• RPORy: Peripheral Pin Select Output Register y
Register 4-3: RPINRx: Peripheral Pin Select Input Register x
(2)
Register 4-4: RPORy: Peripheral Pin Select Output Register y
(2)
U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
— — Input Function bits<5:0>
(1)
bit 15 bit 8
U-0 U-0 R/W-0 U-0 U-0 U-0 U-0 U-0
— — Input Function bits<5:0>
(1)
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 15-14 Unimplemented: Read as ‘0’
bit 13-8 Input Function Bits<5:0>: Assign Peripheral to Corresponding RPn Pin bits
(1)
bit 7-6 Unimplemented: Read as ‘0’
bit 5-0 Input Function Bits<5:0> Assign Peripheral to Corresponding RPn Pin bits
(1)
Note 1: Here, ‘n’ represents the peripheral select input pin number.
2: Here, ‘x’ represents the Peripheral Pin Select Input register number and it varies from device to device.
U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
— — RPnR<5:0>
(1)
bit 15 bit 8
U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
— — RPnR<5:0>
(1)
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 15-14 Unimplemented: Read as ‘0’
bit 13-8 RPnR<5:0>: Peripheral Output Function is Assigned to RPn Pin bits
(1)
(see Table 4-1 for peripheral function numbers)
bit 7-6 Unimplemented: Read as ‘0’
bit 5-0 RPnR<5:0>: Peripheral Output Function is Assigned to RPn Pin bits
(1)
(see Table 4-1 for peripheral function numbers)
Note 1: Here, ‘n’ represents the Peripheral Pin Select output pin number.
2: Here, ‘y’ represents the Peripheral Pin Select Output register number and it varies from device to device.