Type Alias d1_pac::ths::ths_data_intc::THS_DATA_IRQ_EN_W

source ·
pub type THS_DATA_IRQ_EN_W<'a, const O: u8> = BitWriter<'a, u32, THS_DATA_INTC_SPEC, THS_DATA_IRQ_EN_A, O>;
Expand description

Field ths_data_irq_en writer - Enable the interrupt of sensor_data update

If enabled, when the measured sensor_data is updated, it will generate an interrupt.

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable