[][src]Type Definition lpc54606_pac::gpio::pin::R

type R = R<u32, PIN>;

Reader of register PIN[%s]

Methods

impl R[src]

pub fn port(&self) -> PORT_R[src]

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.