Type Alias nrf52840_pac::p0::dirset::PIN4_W

source ·
pub type PIN4_W<'a, const O: u8> = BitWriter1S<'a, u32, DIRSET_SPEC, PIN4_AW, O>;
Expand description

Field PIN4 writer - Set as output pin 4

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> PIN4_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