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
§impl PartialOrd for Spi1TxDmaRmp
impl PartialOrd for Spi1TxDmaRmp
impl Copy for Spi1TxDmaRmp
impl Eq for Spi1TxDmaRmp
impl StructuralPartialEq for Spi1TxDmaRmp
Auto Trait Implementations§
impl Freeze for Spi1TxDmaRmp
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
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
)