Struct lpc55_pac::gpio::dir::W [−][src]
pub struct W(_);
Register DIR[%s]
writer
Implementations
impl W
[src]
impl W
[src]pub fn dirp(&mut self) -> DIRP_W<'_>
[src]
Bits 0:31 - Selects pin direction for pin PIOm_n (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = input. 1 = output.
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.