xwrust::xwds::soc

Struct EirqFlag

source
pub struct EirqFlag(/* private fields */);
Expand description

外部中断标志

Implementations§

source§

impl EirqFlag

source

pub const RISING: EirqFlag = _

上升沿触发

source

pub const FALLING: EirqFlag = _

下降沿触发

source

pub const EITHER: EirqFlag = _

任意边沿触发

source

pub const LOW: EirqFlag = _

低电平触发

source

pub const HIGH: EirqFlag = _

高电平触发

source

pub const WKUP: EirqFlag = _

触发后唤醒系统

source

pub const DMA: EirqFlag = _

触发后启动DMA传输

Trait Implementations§

source§

impl BitAnd for EirqFlag

source§

type Output = EirqFlag

The resulting type after applying the & operator.
source§

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

Performs the & operation. Read more
source§

impl BitAndAssign for EirqFlag

source§

fn bitand_assign(&mut self, other: Self)

Performs the &= operation. Read more
source§

impl BitOr for EirqFlag

source§

type Output = EirqFlag

The resulting type after applying the | operator.
source§

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

Performs the | operation. Read more
source§

impl BitOrAssign for EirqFlag

source§

fn bitor_assign(&mut self, other: Self)

Performs the |= operation. Read more
source§

impl BitXor for EirqFlag

source§

type Output = EirqFlag

The resulting type after applying the ^ operator.
source§

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

Performs the ^ operation. Read more
source§

impl BitXorAssign for EirqFlag

source§

fn bitxor_assign(&mut self, other: Self)

Performs the ^= operation. Read more
source§

impl From<usize> for EirqFlag

source§

fn from(flag: XwSq) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for EirqFlag

§

impl RefUnwindSafe for EirqFlag

§

impl Send for EirqFlag

§

impl Sync for EirqFlag

§

impl Unpin for EirqFlag

§

impl UnwindSafe for EirqFlag

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

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

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.