Input Value

Name:
IN
Offset:
0x02
Reset:
0x00
Access:
-
 Bit7 6 5 4 3 2 1 0 IN[7:0] AccessR/W R/W R/W R/W R/W R/W R/W R/W Reset0 0 0 0 0 0 0 0

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

Input Value

This bit field shows the state of the PORTx pins when the digital input buffer is enabled.

Writing a ‘0’ to bit n in this bit field has no effect.

Writing a ‘1’ to bit n in this bit field will toggle the corresponding bit in PORTx.OUT.

If the digital input buffer is disabled, the input is not sampled, and the bit value will not change. The digital input buffer for pin n (Pxn) can be configured in the Input/Sense Configuration (ISC) bit field in the Pin n Control (PORTx.PINnCTRL) register.

The available states of each bit n in this bit field is shown in the table below.

ValueDescription
0 The voltage level on Pxn is low
1 The voltage level on Pxn is high