Skip to main content

PeripheralClocks

Struct PeripheralClocks 

Source
pub struct PeripheralClocks {
Show 34 fields pub uart_0: Uart0Clock<Disabled>, pub smc: SmcClock<Disabled>, pub pio_a: PioAClock<Disabled>, pub pio_b: PioBClock<Disabled>, pub pio_c: PioCClock<Disabled>, pub pio_d: PioDClock<Disabled>, pub pio_e: PioEClock<Disabled>, pub usart_0: Usart0Clock<Disabled>, pub usart_1: Usart1Clock<Disabled>, pub hsmci: HsmciClock<Disabled>, pub twi_0: Twi0Clock<Disabled>, pub twi_1: Twi1Clock<Disabled>, pub spi: SpiClock<Disabled>, pub dmac: DmacClock<Disabled>, pub tc_0: Tc0Clock<Disabled>, pub tc_1: Tc1Clock<Disabled>, pub tc_2: Tc2Clock<Disabled>, pub tc_3: Tc3Clock<Disabled>, pub tc_4: Tc4Clock<Disabled>, pub tc_5: Tc5Clock<Disabled>, pub tc_6: Tc6Clock<Disabled>, pub tc_7: Tc7Clock<Disabled>, pub tc_8: Tc8Clock<Disabled>, pub afec_0: Afec0Clock<Disabled>, pub afec_1: Afec1Clock<Disabled>, pub dacc: DaccClock<Disabled>, pub acc: AccClock<Disabled>, pub udp: UdpClock<Disabled>, pub pwm: PwmClock<Disabled>, pub can_0: Can0Clock<Disabled>, pub can_1: Can1Clock<Disabled>, pub aes: AesClock<Disabled>, pub gmac: GmacClock<Disabled>, pub uart_1: Uart1Clock<Disabled>,
}

Fields§

§uart_0: Uart0Clock<Disabled>§smc: SmcClock<Disabled>§pio_a: PioAClock<Disabled>§pio_b: PioBClock<Disabled>§pio_c: PioCClock<Disabled>§pio_d: PioDClock<Disabled>§pio_e: PioEClock<Disabled>§usart_0: Usart0Clock<Disabled>§usart_1: Usart1Clock<Disabled>§hsmci: HsmciClock<Disabled>§twi_0: Twi0Clock<Disabled>§twi_1: Twi1Clock<Disabled>§spi: SpiClock<Disabled>§dmac: DmacClock<Disabled>§tc_0: Tc0Clock<Disabled>§tc_1: Tc1Clock<Disabled>§tc_2: Tc2Clock<Disabled>§tc_3: Tc3Clock<Disabled>§tc_4: Tc4Clock<Disabled>§tc_5: Tc5Clock<Disabled>§tc_6: Tc6Clock<Disabled>§tc_7: Tc7Clock<Disabled>§tc_8: Tc8Clock<Disabled>§afec_0: Afec0Clock<Disabled>§afec_1: Afec1Clock<Disabled>§dacc: DaccClock<Disabled>§acc: AccClock<Disabled>§udp: UdpClock<Disabled>§pwm: PwmClock<Disabled>§can_0: Can0Clock<Disabled>§can_1: Can1Clock<Disabled>§aes: AesClock<Disabled>§gmac: GmacClock<Disabled>§uart_1: Uart1Clock<Disabled>

Implementations§

Source§

impl PeripheralClocks

Source

pub fn new() -> Self

Trait Implementations§

Source§

impl Default for PeripheralClocks

Source§

fn default() -> PeripheralClocks

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.