esp_idf_hal::interrupt

Type Alias IntrFlags

Source
pub type IntrFlags = InterruptType;
Expand description

For backwards compatibility

Aliased Type§

enum IntrFlags {
Show 13 variants Level1, Level2, Level3, Level4, Level5, Level6, Nmi, Shared, Edge, Iram, IntrDisabled, LowMed, High,
}

Variants§

§

Level1

§

Level2

§

Level3

§

Level4

§

Level5

§

Level6

§

Nmi

§

Shared

§

Edge

§

Iram

§

IntrDisabled

§

LowMed

§

High

Implementations

Source§

impl InterruptType

Source

pub fn levels(&self) -> EnumSet<Self>

Trait Implementations

Source§

impl<O: Into<EnumSet<InterruptType>>> BitAnd<O> for InterruptType

Source§

type Output = EnumSet<InterruptType>

The resulting type after applying the & operator.
Source§

fn bitand(self, other: O) -> Self::Output

Performs the & operation. Read more
Source§

impl<O: Into<EnumSet<InterruptType>>> BitOr<O> for InterruptType

Source§

type Output = EnumSet<InterruptType>

The resulting type after applying the | operator.
Source§

fn bitor(self, other: O) -> Self::Output

Performs the | operation. Read more
Source§

impl<O: Into<EnumSet<InterruptType>>> BitXor<O> for InterruptType

Source§

type Output = EnumSet<InterruptType>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: O) -> Self::Output

Performs the ^ operation. Read more
Source§

impl Clone for InterruptType

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InterruptType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl EnumSetTypePrivate for InterruptType

Source§

const CONST_HELPER_INSTANCE: __EnumSetConstHelper = __EnumSetConstHelper

The instance of the ConstHelper.
Source§

const ALL_BITS: Self::Repr = {transmute(0x1fff): <interrupt::InterruptType as enumset::__internal::EnumSetTypePrivate>::Repr}

A mask of bits that are valid in the bitset.
Source§

const BIT_WIDTH: u32 = 13u32

The largest bit used in the bitset.
Source§

const VARIANT_COUNT: u32 = 13u32

The number of variants in the bitset.
Source§

type ConstHelper = __EnumSetConstHelper

A helper type used to implement the enum_set! macro among other things.
Source§

type Repr = u16

The underlying type used to store the bitset.
Source§

fn enum_into_u32(self) -> u32

Converts an enum of this type into its bit position.
Source§

unsafe fn enum_from_u32(val: u32) -> Self

Converts a bit position into an enum value.
Source§

impl Not for InterruptType

Source§

type Output = EnumSet<InterruptType>

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl PartialEq<EnumSet<InterruptType>> for InterruptType

Source§

fn eq(&self, other: &EnumSet<InterruptType>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for InterruptType

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<O: Into<EnumSet<InterruptType>>> Sub<O> for InterruptType

Source§

type Output = EnumSet<InterruptType>

The resulting type after applying the - operator.
Source§

fn sub(self, other: O) -> Self::Output

Performs the - operation. Read more
Source§

impl Copy for InterruptType

Source§

impl EnumSetType for InterruptType

Source§

impl Eq for InterruptType