Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

sys/print.h File Reference

Formatted printing definitions. More...


Format flags

Number printing formats.<p> These flags are used as number printing formats. Several flags may be combined using the binary OR operator. \see NutPrintInteger

#define FMTFLG_ZERO
 Set, if zero padding required.

#define FMTFLG_SIGNED
 Set, if signed value.

#define FMTFLG_PLUS
 Set to force sign.

#define FMTFLG_MINUS
 Set to force left justification.

#define FMTFLG_CAPITAL
 Set for capital letter digits.


Functions

int NutPrintBinary (NUTDEVICE *dev, const char *data, int len)
 Write a buffer to a specified device. More...

int NutPrintBinary_P (NUTDEVICE *dev, PGM_P data, int len)
 Write a buffer in program space to a specified device. More...

int NutPrintString (NUTDEVICE *dev, const char *str)
 Print a string on a specified device. More...

int NutPrintString_P (NUTDEVICE *dev, PGM_P str)
 Print a string in program space on a specified device. More...

int NutPrintInteger (NUTDEVICE *dev, u_long val, u_char radix, u_char width, u_char flags)
 Print a numeric value on a specified device. More...

int NutPrintFormat (NUTDEVICE *dev, const char *fmt,...)
 Print parameters using a format string. More...

int NutPrintFlush (NUTDEVICE *dev)


Detailed Description

Formatted printing definitions.


© 2000-2001 by egnite Software GmbH - visit http://www.ethernut.de/