Struct stm32mp1::stm32mp157::gpiog::gpiog_lckr::GPIOG_LCKR_SPEC
source · [−]pub struct GPIOG_LCKR_SPEC;
Expand description
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).
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see gpiog_lckr module
Trait Implementations
sourceimpl Readable for GPIOG_LCKR_SPEC
impl Readable for GPIOG_LCKR_SPEC
read()
method returns gpiog_lckr::R reader structure
sourceimpl RegisterSpec for GPIOG_LCKR_SPEC
impl RegisterSpec for GPIOG_LCKR_SPEC
sourceimpl Resettable for GPIOG_LCKR_SPEC
impl Resettable for GPIOG_LCKR_SPEC
reset()
method sets GPIOG_LCKR to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for GPIOG_LCKR_SPEC
impl Writable for GPIOG_LCKR_SPEC
write(|w| ..)
method takes gpiog_lckr::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for GPIOG_LCKR_SPEC
impl Send for GPIOG_LCKR_SPEC
impl Sync for GPIOG_LCKR_SPEC
impl Unpin for GPIOG_LCKR_SPEC
impl UnwindSafe for GPIOG_LCKR_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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