|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Data Structures | |
| struct | synchronous_print_arg_t |
| union | synchronous_print_arg_t.__unnamed298__ |
Macros | |
| #define | MAX_FILLER 11 |
| #define | FLOAT_PRECISION 100000 |
| #define | CHPRINTF_USE_FLOAT TRUE |
| Float type support. | |
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. | |
| 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 |
| struct synchronous_print_arg_t |
| union synchronous_print_arg_t.__unnamed298__ |
| Data Fields | ||
|---|---|---|
| BaseSequentialStream * | chp | |
| size_t | size | |
|
static |
System formatted output function.
This function implements a minimal printf() like functionality with output on a BaseSequentialStream. The general parameters format is: %[-][width|*][.precision|*][l|L]p. The following parameter types (p) are supported:
| [in] | chp | pointer to a BaseSequentialStream implementing object |
| [in] | fmt | formatting string |
Definition at line 169 of file printf.c.
References foo, ltoa(), MAX_FILLER, p, and s.
Referenced by chsnprintf(), chvsnprintf(), directchprintf(), and directchvprintf().
Here is the call graph for this function:
Here is the caller graph for this function:| void chprintf | ( | BaseSequentialStream * | lchp, |
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 395 of file printf.c.
References synchronous_print_arg_t::destBuf, foo, printThreadPtr, and serialPrint().
Referenced by cmd_abi(), cmd_info(), cmd_mem(), microrlSigint(), and usage().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 377 of file printf.c.
References _chvsnprintf(), and foo.
Referenced by getFileName(), and thd_startlog().
Here is the call graph for this function:
Here is the caller graph for this function:| void chvprintf | ( | BaseSequentialStream * | lchp, |
| const char * | fmt, | ||
| va_list | ap | ||
| ) |
Definition at line 415 of file printf.c.
References synchronous_print_arg_t::destBuf, foo, printThreadPtr, and serialPrint().
Here is the call graph for this function:Definition at line 372 of file printf.c.
References _chvsnprintf(), and foo.
Referenced by serialPrint().
Here is the call graph for this function:
Here is the caller graph for this function:| void directchprintf | ( | BaseSequentialStream * | chp, |
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 386 of file printf.c.
References _chvsnprintf(), and foo.
Here is the call graph for this function:| void directchvprintf | ( | BaseSequentialStream * | chp, |
| const char * | fmt, | ||
| va_list | ap | ||
| ) |
Definition at line 367 of file printf.c.
References _chvsnprintf(), and foo.
Referenced by serialPrint().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 125 of file printf.c.
References foo, long_to_string_with_divisor(), and p.
Referenced by _chvsnprintf().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 57 of file printf.c.
References chvsnprintf(), directchvprintf(), and foo.
Referenced by chprintf(), chvprintf(), smchsnprintf(), and smchvsnprintf().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 432 of file printf.c.
References synchronous_print_arg_t::destBuf, foo, printThreadPtr, and serialPrint().
Here is the call graph for this function:Definition at line 453 of file printf.c.
References synchronous_print_arg_t::destBuf, foo, printThreadPtr, and serialPrint().
Here is the call graph for this function:
|
static |
Definition at line 53 of file printf.c.
Referenced by chprintf(), chvprintf(), smchsnprintf(), and smchvsnprintf().