Type Alias nrf52840_pac::pwm0::inten::PWMPERIODEND_W

source ·
pub type PWMPERIODEND_W<'a, const O: u8> = BitWriter<'a, u32, INTEN_SPEC, PWMPERIODEND_A, O>;
Expand description

Field PWMPERIODEND writer - Enable or disable interrupt for PWMPERIODEND event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable