Type Definition W
lpc55_pac::gpio::pin
type W = W<u32, PIN>;
Writer for register PIN[%s]
impl W
pub fn port(&mut self) -> PORT_W<'_>
Bits 0:31 - 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.