Enum stm32_metapac::syscfg::vals::Spi1RxDmaRmp
#[repr(u8)]pub enum Spi1RxDmaRmp {
MAPDMA1CH3 = 0,
MAPDMA1CH5 = 1,
MAPDMA1CH7 = 2,
_RESERVED_3 = 3,
}
Variants§
MAPDMA1CH3 = 0
SPI1_RX mapped on DMA1 CH2
MAPDMA1CH5 = 1
SPI1_RX mapped on DMA1 CH4
MAPDMA1CH7 = 2
SPI1_RX mapped on DMA1 CH6
_RESERVED_3 = 3
Implementations§
§impl Spi1RxDmaRmp
impl Spi1RxDmaRmp
pub const fn from_bits(val: u8) -> Spi1RxDmaRmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Spi1RxDmaRmp
impl Clone for Spi1RxDmaRmp
§fn clone(&self) -> Spi1RxDmaRmp
fn clone(&self) -> Spi1RxDmaRmp
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 From<Spi1RxDmaRmp> for u8
impl From<Spi1RxDmaRmp> for u8
§fn from(val: Spi1RxDmaRmp) -> u8
fn from(val: Spi1RxDmaRmp) -> u8
Converts to this type from the input type.
§impl From<u8> for Spi1RxDmaRmp
impl From<u8> for Spi1RxDmaRmp
§fn from(val: u8) -> Spi1RxDmaRmp
fn from(val: u8) -> Spi1RxDmaRmp
Converts to this type from the input type.
§impl Ord for Spi1RxDmaRmp
impl Ord for Spi1RxDmaRmp
§impl PartialEq for Spi1RxDmaRmp
impl PartialEq for Spi1RxDmaRmp
§fn eq(&self, other: &Spi1RxDmaRmp) -> bool
fn eq(&self, other: &Spi1RxDmaRmp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Spi1RxDmaRmp
impl PartialOrd for Spi1RxDmaRmp
§fn partial_cmp(&self, other: &Spi1RxDmaRmp) -> Option<Ordering>
fn partial_cmp(&self, other: &Spi1RxDmaRmp) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Spi1RxDmaRmp
impl Eq for Spi1RxDmaRmp
impl StructuralEq for Spi1RxDmaRmp
impl StructuralPartialEq for Spi1RxDmaRmp
Auto Trait Implementations§
impl RefUnwindSafe for Spi1RxDmaRmp
impl Send for Spi1RxDmaRmp
impl Sync for Spi1RxDmaRmp
impl Unpin for Spi1RxDmaRmp
impl UnwindSafe for Spi1RxDmaRmp
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