pub struct DbgConfig {
pub base: u64,
pub length: u64,
}Expand description
Debug-ring layout injected as CONSORTIUM_DBG_* compile-time variables.
Unlike IPC, the defmt logger does read its region from the environment:
consortium-dbg’s config module resolves CONSORTIUM_DBG_BASE and
CONSORTIUM_DBG_LENGTH with option_env! in a const context (and treats
the presence of BASE as “debug configured”). So the debug carrier keeps the
physical base the IPC carrier drops.
Fields§
§base: u64Physical base of the debug ring, as seen by the logging core (raw memory).
length: u64Length of the ring in bytes.
Implementations§
Trait Implementations§
impl Copy for DbgConfig
Source§impl<'de> Deserialize<'de> for DbgConfig
impl<'de> Deserialize<'de> for DbgConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DbgConfig
impl StructuralPartialEq for DbgConfig
Auto Trait Implementations§
impl Freeze for DbgConfig
impl RefUnwindSafe for DbgConfig
impl Send for DbgConfig
impl Sync for DbgConfig
impl Unpin for DbgConfig
impl UnsafeUnpin for DbgConfig
impl UnwindSafe for DbgConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.