pub struct DEBUGEN_SPEC;Expand description
Enable a debug feature that has been disabled. Debug features are disabled if one of the relevant critical boot flags is set in OTP (DEBUG_DISABLE or SECURE_DEBUG_DISABLE), OR if a debug key is marked valid in OTP, and the matching key value has not been supplied over SWD. Specifically: - The DEBUG_DISABLE flag disables all debug features. This can be fully overridden by setting all bits of this register. - The SECURE_DEBUG_DISABLE flag disables secure processor debug. This can be fully overridden by setting the PROC0_SECURE and PROC1_SECURE bits of this register. - If a single debug key has been registered, and no matching key value has been supplied over SWD, then all debug features are disabled. This can be fully overridden by setting all bits of this register. - If both debug keys have been registered, and the Non-secure key’s value (key 6) has been supplied over SWD, secure processor debug is disabled. This can be fully overridden by setting the PROC0_SECURE and PROC1_SECURE bits of this register. - If both debug keys have been registered, and the Secure key’s value (key 5) has been supplied over SWD, then no debug features are disabled by the key mechanism. However, note that in this case debug features may still be disabled by the critical boot flags.
You can read this register and get debugen::R. You can reset, write, write_with_zero this register using debugen::W. You can also modify this register. See API.
Trait Implementations§
Source§impl RegisterSpec for DEBUGEN_SPEC
impl RegisterSpec for DEBUGEN_SPEC
Source§impl Resettable for DEBUGEN_SPEC
reset() method sets DEBUGEN to value 0
impl Resettable for DEBUGEN_SPEC
reset() method sets DEBUGEN to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Source§impl Writable for DEBUGEN_SPEC
write(|w| ..) method takes debugen::W writer structure
impl Writable for DEBUGEN_SPEC
write(|w| ..) method takes debugen::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
1 and are changed if you pass 0Source§const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
0 and are changed if you pass 1impl Readable for DEBUGEN_SPEC
read() method returns debugen::R reader structure
Auto Trait Implementations§
impl Freeze for DEBUGEN_SPEC
impl RefUnwindSafe for DEBUGEN_SPEC
impl Send for DEBUGEN_SPEC
impl Sync for DEBUGEN_SPEC
impl Unpin for DEBUGEN_SPEC
impl UnwindSafe for DEBUGEN_SPEC
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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more