Enum tm4c123x::gpio_porta::lock::LOCK_A
source · #[repr(u32)]pub enum LOCK_A {
UNLOCKED,
LOCKED,
KEY,
}
Expand description
GPIO Lock
Value on reset: 0
Variants§
UNLOCKED
0: The GPIOCR register is unlocked and may be modified
LOCKED
1: The GPIOCR register is locked and may not be modified
KEY
1280262987: Unlocks the GPIO_CR register
Trait Implementations§
source§impl PartialEq<LOCK_A> for LOCK_A
impl PartialEq<LOCK_A> for LOCK_A
impl Copy for LOCK_A
impl StructuralPartialEq for LOCK_A
Auto Trait Implementations§
impl RefUnwindSafe for LOCK_A
impl Send for LOCK_A
impl Sync for LOCK_A
impl Unpin for LOCK_A
impl UnwindSafe for LOCK_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more