|
EmbeddedEtcher
|
#include <stdio.h>#include <string.h>#include <stdint.h>#include "error.h"#include "helpers.h"#include "printf.h"#include "ossettings.h"
Functions | |
| uint8_t | osExplainError (const char *ifile, const uint8_t iline, const osError_t ierror, char *iomessage) |
| uint8_t | osPrintError (const char *ifile, const int iline, const osError_t ierror) |
| uint8_t | osExplainWarning (const char *ifile, const uint8_t iline, const osWarning_t ierror, char *iomessage) |
| uint8_t | osPrintWarning (const char *ifile, const int iline, const osWarning_t iwarning) |
| uint8_t osExplainError | ( | const char * | ifile, |
| const uint8_t | iline, | ||
| const osError_t | ierror, | ||
| char * | iomessage | ||
| ) |
Creating a error message string from inter alia an error code.
| ifile | Filename where error occurs. |
| iline | Line where error occurs. |
| ierror | Error code. |
| message | Message related to the error. |
| 1 | (SUCCESS) or 0 (FAILURE). |
| uint8_t osExplainWarning | ( | const char * | ifile, |
| const uint8_t | iline, | ||
| const osWarning_t | ierror, | ||
| char * | iomessage | ||
| ) |
Creating a warning message string from inter alia a warning code.
| ifile | Filename where warning occurs. |
| iline | Line where warning occurs. |
| ierror | Warning code. |
| message | Message related to the warning. |
| 1 | (SUCCESS) or 0 (FAILURE). |
| uint8_t osPrintError | ( | const char * | ifile, |
| const int | iline, | ||
| const osError_t | ierror | ||
| ) |
Print error. This is where the error output can be redirected (later).
| ifile | Filename where error occurs. |
| iline | Line where error occurs. |
| ierror | Error code. |
| 1 | (SUCCESS) or 0 (FAILURE). |
| uint8_t osPrintWarning | ( | const char * | ifile, |
| const int | iline, | ||
| const osWarning_t | ierror | ||
| ) |
Print warning. This is where the warning output can be redirected (later).
| ifile | Filename where warning occurs. |
| iline | Line where warning occurs. |
| ierror | Warning code. |
| 1 | (SUCCESS) or 0 (FAILURE). |
1.8.13