NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
printf.h File Reference
#include <stdarg.h>
#include "drivers/serial.h"
Include dependency graph for printf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define printf   tfp_printf
 
#define sprintf   tfp_sprintf
 

Functions

void init_printf (void *putp, void(*putf)(void *, char))
 
int tfp_printf (const char *fmt,...)
 
int tfp_sprintf (char *s, const char *fmt,...)
 
int tfp_format (void *putp, void(*putf)(void *, char), const char *fmt, va_list va)
 
void setPrintfSerialPort (serialPort_t *serialPort)
 
void printfSupportInit (void)
 

Macro Definition Documentation

#define printf   tfp_printf
#define sprintf   tfp_sprintf

Function Documentation

void init_printf ( void *  putp,
void(*)(void *, char)  putf 
)
void printfSupportInit ( void  )
void setPrintfSerialPort ( serialPort_t serialPort)
int tfp_format ( void *  putp,
void(*)(void *, char)  putf,
const char *  fmt,
va_list  va 
)
int tfp_printf ( const char *  fmt,
  ... 
)
int tfp_sprintf ( char *  s,
const char *  fmt,
  ... 
)