Project

General

Profile

Revision 68

working decently

View differences:

errors.h
1
#ifndef _ERRORS_H_
2
#define _ERRORS_H_
1
#ifndef ERRORS_H_INCLUDED
2
#define ERRORS_H_INCLUDED
3 3

  
4 4
enum errors {
5 5
    SUCCESS = 0,    /* @brief Sucessful */
6 6
    NULL_PTR,       /* @brief Null Pointer Error */
7 7
    LCF_ERROR,      /* @brief Error originated on LCF */
8 8
    SBCR_ERROR,     /* @brief Error on Subscribing Interrupt */
9
    UNSBCR_ERROR,    /* @brief Error on Unsubscring Interrupt*/
9
    UNSBCR_ERROR,   /* @brief Error on Unsubscring Interrupt*/
10 10
    READ_ERROR,     /* @brief Error on Reading from Port */
11 11
    WRITE_ERROR,    /* @brief Error on Writing to Port */
12
    TIMEOUT_ERROR,  /* @brief Timeout error */
13
    OTHER_ERROR,    /* @brief Unspecified error */
12 14
};
13 15

  
14
#endif /* end of include guard: _ERRORS_H_ */
16
#endif //ERRORS_H_INCLUDED

Also available in: Unified diff