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