19.14.2 LATx

Output Latch Register
Important:
  • Writes to LATx are equivalent to 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
  • Unimplemented bits will read back as ‘0
Name: LATx

Bit 76543210 
 LATx7LATx6LATx5LATx4LATx3LATx2LATx1LATx0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset xxxxxxxx 

Bits 0, 1, 2, 3, 4, 5, 6, 7 – LATxn Output Latch Value

Reset States: 
POR/BOR = xxxxxxxx
All Other Resets = uuuuuuuu
Writes to LATx are equivalent to 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 Unimplemented bits will read back as ‘0’