Enum avr_device::atmega328p::lockbit::lockbit::BLB1_A
source · #[repr(u8)]pub enum BLB1_A {
LPM_SPM_DISABLE = 0,
LPM_DISABLE = 1,
SPM_DISABLE = 2,
NO_LOCK = 3,
}
Expand description
Boot Loader Protection Mode
Value on reset: 0
Variants§
LPM_SPM_DISABLE = 0
0: LPM and SPM prohibited in Boot Section
LPM_DISABLE = 1
1: LPM prohibited in Boot Section
SPM_DISABLE = 2
2: SPM prohibited in Boot Section
NO_LOCK = 3
3: No lock on SPM and LPM in Boot Section
Trait Implementations§
source§impl PartialEq for BLB1_A
impl PartialEq for BLB1_A
impl Copy for BLB1_A
impl Eq for BLB1_A
impl StructuralPartialEq for BLB1_A
Auto Trait Implementations§
impl RefUnwindSafe for BLB1_A
impl Send for BLB1_A
impl Sync for BLB1_A
impl Unpin for BLB1_A
impl UnwindSafe for BLB1_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