English
Language : 

PIC24FJ64GA705 Datasheet, PDF (138/412 Pages) –
PIC24FJ256GA705 FAMILY
11.5.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 Register 11-32
through Register 11-46). The value of the bit field
corresponds to one of the peripherals and that
peripheral’s output is mapped to the pin (see
Table 11-7).
Because of the mapping technique, the list of peripherals
for output mapping also includes a null value of ‘000000’.
This permits any given pin to remain disconnected from
the output of any of the pin-selectable peripherals.
TABLE 11-7: SELECTABLE OUTPUT SOURCES (MAPS FUNCTION TO OUTPUT)
Output Function Number
Function
Output Name
0
None (Pin Disabled)
—
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
13
OC1
Output Compare 1
14
OC2
Output Compare 2
15
OC3
Output Compare 3
16
OCM2A
CCP2A Output Compare
17
OCM2B
CCP2B Output Compare
18
OCM3A
CCP3A Output Compare
19
OCM3B
CCP3B Output Compare
20
OCM4A
CCP4A Output Compare
21
OCM4B
CCP4B Output Compare
22
Reserved
—
23
SDO3
SPI3 Data Output
24
SCK3OUT
SPI3 Clock Output
25
SS3OUT
SPI3 Slave Select Output
26
C3OUT
Comparator 3 Output
27
PWRGT
RTCC Power Control
28
REFO
Reference Clock Output
29
CLC1OUT
CLC1 Output
30
CLC2OUT
CLC2 Output
31
RTCC
RTCC Clock Output
DS30010118B-page 138
 2016 Microchip Technology Inc.