Type Alias nrf52840_pac::p0::dirclr::PIN2_W

source ·
pub type PIN2_W<'a, const O: u8> = BitWriter1C<'a, u32, DIRCLR_SPEC, PIN2_AW, O>;
Expand description

Field PIN2 writer - Set as input pin 2

Aliased Type§

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

Implementations§

source§

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

source

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

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