11.4.7 Virtual Output Pins
The virtual pins (RPVn) enable the user to connect internal peripherals, whose signals may be of significant use to other peripherals, but these outputs may not be presented on a device pin.
The concept of “virtual pins” enables device features to be mapped to other peripherals that do not otherwise have a dedicated connection.
A simple example use is a Fault input to the PWM from the CLC, as shown in Virtual PPS connection. The CLC output is mapped to a virtual output pin (RPV0), and the PWM input is mapped to the virtual pin. Virtual pins are associated with an input index from Table 11-11.
Virtual PPS connection
// Map CLC output to virtual pin RPV0 (RP166)
_RP166R = 52; // 52 = CLC2OUT
// Map Input PWM PCI 8 to virtual output pin RP166
_PCI8R = 166
