nrf52840_pac::p0::dirset

Type Alias PIN17_W

Source
pub type PIN17_W<'a, const O: u8> = BitWriter1S<'a, u32, DIRSET_SPEC, PIN17_AW, O>;
Expand description

Field PIN17 writer - Set as output pin 17

Aliased Type§

struct PIN17_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> PIN17_W<'a, O>

Source

pub fn set(self) -> &'a mut W

Write: writing a ‘1’ sets pin to output; writing a ‘0’ has no effect