Type Alias d1_pac::ths::ths_data_intc::THS_DATA_IRQ_EN_R

source ·
pub type THS_DATA_IRQ_EN_R = BitReader<THS_DATA_IRQ_EN_A>;
Expand description

Field ths_data_irq_en reader - 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_R { /* private fields */ }

Implementations§

source§

impl THS_DATA_IRQ_EN_R

source

pub fn variant(&self) -> THS_DATA_IRQ_EN_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE