Datasheet

dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
DS70616F-page 212 Preliminary © 2009-2012 Microchip Technology Inc.
11.4.4.1 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 6 bit fields, with each set associated with one RPn
pin (see Register 11-44 through Register 11-51). 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 11-3 and Figure 11-3).
A null output is associated with the output register reset
value of ‘0’. This is done to ensure that remappable out-
puts remain disconnected from all output pins by
default.
FIGURE 11-3: MULTIPLEXING OF
REMAPPABLE OUTPUT
FOR RPn
TABLE 11-3: OUTPUT SELECTION FOR REMAPPABLE PINS (RPn)
Function RPnR<5:0> Output Name
DEFAULT PORT 000000 RPn tied to default pin
U1TX 000001 RPn tied to UART1 transmit
U1RTS
000010 RPn tied to UART1 ready to send
U2TX 000011 RPn tied to UART2 transmit
U2RTS
000100 RPn tied to UART2 ready to send
SDO1 000101 RPn tied to SPI1 data output
SCK1 000110 RPn tied to SPI1 clock output
SS1
000111 RPn tied to SPI1 slave select
SS2
001010 RPn tied to SPI2 slave select
CSDO 001011 RPn tied to DCI data output
CSCK 001100 RPn tied to DCI clock output
COFS 001101 RPn tied to DCI FSYNC output
C1TX 001110 RPn tied to CAN1 transmit
C2TX 001111 RPn tied to CAN2 transmit
OC1 010000 RPn tied to Output Compare 1 output
OC2 010001 RPn tied to Output Compare 2 output
OC3 010010 RPn tied to Output Compare 3 output
OC4 010011 RPn tied to Output Compare 4 output
OC5 010100 RPn tied to Output Compare 5 output
OC6 010101 RPn tied to Output Compare 6 output
OC7 010110 RPn tied to Output Compare 7 output
OC8 010111 RPn tied to Output Compare 8 output
C1OUT 011000 RPn tied to Comparator Output 1
C2OUT 011001 RPn tied to Comparator Output 2
C3OUT 011010 RPn tied to Comparator Output 3
U3TX 011011 RPn tied to UART3 transmit
U3RTS
011100 RPn tied to UART3 ready to send
Note 1: This function is available in dsPIC33EPXXX(MC/MU)806/810/814 devices only.