pub enum I2cInstance {
I2c0 = 0,
I2c1 = 1,
}Available on crate feature
unstable only.Variants§
Implementations§
Source§impl I2cInstance
impl I2cInstance
pub fn configure_function_clock( self, clocks: &mut ClockTree, config: I2cFunctionClockConfig, )
pub fn function_clock_config( self, clocks: &mut ClockTree, ) -> Option<I2cFunctionClockConfig>
pub fn request_function_clock(self, clocks: &mut ClockTree)
pub fn release_function_clock(self, clocks: &mut ClockTree)
pub fn function_clock_config_frequency( clocks: &mut ClockTree, config: I2cFunctionClockConfig, ) -> u32
pub fn function_clock_frequency(self) -> u32
pub fn function_clock_source_frequency(sclk: I2cFunctionClockSclk) -> u32
Trait Implementations§
Source§impl Clone for I2cInstance
impl Clone for I2cInstance
Source§fn clone(&self) -> I2cInstance
fn clone(&self) -> I2cInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for I2cInstance
Source§impl Debug for I2cInstance
impl Debug for I2cInstance
impl Eq for I2cInstance
Source§impl PartialEq for I2cInstance
impl PartialEq for I2cInstance
impl StructuralPartialEq for I2cInstance
Auto Trait Implementations§
impl Freeze for I2cInstance
impl RefUnwindSafe for I2cInstance
impl Send for I2cInstance
impl Sync for I2cInstance
impl Unpin for I2cInstance
impl UnsafeUnpin for I2cInstance
impl UnwindSafe for I2cInstance
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)