// *** Select any of the comment styles below for defines *************** /*! * @brief Simple enum description * * Optional detailed explanation: This example defines the meaning of * declaring a variable of type "enum Day_of_week" */ enum Day_of_week { Sunday, Monday, Tuesday, Wednesday, //!< Comment each possible value if needed Thursday, Friday, Saturday }; /*! * @brief User button status (SET or RESET) * * This is actually creating a new data type: USER_BUTTON_STATUS_T */ typedef enum { SET, //!< Normal State RESET //!< Button press has been detected } USER_BUTTON_STATUS_T;