[][src]Struct stm32f1xx_hal::stm32::gpioa::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub crl: Reg<u32, _CRL>,
    pub crh: Reg<u32, _CRH>,
    pub idr: Reg<u32, _IDR>,
    pub odr: Reg<u32, _ODR>,
    pub bsrr: Reg<u32, _BSRR>,
    pub brr: Reg<u32, _BRR>,
    pub lckr: Reg<u32, _LCKR>,
}

Register block

Fields

crl: Reg<u32, _CRL>

0x00 - Port configuration register low (GPIOn_CRL)

crh: Reg<u32, _CRH>

0x04 - Port configuration register high (GPIOn_CRL)

idr: Reg<u32, _IDR>

0x08 - Port input data register (GPIOn_IDR)

odr: Reg<u32, _ODR>

0x0c - Port output data register (GPIOn_ODR)

bsrr: Reg<u32, _BSRR>

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

brr: Reg<u32, _BRR>

0x14 - Port bit reset register (GPIOn_BRR)

lckr: Reg<u32, _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> Same<T> for T

type Output = T

Should always be Self

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.