pub enum Peripheral {
Show 17 variants
Uart0,
Uart1,
Uart2,
I2c0,
I2c1,
Spi0,
Spi1,
Pwm,
Timer,
Lsadc,
Tsensor,
I2s,
Dma,
Sdma,
Sfc,
Trng,
SecurityGroup,
}Expand description
Enumeration of all peripheral clocks.
Variants§
Implementations§
Source§impl Peripheral
impl Peripheral
Trait Implementations§
Source§impl Clone for Peripheral
impl Clone for Peripheral
Source§fn clone(&self) -> Peripheral
fn clone(&self) -> Peripheral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Peripheral
impl Debug for Peripheral
Source§impl PartialEq for Peripheral
impl PartialEq for Peripheral
Source§fn eq(&self, other: &Peripheral) -> bool
fn eq(&self, other: &Peripheral) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Peripheral
impl Eq for Peripheral
impl StructuralPartialEq for Peripheral
Auto Trait Implementations§
impl Freeze for Peripheral
impl RefUnwindSafe for Peripheral
impl Send for Peripheral
impl Sync for Peripheral
impl Unpin for Peripheral
impl UnsafeUnpin for Peripheral
impl UnwindSafe for Peripheral
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