Crate itm_decode[−][src]
A sans-I/O decoder for the ITM and DWT packet protocol as specifed in the ARMv7-M architecture reference manual, Appendix D4. Any references in this code base refers to this document.
Common abbreviations:
- ITM: instrumentation trace macrocell;
- PC: program counter;
- DWT: data watchpoint and trace unit;
- MSB: most significant bit;
- BE: big-endian;
Structs
| Decoder | ITM and DWT packet protocol decoder. |
Enums
| DecoderError | A header or payload byte failed to be decoded. The state of the decoder is now in an unknown state and manual intervention is required. |
| DecoderState | The decoder’s possible states. The default decoder state is |
| ExceptionAction | Denotes the exception action taken by the processor. (Table D4-6) |
| ExceptionType | Denotes the exception type (interrupt event) of the processor. (Table B1-4) |
| MemoryAccessType | Denotes the type of memory access. |
| TimestampDataRelation | Indicates the relationship between the generation of the local timestamp packet and the corresponding ITM or DWT data packet. (Appendix D4.2.4) |
| TracePacket | The set of possible packet types that may be decoded. |