Struct Stm32f3xxDefaultPeripherals

Source
pub struct Stm32f3xxDefaultPeripherals<'a> {
    pub adc1: Adc<'a>,
    pub dma: Dma1<'a>,
    pub exti: &'a Exti<'a>,
    pub flash: Flash,
    pub i2c1: I2C<'a>,
    pub spi1: Spi<'a>,
    pub tim2: Tim2<'a>,
    pub usart1: Usart<'a>,
    pub usart2: Usart<'a>,
    pub usart3: Usart<'a>,
    pub gpio_ports: GpioPorts<'a>,
    pub watchdog: WindoWdg<'a>,
}

Fields§

§adc1: Adc<'a>§dma: Dma1<'a>§exti: &'a Exti<'a>§flash: Flash§i2c1: I2C<'a>§spi1: Spi<'a>§tim2: Tim2<'a>§usart1: Usart<'a>§usart2: Usart<'a>§usart3: Usart<'a>§gpio_ports: GpioPorts<'a>§watchdog: WindoWdg<'a>

Implementations§

Source§

impl<'a> Stm32f3xxDefaultPeripherals<'a>

Source

pub fn new(rcc: &'a Rcc, exti: &'a Exti<'a>) -> Self

Source

pub fn setup_circular_deps(&'static self)

Trait Implementations§

Source§

impl InterruptService for Stm32f3xxDefaultPeripherals<'_>

Source§

unsafe fn service_interrupt(&self, interrupt: u32) -> bool

Service an interrupt, if supported by this chip. If this interrupt number is not supported, return false.

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.