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