Struct lpc55_pac::secgpio::pin0::W [−][src]
pub struct W(_);
Register PIN0
writer
Implementations
impl W
[src]
impl W
[src]pub fn port(&mut self) -> PORT_W<'_>
[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.
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.