#include "sprintf.h"
#include <stdarg.h>
#include "type.h"
#include "config-flash.h"
Functions | |
int | f_puts (funcPutChar fPutChar, const char *pStr, ULONG ud) |
int | f_putb (funcPutChar fPutByte, const unsigned char *pBuf, ULONG ud, ULONG len) |
unsigned char | getnextfmtChar (const char *str, ULONG *offset) |
int | funcprintfArp (funcPutChar fPutChar, ULONG ud, const char *str, va_list arp) |
int | funcprintf (funcPutChar fPutChar, ULONG ud, const char *str,...) |
int | printToStringBuf (char ch, ULONG ud) |
int | osprintf (char *strBuf, UINT32 bufSize, const char *format,...) |
int f_putb | ( | funcPutChar | fPutByte, | |
const unsigned char * | pBuf, | |||
ULONG | ud, | |||
ULONG | len | |||
) |
int f_puts | ( | funcPutChar | fPutChar, | |
const char * | pStr, | |||
ULONG | ud | |||
) |
References EOFPRINTF.
Referenced by funcprintfArp(), and UART_SendString().
int funcprintf | ( | funcPutChar | fPutChar, | |
ULONG | ud, | |||
const char * | str, | |||
... | ||||
) |
int funcprintfArp | ( | funcPutChar | fPutChar, | |
ULONG | ud, | |||
const char * | str, | |||
va_list | arp | |||
) |
References EOFPRINTF, f_puts(), getnextfmtChar(), and NOTEOFPRINTF.
Referenced by ConsoleOut(), funcprintf(), osprintf(), and UART_printf().
unsigned char getnextfmtChar | ( | const char * | str, | |
ULONG * | offset | |||
) |
References MTGetStringFirstByte(), and MTGetStringNextByte().
Referenced by funcprintfArp().
int osprintf | ( | char * | strBuf, | |
UINT32 | bufSize, | |||
const char * | format, | |||
... | ||||
) |
References printToStringType::bufSize, funcprintfArp(), printToStringType::pBuf, printToStringType::pos, and printToStringBuf().
int printToStringBuf | ( | char | ch, | |
ULONG | ud | |||
) |
References printToStringType::bufSize, printToStringType::pBuf, and printToStringType::pos.
Referenced by osprintf().