Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
printf.c File Reference
#include <stdarg.h>
#include <ch.h>
#include "printf.h"
#include <stdnoreturn.h>
+ Include dependency graph for printf.c:

Go to the source code of this file.

Data Structures

struct  synchronous_print_arg_t
 
union  synchronous_print_arg_t.__unnamed__
 

Macros

#define MAX_FILLER   11
 
#define FLOAT_PRECISION   100000
 

Functions

static THD_WORKING_AREA (waSerialPrint, 512)
 
static noreturn void serialPrint (void *arg)
 
static char * long_to_string_with_divisor (char *p, long num, unsigned radix, long divisor)
 
static char * ltoa (char *p, long num, unsigned radix)
 
static void _chvsnprintf (char *buffer, BaseSequentialStream *chp, size_t size, const char *fmt, va_list ap)
 System formatted output function. More...
 
void directchvprintf (BaseSequentialStream *chp, const char *fmt, va_list ap)
 
void chvsnprintf (char *buffer, size_t size, const char *fmt, va_list ap)
 
void chsnprintf (char *buffer, size_t size, const char *fmt,...)
 
void directchprintf (BaseSequentialStream *chp, const char *fmt,...)
 
void chprintf (BaseSequentialStream *lchp, const char *fmt,...)
 
void chvprintf (BaseSequentialStream *lchp, const char *fmt, va_list ap)
 
void smchsnprintf (char *buffer, size_t size, const char *fmt,...)
 
void smchvsnprintf (char *buffer, size_t size, const char *fmt, va_list ap)
 

Variables

static thread_t * printThreadPtr = NULL