Type Alias nrf52840_pac::rtc0::evten::COMPARE0_W

source ·
pub type COMPARE0_W<'a, const O: u8> = BitWriter<'a, u32, EVTEN_SPEC, COMPARE0_A, O>;
Expand description

Field COMPARE0 writer - Enable or disable event routing for COMPARE[0] event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable