µ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++.
trace.cpp File Reference
#include <cmsis-plus/os-app-config.h>
#include <cmsis-plus/diag/trace.h>
#include <cstdarg>
#include <cstdio>
#include <cstring>

Go to the source code of this file.

Namespaces

 os
 System namespace.
 
 os::trace
 Tracing support namespace.
 

Macros

#define OS_INTEGER_TRACE_PRINTF_TMP_ARRAY_SIZE   (200)
 

Functions

void os::trace::dump_args (int argc, char *argv[])
 Write the argv[] array to the trace device. More...
 
void os::trace::flush (void)
 Flush the output. More...
 
void os::trace::initialize (void)
 
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...
 
void trace_dump_args (int argc, char *argv[])
 
void trace_flush (void)
 
void trace_initialize (void)
 
int trace_printf (const char *format,...)
 
int trace_putchar (int c)
 
int trace_puts (const char *s)
 
int trace_vprintf (const char *format,...)
 
ssize_t trace_write (const void *buf, std::size_t nbyte)
 
int os::trace::vprintf (const char *format, std::va_list args)
 Write a formatted variable arguments list to the trace device. More...
 
ssize_t os::trace::write (const void *buf, std::size_t nbyte)
 Write the given number of bytes to the trace output channel. More...
 

Macro Definition Documentation

#define OS_INTEGER_TRACE_PRINTF_TMP_ARRAY_SIZE   (200)

Definition at line 38 of file trace.cpp.

Function Documentation

void trace_dump_args ( int  argc,
char *  argv[] 
)
void trace_flush ( void  )

Definition at line 177 of file trace.cpp.

void trace_initialize ( void  )

Called from startup.

Definition at line 165 of file trace.cpp.

int trace_printf ( const char *  format,
  ... 
)
int trace_putchar ( int  c)
int trace_puts ( const char *  s)
int trace_vprintf ( const char *  format,
  ... 
)
ssize_t trace_write ( const void *  buf,
std::size_t  nbyte 
)

Definition at line 171 of file trace.cpp.