Struct lps22hb::interrupt::InterruptConfig[][src]

pub struct InterruptConfig {
    pub active_high_or_low: bool,
    pub pushpull_or_opendrain: bool,
    pub data_signal_config: INT_DRDY,
    pub enable_fifo_full: bool,
    pub enable_fifo_fth: bool,
    pub enable_fifo_overrun: bool,
    pub enable_data_ready: bool,
    pub enable_latch_interrupt: bool,
    pub enable_low_event: bool,
    pub enable_high_event: bool,
}
Expand description

Interrupt pin settings

Fields

active_high_or_low: bool

configure interrupt pin as active high or active low

pushpull_or_opendrain: bool

configure interrupt pin as push-pull or open drain

data_signal_config: INT_DRDY

configure data signal on the interrupt pin

enable_fifo_full: bool

enable FIFO full flag on interrupt pin

enable_fifo_fth: bool

enable FIFO watermark flag on interrupt pin

enable_fifo_overrun: bool

enable FIFO overrun flag on interrupt pin

enable_data_ready: bool

enable data ready signal on interrupt pin

enable_latch_interrupt: bool

enable latching interrupt request to INT_SOURCE register

enable_low_event: bool

enable low pressure event on interrupt pin

enable_high_event: bool

enable hihg pressure event on interrupt pin

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.