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