Orbcode Trace functions library
|
Configure how trace data is transmitted from MCU. More...
Classes | |
struct | TpiuOptions |
TPIU configuration options. More... | |
Enumerations | |
enum | TpiuProtocol { TpiuProtocolParallel = 0 , TpiuProtocolSwoManchester = 1 , TpiuProtocolSwoUart = 2 } |
Available trace protocols. More... | |
Functions | |
static void | TpiuSetup (const TpiuOptions *options) |
Configure TPIU component. More... | |
Configure how trace data is transmitted from MCU.
Trace Port Interface Unit (TPIU) is responsible for outputing data received from ITM and ETM using one of configured trace protocols (TpiuProtocol).
Reference: ARMv7-M Architecture Reference Manual, chapter C1.10
enum TpiuProtocol |
Available trace protocols.
|
inlinestatic |
Configure TPIU component.
After calling this function TPIU will be configured as specified in options.
Note that there is no validation if specified configuration is valid (e.g. specified protocol is not valid) and there are no checks to verify MCU capabilities (e.g. specifing more trace bits line than supported)
options | TPIU configuration |