Index: MsgDefs.h =================================================================== diff -u -rf22b09b139a18092ee6d316b2ea6ff096da4d0f5 -rf141c4b3acce90dcaa9e192914f3550bec646004 --- MsgDefs.h (.../MsgDefs.h) (revision f22b09b139a18092ee6d316b2ea6ff096da4d0f5) +++ MsgDefs.h (.../MsgDefs.h) (revision f141c4b3acce90dcaa9e192914f3550bec646004) @@ -1,6 +1,6 @@ /**********************************************************************//** * - * Copyright (c) 2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. @@ -20,7 +20,7 @@ // ********** public definitions ********** /// Enumeration of system message IDs. -typedef enum Msg_IDs +enum Msg_IDs { // normal CAN messages MSG_ID_UNUSED = 0, ///< Zero is an undefined (un-used) message ID). MSG_ID_OFF_BUTTON_PRESS = 1, ///< HD/UI off button interactions. @@ -103,10 +103,12 @@ MSG_ID_DG_SET_RTC_DATE_TIME = 0xA004, MSG_ID_LOAD_CELL_OVERRIDE = 0xA005, END_OF_MSG_IDS ///< # of system message IDs. -} MSG_ID_T; +}; +/// Type for message IDs enumeration. +typedef enum Msg_IDs MSG_ID_T; -/// Settings change rejection reason codes. -typedef enum Request_Reject_Reasons +/// Enumeration of settings change rejection reason codes. +enum Request_Reject_Reasons { REQUEST_REJECT_REASON_NONE = 0, ///< Used when there is no rejection. REQUEST_REJECT_REASON_NOT_ALLOWED_IN_CURRENT_MODE, ///< Request is not allowed in the current operating mode. @@ -122,6 +124,8 @@ REQUEST_REJECT_REASON_UF_VOLUME_OUT_OF_RANGE, ///< Ultrafiltration volume is out of range. REQUEST_REJECT_REASON_UF_RATE_OUT_OF_RANGE, ///< Ultrafiltration rate is out of range. NUM_OF_REQUEST_REJECT_REASONS ///< Number of settings change reject codes. -} REQUEST_REJECT_REASON_CODE_T; +}; +/// Type for settings change rejection reason codes enumeration. +typedef enum Request_Reject_Reasons REQUEST_REJECT_REASON_CODE_T; #endif