16.5.9 Input Value
Name: | IN |
Offset: | 0x08 |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
IN[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 7:0 – IN[7:0] Input Value
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.
Value | Description |
---|---|
0 | The voltage level on Pxn is low |
1 | The voltage level on Pxn is high |