English
Language : 

PIC24FJ256GB110-I Datasheet, PDF (127/328 Pages) Microchip Technology – 64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
PIC24FJ256GB110 FAMILY
9.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 Register 9-22
through Register 9-37). The value of the bit field
corresponds to one of the peripherals and that
peripheral’s output is mapped to the pin (see
Table 9-2).
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 9-2: SELECTABLE OUTPUT SOURCES (MAPS FUNCTION TO OUTPUT)
Output Function Number(1)
Function
Output Name
0
NULL(2)
Null
1
C1OUT
Comparator 1 Output
2
C2OUT
Comparator 2 Output
3
U1TX
UART1 Transmit
4
U1RTS(3)
UART1 Request To Send
5
U2TX
UART2 Transmit
6
U2RTS(3)
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(3)
UART3 Request To Send
30
U4TX
UART4 Transmit
31
U4RTS(3)
UART4 Request To Send
32
SDO3
SPI3 Data Output
33
SCK3OUT
SPI3 Clock Output
34
SS3OUT
SPI3 Slave Select Output
35
OC9
Output Compare 9
37-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® BCLK functionality uses this output.
© 2008 Microchip Technology Inc.
Preliminary
DS39897B-page 125