Enum stm32f4xx_hal::spi::CFlag
source · #[repr(u32)]pub enum CFlag {
CrcError = 16,
}
Expand description
SPI clearable flags
Variants§
CrcError = 16
CRC error flag
Trait Implementations§
source§impl PartialEq for CFlag
impl PartialEq for CFlag
source§impl RawBitFlags for CFlag
impl RawBitFlags for CFlag
source§const EMPTY: Self::Numeric = {transmute(0x00000000): <spi::CFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <spi::CFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
source§const DEFAULT: Self::Numeric = {transmute(0x00000000): <spi::CFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <spi::CFlag as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
source§const ALL_BITS: Self::Numeric = {transmute(0x00000010): <spi::CFlag as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x00000010): <spi::CFlag as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<CFlag>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<CFlag>"
The name of the type for debug formatting purposes. Read more
impl Copy for CFlag
impl Eq for CFlag
impl StructuralEq for CFlag
impl StructuralPartialEq for CFlag
Auto Trait Implementations§
impl RefUnwindSafe for CFlag
impl Send for CFlag
impl Sync for CFlag
impl Unpin for CFlag
impl UnwindSafe for CFlag
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