Struct stm32ral::stm32mp::peripherals::gpiod::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {Show 25 fields
pub GPIOD_MODER: RWRegister<u32>,
pub GPIOD_OTYPER: RWRegister<u32>,
pub GPIOD_OSPEEDR: RWRegister<u32>,
pub GPIOD_PUPDR: RWRegister<u32>,
pub GPIOD_IDR: RORegister<u32>,
pub GPIOD_ODR: RWRegister<u32>,
pub GPIOD_BSRR: WORegister<u32>,
pub GPIOD_LCKR: RWRegister<u32>,
pub GPIOD_AFRL: RWRegister<u32>,
pub GPIOD_AFRH: RWRegister<u32>,
pub GPIOD_BRR: WORegister<u32>,
pub GPIOD_HWCFGR10: RORegister<u32>,
pub GPIOD_HWCFGR9: RORegister<u32>,
pub GPIOD_HWCFGR8: RORegister<u32>,
pub GPIOD_HWCFGR7: RORegister<u32>,
pub GPIOD_HWCFGR6: RORegister<u32>,
pub GPIOD_HWCFGR5: RORegister<u32>,
pub GPIOD_HWCFGR4: RORegister<u32>,
pub GPIOD_HWCFGR3: RORegister<u32>,
pub GPIOD_HWCFGR2: RORegister<u32>,
pub GPIOD_HWCFGR1: RORegister<u32>,
pub GPIOD_HWCFGR0: RORegister<u32>,
pub GPIOD_VERR: RORegister<u32>,
pub GPIOD_IPIDR: RORegister<u32>,
pub GPIOD_SIDR: RORegister<u32>,
// some fields omitted
}
Fields
GPIOD_MODER: RWRegister<u32>
GPIO port mode register
GPIOD_OTYPER: RWRegister<u32>
GPIO port output type register
GPIOD_OSPEEDR: RWRegister<u32>
GPIO port output speed register
GPIOD_PUPDR: RWRegister<u32>
GPIO port pull-up/pull-down register
GPIOD_IDR: RORegister<u32>
GPIO port input data register
GPIOD_ODR: RWRegister<u32>
GPIO port output data register
GPIOD_BSRR: WORegister<u32>
GPIO port bit set/reset register
GPIOD_LCKR: RWRegister<u32>
This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset. A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence. Each lock bit freezes a specific configuration register (control and alternate function registers).
GPIOD_AFRL: RWRegister<u32>
GPIO alternate function low register
GPIOD_AFRH: RWRegister<u32>
GPIO alternate function high register
GPIOD_BRR: WORegister<u32>
GPIO port bit reset register
GPIOD_HWCFGR10: RORegister<u32>
For GPIOA, B, C, D, E, F, G, H, I, J and GPIOK: For GPIOZ:
GPIOD_HWCFGR9: RORegister<u32>
For GPIOA, B, C, D, E, F, G, H, I, and GPIOJ: For GPIOK and GPIOZ:
GPIOD_HWCFGR8: RORegister<u32>
For GPIOA, B, C, D, E, F, G, H, I, and GPIOJ: For GPIOK and GPIOZ:
GPIOD_HWCFGR7: RORegister<u32>
GPIO hardware configuration register 7
GPIOD_HWCFGR6: RORegister<u32>
GPIO hardware configuration register 6
GPIOD_HWCFGR5: RORegister<u32>
GPIO hardware configuration register 5
GPIOD_HWCFGR4: RORegister<u32>
GPIO hardware configuration register 4
GPIOD_HWCFGR3: RORegister<u32>
GPIO hardware configuration register 3
GPIOD_HWCFGR2: RORegister<u32>
GPIO hardware configuration register 2
GPIOD_HWCFGR1: RORegister<u32>
GPIO hardware configuration register 1
GPIOD_HWCFGR0: RORegister<u32>
GPIO hardware configuration register 0
GPIOD_VERR: RORegister<u32>
GPIO version register
GPIOD_IPIDR: RORegister<u32>
GPIO identification register
GPIOD_SIDR: RORegister<u32>
GPIO size identification register