Struct stm32f1::stm32f107::gpioa::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub crl: CRL,
    pub crh: CRH,
    pub idr: IDR,
    pub odr: ODR,
    pub bsrr: BSRR,
    pub brr: BRR,
    pub lckr: LCKR,
}

Register block

Fields

crl: CRL

0x00 - Port configuration register low (GPIOn_CRL)

crh: CRH

0x04 - Port configuration register high (GPIOn_CRL)

idr: IDR

0x08 - Port input data register (GPIOn_IDR)

odr: ODR

0x0c - Port output data register (GPIOn_ODR)

bsrr: BSRR

0x10 - Port bit set/reset register (GPIOn_BSRR)

brr: BRR

0x14 - Port bit reset register (GPIOn_BRR)

lckr: LCKR

0x18 - Port configuration lock register

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.