Struct lpc845_pac::gpio::pin::PORT_R [−][src]
pub struct PORT_R(_);
Expand description
Field PORT
reader - Reads pin states or loads output bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.
Methods from Deref<Target = FieldReader<u32, u32>>
Returns true
if the bit is clear (0).
Returns true
if the bit is set (1).