Project

General

Profile

Statistics
| Revision:

root / lab4 / errors.h @ 68

History | View | Annotate | Download (609 Bytes)

1 68 up20180642
#ifndef ERRORS_H_INCLUDED
2
#define ERRORS_H_INCLUDED
3 53 up20180655
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 68 up20180642
    UNSBCR_ERROR,   /* @brief Error on Unsubscring Interrupt*/
10 53 up20180655
    READ_ERROR,     /* @brief Error on Reading from Port */
11
    WRITE_ERROR,    /* @brief Error on Writing to Port */
12 68 up20180642
    TIMEOUT_ERROR,  /* @brief Timeout error */
13
    OTHER_ERROR,    /* @brief Unspecified error */
14 53 up20180655
};
15
16 68 up20180642
#endif //ERRORS_H_INCLUDED