Техническая Спецификация для Microchip Technology MA330026

Скачать
Страница из 392
dsPIC33FJ16(GP/MC)101/102 AND dsPIC33FJ32(GP/MC)101/102/104
DS70000652F-page 144
 2011-2014 Microchip Technology Inc.
10.4.2.2
Output Mapping
In contrast to the 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 out-
put mapping. Like the RPINRx registers, each register
contains sets of 5-bit fields, with each set 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 
 an
). 
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
TABLE 10-2:
OUTPUT SELECTION FOR REMAPPABLE PIN (RPn) 
0
3
RPnR<4:0>
Default
U1TX Output Enable
U1RTS Output Enable
4
19
OC2 Output Enable
0
3
Default
U1TX Output
U1RTS Output
4
19
OC2 Output
Output Enable
Output Data
RPn
Function
RPnR<4:0>
Output Name
NULL
00000
RPn tied to Default Port Pin
C1OUT
00001
RPn tied to Comparator 1 Output
C2OUT
00010
RPn tied to Comparator 2 Output
U1TX
00011
RPn tied to UART1 Transmit
U1RTS
00100
RPn tied to UART1 Ready-to-Send
SCK1
01000
RPn tied to SPI Clock
(
)
SDO1
00111
RPn tied to SPI Data Output
SS1
01001
RPn tied to SPI1 Slave Select Output
OC1
10010
RPn tied to Output Compare 1
OC2
10011
RPn tied to Output Compare 2
CTPLS
11101
RPn tied to CTMU Pulse Output
C3OUT
11110
RPn tied to Comparator 3 Output
Note 1:
This function is available in dsPIC33FJ32(GP/MC)10X devices only.