21 #define _USE_XFUNC_OUT 1 24 #define _USE_XFUNC_IN 0 42 void xputs (
const char* str);
50 void xvprintf(
const char* fmt, va_list arp);
73 void xprintf (
const char* fmt, ...);
83 void xsprintf(
char* buff,
const char* fmt, ...);
84 #define DW_CHAR sizeof(char) 85 #define DW_SHORT sizeof(short) 86 #define DW_LONG sizeof(long) 91 int xgets(
char *buff,
int len);
92 int xatoi(
char **str,
long *res);
void xputc(char c)
Put a character.
Definition: xprintf.c:33
void xputs(const char *str)
Put a null-terminated string.
Definition: xprintf.c:50
void xprintf(const char *fmt,...)
Formatted string output to USART.
Definition: xprintf.c:186
void xsprintf(char *buff, const char *fmt,...)
Formatted string output into a buffer.
Definition: xprintf.c:200
void xvprintf(const char *fmt, va_list arp)
Formatted string output (va_list version).
Definition: xprintf.c:75