Type Alias W

Source
pub type W = W<INTERRUPT_MODE_SPEC>;
Expand description

Register interrupt_mode writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn hbn_pin_wakeup_mode( &mut self, ) -> HBN_PIN_WAKEUP_MODE_W<'_, INTERRUPT_MODE_SPEC>

Bits 0:3

Source

pub fn hbn_pin_wakeup_mask( &mut self, ) -> HBN_PIN_WAKEUP_MASK_W<'_, INTERRUPT_MODE_SPEC>

Bits 4:7

Source

pub fn reg_en_hw_pu_pd(&mut self) -> REG_EN_HW_PU_PD_W<'_, INTERRUPT_MODE_SPEC>

Bit 16

Source

pub fn irq_bor_en(&mut self) -> IRQ_BOR_EN_W<'_, INTERRUPT_MODE_SPEC>

Bit 18

Source

pub fn irq_acomp0_en(&mut self) -> IRQ_ACOMP0_EN_W<'_, INTERRUPT_MODE_SPEC>

Bits 20:21

Source

pub fn irq_acomp1_en(&mut self) -> IRQ_ACOMP1_EN_W<'_, INTERRUPT_MODE_SPEC>

Bits 22:23

Source

pub fn pin_wakeup_sel(&mut self) -> PIN_WAKEUP_SEL_W<'_, INTERRUPT_MODE_SPEC>

Bits 24:26

Source

pub fn pin_wakeup_en(&mut self) -> PIN_WAKEUP_EN_W<'_, INTERRUPT_MODE_SPEC>

Bit 27

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual