Enum stm32wlxx_hal::subghz::CrcType
source · #[repr(u8)]pub enum CrcType {
Byte1 = 0,
Disabled = 1,
Byte2 = 2,
Byte1Inverted = 4,
Byte2Inverted = 6,
}
Expand description
CRC type definition for GenericPacketParams
.
Variants§
Byte1 = 0
1-byte CRC.
Disabled = 1
CRC disabled.
Byte2 = 2
2-byte CRC.
Byte1Inverted = 4
1-byte inverted CRC.
Byte2Inverted = 6
2-byte inverted CRC.
Trait Implementations§
source§impl PartialEq for CrcType
impl PartialEq for CrcType
impl Copy for CrcType
impl Eq for CrcType
impl StructuralEq for CrcType
impl StructuralPartialEq for CrcType
Auto Trait Implementations§
impl RefUnwindSafe for CrcType
impl Send for CrcType
impl Sync for CrcType
impl Unpin for CrcType
impl UnwindSafe for CrcType
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