Struct stm32f407g_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