The SDK libraries contains standard C functions for I/O, such as printf and scanf. These functions are large and might not be suitable for embedded processors. The prototypes for these functions are available in the stdio.h file.
These Input/Output routines require that a newline is terminated with both a CR and LF. Ensure that your terminal CR/LF behavior corresponds to this requirement.
setvbuf (stdout, NULL, _IONBF, 0);
These Input/Output routines require that a newline is terminated with both a CR and LF. Ensure that your terminal CR/LF behavior corresponds to this requirement.
For more information on setting the standard input and standard output devices for a system, see Embedded System Tools Reference Manual (UG1043). In addition to the standard C functions, the SDK processors library provides the following smaller I/O functions:
Type | Name | Arguments |
---|---|---|
void |
|
|
void | putnum |
|
void | xil_printf |
|