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) |
|
Write a buffer to a specified device. Data may not be immediately transmitted to the physical, but stored in the output buffer. Call NutPrintFlush() to force immediate transmission. If the buffer is in program space, use NutPrintBinary_P() instead.
|
|
Write a buffer in program space to a specified device. Data may not be immediately transmitted to the physical, but stored in the output buffer. Call NutPrintFlush() to force immediate transmission. To print a buffer in RAM, use NutPrintBinary().
|
|
Send buffered characters to the specified device. If the device's output buffer contains any, the transmitter is started, if not already running. The function returns immediately, without waiting for data being completely transmitted.
|
|
Print parameters using a format string. This function formats and prints characters and values to a specified stream device. The format string consists of ordinary characters, escape sequences, and format specifications. Ordinary characters and escape sequences are copied to the output routine in the order of their appearance. The format is scanned from left to right. If a format specification is encountered, the value of the corresponding argument is converted and output according to that format specification. If there are more arguments than format specifications, the extra arguments are ignored. If there are more format specifications than arguments, the results are undefined. Recognized format specifiers are:
|
|
Print a numeric value on a specified device. The numeric value will be converted to an ASCII string and printed to the specified stream device. The string may not be transmitted immediately, but stored in the output buffer. Call NutPrintFlush() to force immediate transmission.
|
|
Print a string on a specified device. The string may not be immediately transmitted to the physical device, but stored in the output buffer. Call NutPrintFlush() to force immediate transmission. If the string is defined in program space, use NutPrintString_P() instead.
|
|
Print a string in program space on a specified device. The string may not be immediately transmitted to the physical device, but stored in the output buffer. Call NutPrintFlush() to force immediate transmission. If the string is defined in RAM, use NutPrintString() instead.
|