1 Features
Even though a Signal Routing Port may seem similar to a regular I/O port, their operation and behavior are very different. Table 1-1 shows feature comparisons between a Signal Routing Port and a regular I/O port.
Feature | Signal Routing Port | Regular I/O Port |
---|---|---|
Port Nomenclature | PORTW | PORTx (x = A, B, C, …) |
Pins per Port | Eight RWn signal routing port pins (n = 0 … 7) | Eight Rxn physical I/O pins (n = 0 … 7) |
Software Read/Write | PORTW/LATW registers | PORTx/LATx registers |
Data Direction | Supports virtual input (PORTWINx registers) and virtual output (PORTW register) simultaneously | TRISx register typically determines whether a pin reads a physical input or outputs to a physical pin |
Other I/O Port Features | Features do not apply to Signal Routing Port since there is no external pin connection |
|
Other Signal Routing Port Features |
| Features not available on regular I/O Port |
Source of the Pin |
|
|
Destination of the Pin |
|
|
Peripheral Pin Select (PPS) Support | Yes | Yes |
Interrupt-on-Change | IOCSR interrupt | IOC interrupt |
DMA/ADC Triggers | IOCSR and Individual signal routing port pin outputs | IOC only |
Note:
|