[][src]Struct drone_stm32_map_periph_gpio::GpioPortPeriph

pub struct GpioPortPeriph<T: GpioPortMap> {
    pub rcc_busenr_gpioen: T::SRccBusenrGpioen,
    pub rcc_busrstr_gpiorst: T::SRccBusrstrGpiorst,
    pub rcc_bussmenr_gpiosmen: T::SRccBussmenrGpiosmen,
    pub gpio_afrl: T::SGpioAfrl,
    pub gpio_afrh: T::SGpioAfrh,
    pub gpio_ascr: T::SGpioAscrOpt,
    pub gpio_brr: T::SGpioBrr,
    pub gpio_bsrr: T::SGpioBsrr,
    pub gpio_idr: T::SGpioIdr,
    pub gpio_lckr: T::SGpioLckr,
    pub gpio_moder: T::SGpioModer,
    pub gpio_odr: T::SGpioOdr,
    pub gpio_ospeedr: T::SGpioOspeedr,
    pub gpio_otyper: T::SGpioOtyper,
    pub gpio_pupdr: T::SGpioPupdr,
}

Generic GPIO port peripheral.

Fields

rcc_busenr_gpioen: T::SRccBusenrGpioenrcc_busrstr_gpiorst: T::SRccBusrstrGpiorstrcc_bussmenr_gpiosmen: T::SRccBussmenrGpiosmengpio_afrl: T::SGpioAfrlgpio_afrh: T::SGpioAfrhgpio_ascr: T::SGpioAscrOptgpio_brr: T::SGpioBrrgpio_bsrr: T::SGpioBsrrgpio_idr: T::SGpioIdrgpio_lckr: T::SGpioLckrgpio_moder: T::SGpioModergpio_odr: T::SGpioOdrgpio_ospeedr: T::SGpioOspeedrgpio_otyper: T::SGpioOtypergpio_pupdr: T::SGpioPupdr

Auto Trait Implementations

impl<T> Unpin for GpioPortPeriph<T> where
    <T as GpioAfrh<T>>::SGpioAfrh: Unpin,
    <T as GpioAfrl<T>>::SGpioAfrl: Unpin,
    <T as GpioAscrOpt>::SGpioAscrOpt: Unpin,
    <T as GpioBrr<T>>::SGpioBrr: Unpin,
    <T as GpioBsrr<T>>::SGpioBsrr: Unpin,
    <T as GpioIdr<T>>::SGpioIdr: Unpin,
    <T as GpioLckr<T>>::SGpioLckr: Unpin,
    <T as GpioModer<T>>::SGpioModer: Unpin,
    <T as GpioOdr<T>>::SGpioOdr: Unpin,
    <T as GpioOspeedr<T>>::SGpioOspeedr: Unpin,
    <T as GpioOtyper<T>>::SGpioOtyper: Unpin,
    <T as GpioPupdr<T>>::SGpioPupdr: Unpin,
    <T as RccBusenrGpioen>::SRccBusenrGpioen: Unpin,
    <T as RccBusrstrGpiorst>::SRccBusrstrGpiorst: Unpin,
    <T as RccBussmenrGpiosmen>::SRccBussmenrGpiosmen: Unpin

impl<T> Send for GpioPortPeriph<T> where
    <T as GpioAfrh<T>>::SGpioAfrh: Send,
    <T as GpioAfrl<T>>::SGpioAfrl: Send,
    <T as GpioAscrOpt>::SGpioAscrOpt: Send,
    <T as GpioBrr<T>>::SGpioBrr: Send,
    <T as GpioBsrr<T>>::SGpioBsrr: Send,
    <T as GpioIdr<T>>::SGpioIdr: Send,
    <T as GpioLckr<T>>::SGpioLckr: Send,
    <T as GpioModer<T>>::SGpioModer: Send,
    <T as GpioOdr<T>>::SGpioOdr: Send,
    <T as GpioOspeedr<T>>::SGpioOspeedr: Send,
    <T as GpioOtyper<T>>::SGpioOtyper: Send,
    <T as GpioPupdr<T>>::SGpioPupdr: Send,
    <T as RccBusenrGpioen>::SRccBusenrGpioen: Send,
    <T as RccBusrstrGpiorst>::SRccBusrstrGpiorst: Send,
    <T as RccBussmenrGpiosmen>::SRccBussmenrGpiosmen: Send

impl<T> Sync for GpioPortPeriph<T> where
    <T as GpioAfrh<T>>::SGpioAfrh: Sync,
    <T as GpioAfrl<T>>::SGpioAfrl: Sync,
    <T as GpioAscrOpt>::SGpioAscrOpt: Sync,
    <T as GpioBrr<T>>::SGpioBrr: Sync,
    <T as GpioBsrr<T>>::SGpioBsrr: Sync,
    <T as GpioIdr<T>>::SGpioIdr: Sync,
    <T as GpioLckr<T>>::SGpioLckr: Sync,
    <T as GpioModer<T>>::SGpioModer: Sync,
    <T as GpioOdr<T>>::SGpioOdr: Sync,
    <T as GpioOspeedr<T>>::SGpioOspeedr: Sync,
    <T as GpioOtyper<T>>::SGpioOtyper: Sync,
    <T as GpioPupdr<T>>::SGpioPupdr: Sync,
    <T as RccBusenrGpioen>::SRccBusenrGpioen: Sync,
    <T as RccBusrstrGpiorst>::SRccBusrstrGpiorst: Sync,
    <T as RccBussmenrGpiosmen>::SRccBussmenrGpiosmen: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]