root / lab4 / errors.h @ 62
History | View | Annotate | Download (515 Bytes)
1 | 53 | up20180655 | #ifndef _ERRORS_H_
|
---|---|---|---|
2 | #define _ERRORS_H_
|
||
3 | |||
4 | enum errors {
|
||
5 | 54 | up20180642 | SUCCESS = 0, /* @brief Sucessful */ |
6 | 53 | up20180655 | NULL_PTR, /* @brief Null Pointer Error */
|
7 | LCF_ERROR, /* @brief Error originated on LCF */
|
||
8 | SBCR_ERROR, /* @brief Error on Subscribing Interrupt */
|
||
9 | UNSBCR_ERROR, /* @brief Error on Unsubscring Interrupt*/
|
||
10 | READ_ERROR, /* @brief Error on Reading from Port */
|
||
11 | WRITE_ERROR, /* @brief Error on Writing to Port */
|
||
12 | }; |
||
13 | |||
14 | #endif /* end of include guard: _ERRORS_H_ */ |