You copied the Doc URL to your clipboard.

3.3.10. Latched Buffer Fill Level

The LBUFLEVEL Register characteristics are:

Purpose

Reading this register returns the maximum fill level of the trace memory in 32-bit words since this register was last read. Reading this register also results in its contents being updated to the current fill level.

This register does not apply when the TMC is programmed for scatter- gather operation in ETR configuration. In this case, reading this register returns 0x00000000.

When entering Disabled state, this register retains its last value. While in Disabled state, reads from this register do not affect its value. When exiting Disabled state, the LBUFLEVEL Register is cleared.

The fill level information used mainly for performance analysis.

Reading this register alters the internal state of the TMC, and it can be read only if the device is unlocked. Reading this register when the device is locked returns 0x00000000.

The width of this register in the ETB or ETF configurations is 1+log2(MEM_SIZE). In the ETR configuration, the width of this register is 31 bits.

Configurations

Present in all configurations.

Figure 3.10 shows the LBUFLEVEL Register bit assignments.

Figure 3.10. LBUFLEVEL Register bit assignments

Figure 3.10. LBUFLEVEL Register bit assignments

Table 3.11 shows the LBUFLEVEL Register bit assignments.

Table 3.11. LBUFLEVEL Register bit assignments
BitsNameFunction
[31:0][a]LBUFLEVEL

Indicates the maximum fill level of the trace memory in 32-bit words since this register was last read

[a] The width of this register is dependent on the TMC configuration.


Was this page helpful? Yes No