|
static void | initBuf (std::uint8_t *const sto, std::uint_fast16_t const stoSize) noexcept |
| Initialize the QS data buffer. More...
|
|
static void | glbFilter_ (std::int_fast16_t const filter) noexcept |
| Set/clear the global Filter for a given QS record. More...
|
|
static void | locFilter_ (std::int_fast16_t const filter) noexcept |
| Set/clear the local Filter for a given object-id. More...
|
|
static void | beginRec_ (std::uint_fast8_t const rec) noexcept |
| Mark the begin of a QS record rec . More...
|
|
static void | endRec_ (void) noexcept |
| Mark the end of a QS record rec . More...
|
|
static void | u8_raw_ (std::uint8_t const d) noexcept |
| output std::uint8_t data element without format information More...
|
|
static void | u8u8_raw_ (std::uint8_t const d1, std::uint8_t const d2) noexcept |
| output two std::uint8_t data elements without format information More...
|
|
static void | u16_raw_ (std::uint16_t d) noexcept |
| Output std::uint16_t data element without format information. More...
|
|
static void | u32_raw_ (std::uint32_t d) noexcept |
| Output std::uint32_t data element without format information. More...
|
|
static void | obj_raw_ (void const *const obj) noexcept |
| Output obj pointer data element without format information. More...
|
|
static void | str_raw_ (char_t const *s) noexcept |
| Output zero-terminated ASCII string element without format information. More...
|
|
static void | u8_fmt_ (std::uint8_t const format, std::uint8_t const d) noexcept |
| Output std::uint8_t data element with format information. More...
|
|
static void | u16_fmt_ (std::uint8_t format, std::uint16_t d) noexcept |
| output std::uint16_t data element with format information More...
|
|
static void | u32_fmt_ (std::uint8_t format, std::uint32_t d) noexcept |
| Output std::uint32_t data element with format information. More...
|
|
static void | f32_fmt_ (std::uint8_t format, float32_t const d) noexcept |
| Output 32-bit floating point data element with format information. More...
|
|
static void | f64_fmt_ (std::uint8_t format, float64_t const d) noexcept |
| Output 64-bit floating point data element with format information. More...
|
|
static void | str_fmt_ (char_t const *s) noexcept |
| Output zero-terminated ASCII string element with format information. More...
|
|
static void | mem_fmt_ (std::uint8_t const *blk, std::uint8_t size) noexcept |
| Output memory block of up to 255-bytes with format information. More...
|
|
static void | u64_raw_ (std::uint64_t d) noexcept |
| Output uint64_t data element without format information. More...
|
|
static void | u64_fmt_ (std::uint8_t format, std::uint64_t d) noexcept |
| Output uint64_t data element with format information. More...
|
|
static void | sig_dict_pre_ (enum_t const sig, void const *const obj, char_t const *name) noexcept |
| Output signal dictionary record. More...
|
|
static void | obj_dict_pre_ (void const *const obj, char_t const *name) noexcept |
| Output object dictionary record. More...
|
|
static void | fun_dict_pre_ (void(*const fun)(void), char_t const *name) noexcept |
| Output function dictionary record. More...
|
|
static void | usr_dict_pre_ (enum_t const rec, char_t const *const name) noexcept |
| Output user dictionary record. More...
|
|
static void | rxInitBuf (std::uint8_t *const sto, std::uint16_t const stoSize) noexcept |
| Initialize the QS RX data buffer. More...
|
|
static void | rxParse (void) |
| Parse all bytes present in the QS RX data buffer. More...
|
|
static std::uint16_t | rxGetNfree (void) noexcept |
| Obtain the number of free bytes in the QS RX data buffer. More...
|
|
static bool | rxPut (std::uint8_t const b) noexcept |
| Put one byte into the QS RX lock-free buffer. More...
|
|
static void | setCurrObj (std::uint8_t obj_kind, void *obj_ptr) noexcept |
| Set the "current object" in the Target. More...
|
|
static void | queryCurrObj (std::uint8_t obj_kind) noexcept |
| Query the "current object" in the Target. More...
|
|
static std::uint16_t | getByte (void) noexcept |
| Byte-oriented interface to the QS data buffer. More...
|
|
static std::uint8_t const * | getBlock (std::uint16_t *const pNbytes) noexcept |
| Block-oriented interface to the QS data buffer. More...
|
|
static bool | onStartup (void const *arg) |
| Callback to startup the QS facility. More...
|
|
static void | onCleanup (void) |
| Callback to cleanup the QS facility. More...
|
|
static void | onFlush (void) |
| Callback to flush the QS trace data to the host. More...
|
|
static QSTimeCtr | onGetTime (void) |
| Callback to obtain a timestamp for a QS record. More...
|
|
static void | onReset (void) |
| callback function to reset the Target (to be implemented in the BSP) More...
|
|
static void | onCommand (std::uint8_t cmdId, std::uint32_t param1, std::uint32_t param2, std::uint32_t param3) |
| Callback function to execute user commands (to be implemented in BSP) More...
|
|
static void | rxHandleGoodFrame_ (std::uint8_t const state) |
| internal function to handle incoming (QS-RX) packet More...
|
|
static void | assertion_pre_ (char_t const *const module, int_t const loc, std::uint32_t delay) |
| internal function to produce the assertion failure trace record More...
|
|
static void | crit_entry_pre_ (void) |
| internal function to produce the critical section entry record More...
|
|
static void | crit_exit_pre_ (void) |
| internal function to produce the critical section exit record More...
|
|
static void | isr_entry_pre_ (std::uint8_t const isrnest, std::uint8_t const prio) |
| internal function to produce the ISR entry record More...
|
|
static void | isr_exit_pre_ (std::uint8_t const isrnest, std::uint8_t const prio) |
| internal function to produce the ISR exit record More...
|
|
static void | onTestSetup (void) |
| callback to setup a unit test inside the Target More...
|
|
static void | onTestTeardown (void) |
| callback to teardown after a unit test inside the Target More...
|
|
static void | onTestEvt (QEvt *e) |
| callback to "massage" the test event before dispatching/posting it More...
|
|
static void | onTestPost (void const *sender, QActive *recipient, QEvt const *e, bool status) |
|
static void | onTestLoop (void) |
| callback to run the test loop More...
|
|
static void | processTestEvts_ (void) |
| internal function to process posted events during test More...
|
|
static void | tickX_ (std::uint_fast8_t const tickRate, void const *const sender) noexcept |
| internal function to process armed time events during test More...
|
|
static std::uint32_t | getTestProbe_ (void(*const api)(void)) noexcept |
| internal function to get the Test-Probe for a given API More...
|
|
template<typename T_OUT , typename T_IN > |
static T_OUT | force_cast (T_IN in) |
| template for forcing cast of member functions for function dictionaries and test probes. More...
|
|
QS logging facilities.
- Description
- This class groups together QS services. It has only static members and should not be instantiated.
Definition at line 302 of file qs.hpp.