Writes to LATx are equivalent with
writes to the corresponding PORTx register. Reads from LATx register return
register values, not I/O pin values.
Refer to the “Pin
Allocation Table” for details about pin availability per
port.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.