![]() |
SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
|
Redirects printf to UART. More...
Go to the source code of this file.
Functions | |
int | fputc (int ch, FILE *f) |
int | fgetc (FILE *f) |
int | ferror (FILE *f) |
Redirects printf to UART.
Definition in file retarget.h.
int ferror | ( | FILE * | f | ) |
This function will retarget ferror to UART
f | pointer to file |
Definition at line 42 of file retarget.c.
int fgetc | ( | FILE * | f | ) |
This function will retarget scanf
f | pointer to file |
Definition at line 30 of file retarget.c.
int fputc | ( | int | ch, |
FILE * | f | ||
) |
This function retargets printf
ch | character |
f | pointer to file |
Definition at line 18 of file retarget.c.