RKH
|
Specifies the trace stream manager (circular buffer). More...
#include "rkhtrc_out.h"
Go to the source code of this file.
Functions | |
void | rkh_trcStream_init (void) |
Initializes the RKH's trace stream. More... | |
rui8_t * | rkh_trc_get (void) |
Retrieves a pointer to oldest stored byte in the trace stream. Frequently, this function is used by the called trace analyzer. More... | |
rui8_t * | rkh_trc_get_block (TRCQTY_T *nget) |
Retrieves a pointer to a contiguous block of data from the trace stream. More... | |
void | rkh_trc_put (rui8_t b) |
Put a data byte into the trace stream. More... | |
Specifies the trace stream manager (circular buffer).
Definition in file rkhtrc_stream.h.
void rkh_trcStream_init | ( | void | ) |
Initializes the RKH's trace stream.
rui8_t* rkh_trc_get | ( | void | ) |
Retrieves a pointer to oldest stored byte in the trace stream. Frequently, this function is used by the called trace analyzer.
rui8_t* rkh_trc_get_block | ( | TRCQTY_T * | nget | ) |
Retrieves a pointer to a contiguous block of data from the trace stream.
The function returns the pointer to the beginning of the block, and writes the number of bytes in the block to the location pointed to by nget. The argument nget is also used as input to provide the maximum size of the data block that the caller can accept. Frequently, this function is used by the called trace analyzer.
[in] | nget | when this function is invoked nget is used as an input to provide the maximum size of the data block to be retrieved. Also, it is used as an output retrieving the size of block. |
void rkh_trc_put | ( | rui8_t | b | ) |
Put a data byte into the trace stream.
[in] | b | data to be written in the trace stream. |