Struct stm32f429i_disc::gpioa::RegisterBlock
pub struct RegisterBlock {
pub moder: MODER,
pub otyper: OTYPER,
pub ospeedr: OSPEEDR,
pub pupdr: PUPDR,
pub idr: IDR,
pub odr: ODR,
pub bsrr: BSRR,
pub lckr: LCKR,
pub afrl: AFRL,
pub afrh: AFRH,
}
Expand description
Register block
Fields
moder: MODER
0x00 - GPIO port mode register
otyper: OTYPER
0x04 - GPIO port output type register
ospeedr: OSPEEDR
0x08 - GPIO port output speed register
pupdr: PUPDR
0x0c - GPIO port pull-up/pull-down register
idr: IDR
0x10 - GPIO port input data register
odr: ODR
0x14 - GPIO port output data register
bsrr: BSRR
0x18 - GPIO port bit set/reset register
lckr: LCKR
0x1c - GPIO port configuration lock register
afrl: AFRL
0x20 - GPIO alternate function low register
afrh: AFRH
0x24 - GPIO alternate function high register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more