Struct stm32mp1::stm32mp157::gpioc::gpioc_lckr::GPIOC_LCKR_SPEC
source · [−]pub struct GPIOC_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 gpioc_lckr module
Trait Implementations
sourceimpl Readable for GPIOC_LCKR_SPEC
impl Readable for GPIOC_LCKR_SPEC
read()
method returns gpioc_lckr::R reader structure
sourceimpl RegisterSpec for GPIOC_LCKR_SPEC
impl RegisterSpec for GPIOC_LCKR_SPEC
sourceimpl Resettable for GPIOC_LCKR_SPEC
impl Resettable for GPIOC_LCKR_SPEC
reset()
method sets GPIOC_LCKR to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for GPIOC_LCKR_SPEC
impl Writable for GPIOC_LCKR_SPEC
write(|w| ..)
method takes gpioc_lckr::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for GPIOC_LCKR_SPEC
impl Send for GPIOC_LCKR_SPEC
impl Sync for GPIOC_LCKR_SPEC
impl Unpin for GPIOC_LCKR_SPEC
impl UnwindSafe for GPIOC_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