pub struct R(_);
Expand description
Register POSITION
reader
Implementations§
source§impl R
impl R
sourcepub fn wrap(&self) -> WRAP_R
pub fn wrap(&self) -> WRAP_R
Bit 2 - This bit is set to 1 automatically when the POINTER value wraps as determined by the MASTER.MASK field in the MASTER Trace Control Register.
sourcepub fn pointer(&self) -> POINTER_R
pub fn pointer(&self) -> POINTER_R
Bits 3:31 - Trace packet location pointer. Because a packet consists of two words, the POINTER field is the location of the first word of a packet. This field contains bits [31:3] of the address, in the SRAM, where the next trace packet will be written. The field points to an unused location and is automatically incremented. A debug agent can calculate the system address, on the AHB-Lite bus, of the SRAM location pointed to by the POSITION register using the following equation: system address = BASE + ((P + (2AWIDTH - (BASE MOD 2AWIDTH))) MOD 2AWIDTH). Where P = POSITION AND 0xFFFF_FFF8. Where BASE is the BASE register value