#[repr(u32)]pub enum SecCode {
Disable = 0,
Enable = 305_419_896,
}Expand description
CPU0 SWD-AP: 0x12345678
Value on reset: 0
Variants§
Disable = 0
0: CPU0 DAP is not allowed. Reading back register is read as 0x5.
Enable = 305_419_896
305419896: Value to write to enable CPU0 SWD access. Reading back register is read as 0xA.
Trait Implementations§
impl Copy for SecCode
impl Eq for SecCode
impl IsEnum for SecCode
impl StructuralPartialEq for SecCode
Auto Trait Implementations§
impl Freeze for SecCode
impl RefUnwindSafe for SecCode
impl Send for SecCode
impl Sync for SecCode
impl Unpin for SecCode
impl UnsafeUnpin for SecCode
impl UnwindSafe for SecCode
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