Enum d1_pac::ths::ths_data_intc::THS_DATA_IRQ_EN_A
source · pub enum THS_DATA_IRQ_EN_A {
DISABLE = 0,
ENABLE = 1,
}
Expand description
Enable the interrupt of sensor_data update
If enabled, when the measured sensor_data is updated, it will generate an interrupt.
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for THS_DATA_IRQ_EN_A
impl Clone for THS_DATA_IRQ_EN_A
source§fn clone(&self) -> THS_DATA_IRQ_EN_A
fn clone(&self) -> THS_DATA_IRQ_EN_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for THS_DATA_IRQ_EN_A
impl Debug for THS_DATA_IRQ_EN_A
source§impl From<THS_DATA_IRQ_EN_A> for bool
impl From<THS_DATA_IRQ_EN_A> for bool
source§fn from(variant: THS_DATA_IRQ_EN_A) -> Self
fn from(variant: THS_DATA_IRQ_EN_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for THS_DATA_IRQ_EN_A
impl PartialEq for THS_DATA_IRQ_EN_A
impl Copy for THS_DATA_IRQ_EN_A
impl Eq for THS_DATA_IRQ_EN_A
impl StructuralPartialEq for THS_DATA_IRQ_EN_A
Auto Trait Implementations§
impl Freeze for THS_DATA_IRQ_EN_A
impl RefUnwindSafe for THS_DATA_IRQ_EN_A
impl Send for THS_DATA_IRQ_EN_A
impl Sync for THS_DATA_IRQ_EN_A
impl Unpin for THS_DATA_IRQ_EN_A
impl UnwindSafe for THS_DATA_IRQ_EN_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)