17.5.9 Input Value

Name: IN
Offset: 0x08
Reset: 0x00
Property: -

Bit 76543210 
 IN[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:0 – IN[7:0] Input Value

This register shows the value present on the pins if the digital input driver is enabled. IN[n] shows the value of pin n of the port. The input is not sampled and cannot be read if the digital input buffers are disabled.

Writing to a bit of PORT.IN will toggle the corresponding bit in PORT.OUT.