|
EmbeddedEtcher
|
#include <stdio.h>#include <stdarg.h>#include <string.h>#include "stm32f10x.h"#include "helpers.h"#include "printf.h"#include "../platform/usart.h"#include "ossettings.h"#include "error.h"
Functions | |
| int | osPrintf (const char *iformat,...) |
| 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). |
1.8.13