µOS++ IIIe / CMSIS++ / POSIX++ Reference  v6.3.11
“Perfekt ist nicht gut genug”
The third edition of µOS++ and CMSIS++, a proposal for the next generation CMSIS, written in C++.
CMSIS++ Diagnostics & Trace

CMSIS++ Diagnostic & Trace summary page. More...

Namespaces

 os::trace
 Tracing support namespace.
 

Functions

void os::trace::dump_args (int argc, char *argv[])
 Write the argv[] array to the trace device. More...
 
int os::trace::printf (const char *format,...)
 Write a formatted string to the trace device. More...
 
int os::trace::putchar (int c)
 Write the single character to the trace device. More...
 
int os::trace::puts (const char *s)
 Write the string and a line terminator to the trace device. More...
 
int os::trace::vprintf (const char *format, std::va_list args)
 Write a formatted variable arguments list to the trace device. More...
 

Detailed Description

CMSIS++ Diagnostic & Trace summary page.

This page groups the main classes providing support for diagnostics. For example the trace::printf() functions are defined here.

Function Documentation

void os::trace::dump_args ( int  argc,
char *  argv[] 
)

Write the argv[] array to the trace device.

Parameters
argcThe number of argv[] strings.
argvAn array of pointer to args.

Definition at line 140 of file trace.cpp.

int os::trace::printf ( const char *  format,
  ... 
)

Write a formatted string to the trace device.

Parameters
[in]formatA null terminate string with the format.
Returns
A nonnegative number for success.

Definition at line 74 of file trace.cpp.

int os::trace::putchar ( int  c)

Write the single character to the trace device.

Parameters
cA single byte character.
Returns
The written character.

Definition at line 126 of file trace.cpp.

int os::trace::puts ( const char *  s)

Write the string and a line terminator to the trace device.

Parameters
sA null terminated string.
Returns
A nonnegative number for success.

Definition at line 108 of file trace.cpp.

int os::trace::vprintf ( const char *  format,
std::va_list  args 
)

Write a formatted variable arguments list to the trace device.

Parameters
[in]formatA null terminate string with the format.
[in]argsA variable arguments list.
Returns
A nonnegative number for success.

Definition at line 86 of file trace.cpp.