QP/Spy software tracing (target-resident components) More...
Typedefs | |
using | QSTimeCtr = std::uint32_t |
Functions | |
void | initBuf (std::uint8_t *const sto, std::uint_fast32_t const stoSize) noexcept |
std::uint16_t | getByte () noexcept |
std::uint8_t const * | getBlock (std::uint16_t *const pNbytes) noexcept |
void | doOutput () |
bool | onStartup (void const *arg) |
void | onCleanup () |
void | onFlush () |
QSTimeCtr | onGetTime () |
void | rxInitBuf (std::uint8_t *const sto, std::uint16_t const stoSize) noexcept |
bool | rxPut (std::uint8_t const b) noexcept |
void | rxParse () |
QP/Spy software tracing (target-resident components)
using QP::QS::QSTimeCtr = std::uint32_t |
Definition at line 97 of file qs_dummy.hpp.
|
noexcept |
Initialize the QS-TX data buffer
[in] | sto | pointer to the storage for the transmit buffer |
[in] | stoSize | size in [bytes] of the storage buffer. Currently the size of the QS buffer cannot exceed 64KB. |
|
noexcept |
Byte-oriented interface to the QS-TX data buffer
|
noexcept |
Block-oriented interface to the QS-TX data buffer
pNbytes
. The argument pNbytes
is also used as input to provide the maximum size of the data block that the caller can accept.[in,out] | pNbytes | pointer to the number of bytes to send. On input, pNbytes specifies the maximum number of bytes that the function can provide. On output, pNbytes contains the actual number of bytes available. |
pNbytes
to the # available bytes. If data is available at the time the function is called, the function returns NULL pointer and sets the value pointed to by pNbytes
to zero.void QP::QS::doOutput | ( | ) |
bool QP::QS::onStartup | ( | void const * | arg | ) |
void QP::QS::onCleanup | ( | ) |
void QP::QS::onFlush | ( | ) |
Flush the QS output buffer
QSTimeCtr QP::QS::onGetTime | ( | ) |
|
noexcept |
Initialize the QS-RX data buffer
[in] | sto | pointer to the storage for the QS-RX receive buffer |
[in] | stoSize | size in [bytes] of the storage buffer |
|
noexcept |
Put a byte into the QS-RX (receive channel) input buffer
[in] | b | data byte to insert into the QS-RX receive buffer |
void QP::QS::rxParse | ( | ) |
Parse and process QS-RX (receive channel) data bytes