diag-trace 4.2.1
The µOS++ Tracing Infrastructure
Loading...
Searching...
No Matches
Implementation functions

Functions

void micro_os_plus_trace_flush (void)
 Flush the trace output channel.
 
void micro_os_plus_trace_initialize (void)
 Initialize the trace output channel.
 
ssize_t micro_os_plus_trace_write (const void *buf, size_t nbyte)
 Write the given number of bytes to the trace output channel.
 

Detailed Description

These functions may be invoked from C projects to execute actions specific to the implementation.

Function Documentation

◆ micro_os_plus_trace_flush()

void micro_os_plus_trace_flush ( void )

Flush the trace output channel.

Parameters
None.
Returns
Nothing.

Definition at line 185 of file trace.cpp.

◆ micro_os_plus_trace_initialize()

void micro_os_plus_trace_initialize ( void )

Initialize the trace output channel.

Parameters
None.
Returns
Nothing.

Definition at line 172 of file trace.cpp.

◆ micro_os_plus_trace_write()

ssize_t micro_os_plus_trace_write ( const void * buf,
size_t nbyte )

Write the given number of bytes to the trace output channel.

Parameters
[in]bufAn array of bytes.
[in]nbyteThe number of bytes in the array.
Returns
The number of characters actually written, or -1 if error.