English
Language : 

PIC24FJ16MC101_12 Datasheet, PDF (118/350 Pages) Microchip Technology – 16-bit Microcontrollers (up to 32 KB Flash and 2 KB SRAM)
PIC24FJ16MC101/102 AND PIC24FJ32MC101/102/104
TABLE 10-1: SELECTABLE INPUT SOURCES (MAPS INPUT TO FUNCTION)(1)
Input Name
Function Name
Register
External Interrupt 1
External Interrupt 2
Timer2 External Clock
Timer3 External Clock
Timer4 External Clock
INT1
INT2
T2CK
T3CK
T4CK
RPINR0
RPINR1
RPINR3
RPINR3
RPINR4
Timer5 External Clock
T5CK
RPINR4
Input Capture 1
Input Capture 2
Input Capture 3
Output Compare Fault A
UART1 Receive
UART1 Clear To Send
IC1
IC2
IC3
OCFA
U1RX
U1CTS
RPINR7
RPINR7
RPINR8
RPINR11
RPINR18
RPINR18
SDI1 SPI Data Input 1
SDI1
RPINR20
SCK1 SPI Clock Input 1
SCK1
RPINR20
SPI1 Slave Select Input
SS1
RPINR21
Note 1: Unless otherwise noted, all inputs use the Schmitt input buffers.
2: These bits are available in PIC24FJ32MC101/102/104 devices only.
Configuration
Bits
INT1R<4:0>
INT2R<4:0>
T2CKR<4:0>
T3CKR<4:0>
T4CKR<4:0>(2)
T5CKR<4:0>(2)
IC1R<4:0>
IC2R<4:0>
IC3R<4:0>
OCFAR<4:0>
U1RXR<4:0>
U1CTSR<4:0>
SDI1R<4:0>(2)
SCK1R<4:0>(2)
SS1R<4:0>
10.4.2.2 Output Mapping
In contrast to inputs, the outputs of the peripheral pin
select options are mapped on the basis of the pin. In
this case, a control register associated with a particular
pin dictates the peripheral output to be mapped. The
RPORx registers are used to control output mapping.
Like the RPINRx registers, each register contains sets
of 5-bit fields, with each set associated with one RPn
pin (see Register 10-11 through Register 10-18). The
value of the bit field corresponds to one of the periph-
erals, and that peripheral’s output is mapped to the pin
(see Table 10-2 and Figure 10-3).
The list of peripherals for output mapping also includes
a null value of ‘00000’ because of the mapping
technique. This permits any given pin to remain
unconnected from the output of any of the pin
selectable peripherals.
FIGURE 10-3:
MULTIPLEXING OF
REMAPPABLE OUTPUT
FOR RPn
RPnR<4:0>
default
0
U1TX Output enable 3
U1RTS Output enable 4
Output enable
OC2 Output enable 19
default
0
U1TX Output
3
U1RTS Output 4 Output Data
RPn
OC2 Output 19
DS39997C-page 118
Preliminary
© 2011-2012 Microchip Technology Inc.