Type Definition lpc81x_pac::lpc812::gpio::mpin0::MPORTP_W

source ·
pub type MPORTP_W<'a, const O: u8> = FieldWriter<'a, u32, MPIN0_SPEC, u32, u32, 18, O>;
Expand description

Field MPORTP writer - Masked port register (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.