Enum I2cPa10Fmp
#[repr(u8)]pub enum I2cPa10Fmp {
STANDARD = 0,
FMP = 1,
}
Variants§
STANDARD = 0
PA10 pin operate in standard mode
FMP = 1
I2C FM+ mode enabled on PA10 and the Speed control is bypassed
Implementations§
§impl I2cPa10Fmp
impl I2cPa10Fmp
pub const fn from_bits(val: u8) -> I2cPa10Fmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for I2cPa10Fmp
impl Clone for I2cPa10Fmp
§fn clone(&self) -> I2cPa10Fmp
fn clone(&self) -> I2cPa10Fmp
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<I2cPa10Fmp> for u8
impl From<I2cPa10Fmp> for u8
§fn from(val: I2cPa10Fmp) -> u8
fn from(val: I2cPa10Fmp) -> u8
Converts to this type from the input type.
§impl From<u8> for I2cPa10Fmp
impl From<u8> for I2cPa10Fmp
§fn from(val: u8) -> I2cPa10Fmp
fn from(val: u8) -> I2cPa10Fmp
Converts to this type from the input type.
§impl Ord for I2cPa10Fmp
impl Ord for I2cPa10Fmp
§impl PartialEq for I2cPa10Fmp
impl PartialEq for I2cPa10Fmp
§impl PartialOrd for I2cPa10Fmp
impl PartialOrd for I2cPa10Fmp
impl Copy for I2cPa10Fmp
impl Eq for I2cPa10Fmp
impl StructuralPartialEq for I2cPa10Fmp
Auto Trait Implementations§
impl Freeze for I2cPa10Fmp
impl RefUnwindSafe for I2cPa10Fmp
impl Send for I2cPa10Fmp
impl Sync for I2cPa10Fmp
impl Unpin for I2cPa10Fmp
impl UnwindSafe for I2cPa10Fmp
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