FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tinyprintf.h File Reference

Macros

#define TINYPRINTF_DEFINE_TFP_PRINTF
 
#define TINYPRINTF_DEFINE_TFP_SPRINTF
 
#define TINYPRINTF_OVERRIDE_LIBC
 
#define _TFP_SPECIFY_PRINTF_FMT(fmt_idx, arg1_idx)
 

Typedefs

typedef void(* putcf )(void *, char)
 

Functions

void tfp_format (void *putp, putcf putf, const char *fmt, va_list va)
 
void init_printf (void *putp, putcf putf)
 
void tfp_printf (char *fmt,...) _TFP_SPECIFY_PRINTF_FMT(1
 

Macro Definition Documentation

#define _TFP_SPECIFY_PRINTF_FMT (   fmt_idx,
  arg1_idx 
)
#define TINYPRINTF_DEFINE_TFP_PRINTF
#define TINYPRINTF_DEFINE_TFP_SPRINTF
#define TINYPRINTF_OVERRIDE_LIBC

Typedef Documentation

typedef void(* putcf)(void *, char)

Function Documentation

void init_printf ( void *  putp,
putcf  putf 
)

References stdout_putf, and stdout_putp.

void tfp_format ( void *  putp,
putcf  putf,
const char *  fmt,
va_list  va 
)
void tfp_printf ( char *  fmt,
  ... 
)