|
EmbeddedEtcher
|
Lightweight version of GNU printf. More...
#include <stdio.h>#include <stdarg.h>#include "stm32f10x.h"
Go to the source code of this file.
Functions | |
| int | osPrintf (const char *iformat,...) |
Lightweight version of GNU printf.
| int osPrintf | ( | const char * | iformat, |
| ... | |||
| ) |
printf to be used by the OS user. Can be ported to another platform easily by just using another function to transmit one string with the USART.
| iformat | Currently supported are d integers c single characters s C strings f Floats with 4 decimals %.xf Floats with x decimals |
| Returns | the number of characters printed (SUCCESS) or -1 (FAILURE). |