Microchip Technology DM240015 Data Sheet

Page of 472
PIC24FJ128GC010 FAMILY
DS30009312B-page 194
 
 2012-2013 Microchip Technology Inc.
11.4.3.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.
Each register contains two 6-bit fields, with each field
being associated with one RPn pin (see 
through 
). The value of the bit field
corresponds to one of the peripherals and that
peripheral’s output is mapped to the pin (see
).
Because of the mapping technique, the list of peripher-
als for output mapping also includes a null value of
‘000000’. This permits any given pin to remain discon-
nected from the output of any of the pin-selectable
peripherals. 
TABLE 11-4:
SELECTABLE OUTPUT SOURCES (MAPS FUNCTION TO OUTPUT)
Output Function Number
Function
 Output Name
0
NULL
(
)
Null
1
C1OUT
Comparator 1 Output
2
C2OUT
Comparator 2 Output
3
U1TX
UART1 Transmit
4
U1RTS
(
)
UART1 Request-to-Send
5
U2TX
UART2 Transmit
6
U2RTS
(
)
UART2 Request-to-Send
7
SDO1
SPI1 Data Output
8
SCK1OUT
SPI1 Clock Output
9
SS1OUT
SPI1 Slave Select Output
10
SDO2
SPI2 Data Output
11
SCK2OUT
SPI2 Clock Output
12
SS2OUT
SPI2 Slave Select Output
18
OC1
Output Compare 1
19
OC2
Output Compare 2
20
OC3
Output Compare 3
21
OC4
Output Compare 4
22
OC5
Output Compare 5
23
OC6
Output Compare 6
24
OC7
Output Compare 7
25
OC8
Output Compare 8
28
U3TX UART3 
Transmit
29
U3RTS
(
)
UART3 Request-to-Send
30
U4TX
UART4 Transmit
31
U4RTS
(
)
UART4 Request-to-Send
35
OC9
Output Compare 9
36
C3OUT
Comparator 3 Output
37
MDOUT
DSM Modulator Output
38-63
(unused)
NC
Note 1:
Setting the RPORx register with the listed value assigns that output function to the associated RPn pin.
2:
The NULL function is assigned to all RPn outputs at device Reset and disables the RPn output function.
3:
IrDA
®
 BCLKx functionality uses this output.