#include <sys/device.h>
Go to the source code of this file.
Format flags | |
Number printing formats.
These flags are used as number printing formats. Several flags may be combined using the binary OR operator.
| |
#define | FMTFLG_ZERO 0x01 |
Set, if zero padding required. | |
#define | FMTFLG_SIGNED 0x02 |
Set, if signed value. | |
#define | FMTFLG_PLUS 0x04 |
Set to force sign. | |
#define | FMTFLG_MINUS 0x08 |
Set to force left justification. | |
#define | FMTFLG_CAPITAL 0x10 |
Set for capital letter digits. | |
Functions | |
int | NutPrintBinary (NUTDEVICE *dev, CONST char *data, int len) |
Write a buffer to a specified device. | |
int | NutPrintBinary_P (NUTDEVICE *dev, PGM_P data, int len) |
Write a buffer in program space to a specified device. | |
int | NutPrintString (NUTDEVICE *dev, CONST char *str) |
Print a string on a specified device. | |
int | NutPrintString_P (NUTDEVICE *dev, PGM_P str) |
Print a string in program space on a specified device. | |
int | NutPrintInteger (NUTDEVICE *dev, u_long val, u_char radix, u_char width, u_char flags) |
Print a numeric value on a specified device. | |
int | NutPrintFormat (NUTDEVICE *dev, CONST char *fmt,...) |
Print parameters using a format string. | |
int | NutPrintFlush (NUTDEVICE *dev) |