Enum probe_rs_rtt::ScanRegion
source · Expand description
Used to specify which memory regions to scan for the RTT control block.
Variants§
Ram
Scans all RAM regions known to probe-rs. This is the default and should always work, however if your device has a lot of RAM, scanning all of it is slow.
Range(Range<u32>)
Limit scanning to these memory addresses in target memory. It is up to the user to ensure that reading from this range will not read from undefined memory.
Exact(u32)
Tries to find the control block starting at this exact address. It is up to the user to ensure that reading the necessary bytes after the pointer will no read from undefined memory.
Trait Implementations§
source§impl Clone for ScanRegion
impl Clone for ScanRegion
source§fn clone(&self) -> ScanRegion
fn clone(&self) -> ScanRegion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more