![]() |
xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
Global listing of different error conditions. More...
#include <avr/io.h>#include <stdint.h>#include <stdlib.h>#include <avr/pgmspace.h>#include <error.h>Go to the source code of this file.
Functions | |
| char * | getErrorString (Error e) |
| Returns a human-readable error description. More... | |
Variables | |
| char PROGMEM | error0 [] = "Success" |
| String for SUCCESS. More... | |
| char PROGMEM | error1 [] = "TWI doesn't answer" |
| String for TWI_NO_ANSWER. More... | |
| char PROGMEM | error2 [] = "TWI could not write" |
| String for TWI_WRITE_ERROR. More... | |
| char PROGMEM | error3 [] = "Not enough memory" |
| String for MALLOC_FAIL. More... | |
| char PROGMEM | error4 [] = "General Error" |
| String for ERROR. More... | |
| char PROGMEM | error5 [] = "Argument Error" |
| String for ARGUMENT_ERROR. More... | |
| PGM_P PROGMEM | errorTable [] |
| Array of all error descriptions in Flash Memory. More... | |
Global listing of different error conditions.
Can be returned to signalise error or success. Also allows to print human-readable error descriptions.
Definition in file error.c.
| char PROGMEM error1[] = "TWI doesn't answer" |
| char PROGMEM error2[] = "TWI could not write" |
| char PROGMEM error3[] = "Not enough memory" |
| char PROGMEM error5[] = "Argument Error" |
1.8.3.1