Enum stm32_metapac::xspi::vals::WccrAdmode
#[repr(u8)]pub enum WccrAdmode {
B_0X0 = 0,
B_0X1 = 1,
B_0X2 = 2,
B_0X3 = 3,
B_0X4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
B_0X0 = 0
no address
B_0X1 = 1
address on a single line
B_0X2 = 2
address on two lines
B_0X3 = 3
address on four lines
B_0X4 = 4
address on eight lines
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl WccrAdmode
impl WccrAdmode
pub const fn from_bits(val: u8) -> WccrAdmode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for WccrAdmode
impl Clone for WccrAdmode
§fn clone(&self) -> WccrAdmode
fn clone(&self) -> WccrAdmode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for WccrAdmode
impl Debug for WccrAdmode
§impl From<WccrAdmode> for u8
impl From<WccrAdmode> for u8
§fn from(val: WccrAdmode) -> u8
fn from(val: WccrAdmode) -> u8
Converts to this type from the input type.
§impl From<u8> for WccrAdmode
impl From<u8> for WccrAdmode
§fn from(val: u8) -> WccrAdmode
fn from(val: u8) -> WccrAdmode
Converts to this type from the input type.
§impl Ord for WccrAdmode
impl Ord for WccrAdmode
§impl PartialEq for WccrAdmode
impl PartialEq for WccrAdmode
§impl PartialOrd for WccrAdmode
impl PartialOrd for WccrAdmode
impl Copy for WccrAdmode
impl Eq for WccrAdmode
impl StructuralPartialEq for WccrAdmode
Auto Trait Implementations§
impl Freeze for WccrAdmode
impl RefUnwindSafe for WccrAdmode
impl Send for WccrAdmode
impl Sync for WccrAdmode
impl Unpin for WccrAdmode
impl UnwindSafe for WccrAdmode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)