pub enum UartInstance {
Uart0 = 0,
Uart1 = 1,
}Available on crate feature
unstable only.Variants§
Implementations§
Source§impl UartInstance
impl UartInstance
pub fn configure_function_clock( self, clocks: &mut ClockTree, config: UartFunctionClockConfig, )
pub fn function_clock_config( self, clocks: &mut ClockTree, ) -> Option<UartFunctionClockConfig>
pub fn request_function_clock(self, clocks: &mut ClockTree)
pub fn release_function_clock(self, clocks: &mut ClockTree)
pub fn function_clock_config_frequency( self, clocks: &mut ClockTree, config: UartFunctionClockConfig, ) -> u32
pub fn function_clock_frequency(self, clocks: &mut ClockTree) -> u32
pub fn configure_baud_rate_generator( self, clocks: &mut ClockTree, config: UartBaudRateGeneratorConfig, )
pub fn baud_rate_generator_config( self, clocks: &mut ClockTree, ) -> Option<UartBaudRateGeneratorConfig>
pub fn request_baud_rate_generator(self, clocks: &mut ClockTree)
pub fn release_baud_rate_generator(self, clocks: &mut ClockTree)
pub fn baud_rate_generator_config_frequency( self, clocks: &mut ClockTree, config: UartBaudRateGeneratorConfig, ) -> u32
pub fn baud_rate_generator_frequency(self, clocks: &mut ClockTree) -> u32
Trait Implementations§
Source§impl Clone for UartInstance
impl Clone for UartInstance
Source§fn clone(&self) -> UartInstance
fn clone(&self) -> UartInstance
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UartInstance
impl Debug for UartInstance
Source§impl PartialEq for UartInstance
impl PartialEq for UartInstance
impl Copy for UartInstance
impl Eq for UartInstance
impl StructuralPartialEq for UartInstance
Auto Trait Implementations§
impl Freeze for UartInstance
impl RefUnwindSafe for UartInstance
impl Send for UartInstance
impl Sync for UartInstance
impl Unpin for UartInstance
impl UnsafeUnpin for UartInstance
impl UnwindSafe for UartInstance
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)