pub enum SpiInstance {
Spi2 = 0,
}Available on crate feature
unstable only.Variants§
Spi2 = 0
Implementations§
Source§impl SpiInstance
impl SpiInstance
pub fn configure_function_clock( self, clocks: &mut ClockTree, new_selector: SpiFunctionClockConfig, )
pub fn function_clock_config( self, clocks: &mut ClockTree, ) -> Option<SpiFunctionClockConfig>
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: SpiFunctionClockConfig, ) -> u32
pub fn function_clock_frequency(self) -> u32
pub fn function_clock_source_frequency(source: SpiFunctionClockConfig) -> u32
Trait Implementations§
Source§impl Clone for SpiInstance
impl Clone for SpiInstance
Source§fn clone(&self) -> SpiInstance
fn clone(&self) -> SpiInstance
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 SpiInstance
Source§impl Debug for SpiInstance
impl Debug for SpiInstance
impl Eq for SpiInstance
Source§impl PartialEq for SpiInstance
impl PartialEq for SpiInstance
impl StructuralPartialEq for SpiInstance
Auto Trait Implementations§
impl Freeze for SpiInstance
impl RefUnwindSafe for SpiInstance
impl Send for SpiInstance
impl Sync for SpiInstance
impl Unpin for SpiInstance
impl UnsafeUnpin for SpiInstance
impl UnwindSafe for SpiInstance
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)