Struct kernel::irq::Type

source · []
#[non_exhaustive]
pub struct Type;
Expand description

Contains constants that describes how an interrupt can be triggered.

It is tagged with non_exhaustive to prevent users from instantiating it.

Implementations

The interrupt cannot be triggered.

The interrupt is triggered when the signal goes from low to high.

The interrupt is triggered when the signal goes from high to low.

The interrupt is triggered when the signal goes from low to high and when it goes to high to low.

The interrupt is triggered while the signal is held high.

The interrupt is triggered while the signal is held low.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.