|
| | _Static_assert (sizeof(\ "NoReaction") > 10, "Error reaction name to short must be at least "x" 10 "" characters long!") |
| |
| | ASSERT_HELP (\ "DOC_D Es wird keine Aktion ausgeführt."\ "DOC_E No action will be performed.") |
| |
| static const char | ERR_VAR_NAME (g_sNoOnErrorReactionName, __LINE__) |
| |
| static const char | ERR_VAR_NAME (g_sNoOnErrorResetReactionName, __LINE__) |
| |
| void | OnNvErrorSet (tErrorListItem *g_ptErrorListItem) |
| | This function is called in case an Error with Flag NV_STORED is set the first time This weak definition is empty and can be overwritten by main project if an action is required. More...
|
| |
| void | OnNvErrorReset (tErrorListItem *g_ptErrorListItem) |
| | This function is called in case an Error with Flag NV_STORED is resetted. More...
|
| |
| __WEAK void | OnError (uint8_t line) |
| | This function is called on every Error. More...
|
| |
| __WEAK void | OnErrorReset (void) |
| | This function is called on Error-Reset This weak definition is empty and can be overwritten by main project if an action is required. More...
|
| |
| void | NoOnErrorReaction (void) |
| | This function is called if no Reaction is required after an error. More...
|
| |
| bool | NoOnErrorResetReaction (void) |
| | This function is called if no Reaction is required after an error reset. More...
|
| |
| tErrorListItem * | _SetErrorX (const tError *ptError, const tErrorSource *ptErrorSource,...) |
| | This function adds a error to the stack. More...
|
| |
| void | ErrorResetX (uint8_t ui8AccessLevel) |
| | Resets all pending errors if access level is sufficient. More...
|
| |
| void | ResetErrorIdRange (uint16_t ui16ErrorIdStart, uint16_t ui16ErrorIdEnd, uint8_t ui8AccessLevel) |
| | Resets all pending errors in a range of error IDs if access level is sufficient. More...
|
| |
| void | ErrorClear (uint8_t ui8AccessLevel) |
| | Removes all errors from stack if access level is sufficient, might be called after Init. More...
|
| |
| void | MaxFloat (void *DataOld, float DataNew) |
| | Update the atached data if new value is higher. More...
|
| |
| void | MinFloat (void *DataOld, float DataNew) |
| | Update the atatched data if new value is lower. More...
|
| |
| void | MaxAbsFloat (void *DataOld, float DataNew) |
| | Update the atatched data if new value abs is higher. More...
|
| |
| void | MaxInt (void *DataOld, int32_t DataNew) |
| | Update the atatched data if new value is higher. More...
|
| |
| void | MinInt (void *DataOld, int32_t DataNew) |
| | Update the atatched data if new value is lower. More...
|
| |
| void | MaxUInt (void *DataOld, uint32_t DataNew) |
| | Update the atatched data if new value is higher. More...
|
| |
| void | MinUInt (void *DataOld, uint32_t DataNew) |
| | Update the atatched data if new value is lower. More...
|
| |
| void | NoDataUpdate (void *fDataOld,...) |
| | Dummy Function for no Data-updates. More...
|
| |
| bool | ErrorsPending (void) |
| | Check if errors are pending. More...
|
| |
| void | ErrorInit (void) |
| | Inits the Error Stack with 0. More...
|
| |
| bool | IsErrorPending (uint32_t position) |
| | Check if the requestes Error-Position is pending. More...
|
| |
| uint16_t | GetErrorId (uint32_t position) |
| | Get Error ID of the Error on a specified Position. More...
|
| |
| static int | CmpErrTimeStamp (const void *a, const void *b) |
| | Compares two errors by tTimestampFirst. More...
|
| |
| uint32_t | PendingErrosSortedByTime (tErrorListItem *pptPendingErrorList[]) |
| | Get an array of the pending Errors sorted by tTimestampFirst. More...
|
| |
| | ASSERT_PARA_NAME ("ErrorsChanged") |
| |
| | ASSERT_PARA_DESCRIPTION ("This counter will be incremented on every change in the error system") |
| |
| | ASSERT_PARA_HELP ("") |
| |
| | PARA_HELP_TEXT_SECTION (315, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| | ASSERT_PARA_NAME ("ErrorsChanged2") |
| |
| | ASSERT_PARA_DESCRIPTION ("The counter in this array changes if this error slot is changed.") |
| |
| | PARA_HELP_TEXT_SECTION (340, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| static int32_t | ReadFunction_ErrorMemAddress (Parameter *this, uint16_t SubID, void *data, int32_t MaxCount, uint32_t offset, ParameterAccessSource Access, uint8_t access_level) |
| |
| | ASSERT_PARA_NAME ("Error Memory Address") |
| |
| | ASSERT_PARA_DESCRIPTION ("Adress of the Error Memory") |
| |
| | PARA_HELP_TEXT_SECTION (316, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| static int32_t | ReadFunction_ErrorMemSize (Parameter *this, uint16_t SubID, void *data, int32_t MaxCount, uint32_t offset, ParameterAccessSource Access, uint8_t access_level) |
| |
| | ASSERT_PARA_NAME ("Error Memory Size") |
| |
| | ASSERT_PARA_DESCRIPTION ("Size of the Error Memory") |
| |
| | PARA_HELP_TEXT_SECTION (317, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| | ASSERT_PARA_NAME ("Version Errorsystem") |
| |
| | ASSERT_PARA_DESCRIPTION ("Version of the used Error-System") |
| |
| | PARA_HELP_TEXT_SECTION (318, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| | ASSERT_PARA_NAME ("Pending") |
| |
| | ASSERT_PARA_DESCRIPTION ("An error that has not been reset is marked with a high bit") |
| |
| | PARA_HELP_TEXT_SECTION (319, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| void | ErrorReset (uint8_t ui8AccessLevel) |
| |
| static int32_t | WriteFunction_PARA_ErrorReset (Parameter *this, uint16_t SubID, void *data, int32_t MaxCount, uint32_t offset, ParameterAccessSource Access, uint8_t AccessLevel) |
| |
| static int32_t | ReadFunction_PARA_ErrorReset (Parameter *this, uint16_t SubID, void *data, int32_t MaxCount, uint32_t offset, ParameterAccessSource Access, uint8_t AccessLevel) |
| |
| | ASSERT_PARA_NAME ("ErrorReset") |
| |
| | ASSERT_PARA_DESCRIPTION ("Reset actual error") |
| |
| | PARA_HELP_TEXT_SECTION (307, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
| int32_t | WriteFunction_ErrorAddress (Parameter *ptThis, uint16_t ui16SubId, void *pData, int32_t ui32MaxCount, uint32_t ui32Offset, ParameterAccessSource tAccessSource, uint8_t ui8AccessLevel) |
| |
| | ASSERT_PARA_NAME ("ErrorAddress") |
| |
| | ASSERT_PARA_DESCRIPTION ("Gives the memory-Address of an error-code") |
| |
| | PARA_HELP_TEXT_SECTION (341, PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "") INCLUDE_HELP_DE("DOC_D " ""))) const |
| |
|
| static uint8_t | g_u8ErrorsChanged |
| | This counter will be incremented on every change in the error system. More...
|
| |
| static uint8_t | g_au8ErrorChangeVersion [30] |
| | This counter will be incremented on every change in the specific error entry. More...
|
| |
| static bool | g_bErrorResetLock = 0 |
| | Prevent adding an error while error reset. More...
|
| |
| static Type_Timestamp | g_ptErrorResetTimestamp |
| | Timestamp of last full Error-Reset. More...
|
| |
| const uint32_t | g_ui32ErrorSystemVersion = 2 |
| | Version of the Error Library. More...
|
| |
| tErrorListItem | g_ptErrorList [30] |
| | This array contains the error stack. More...
|
| |
| uint32_t | g_u32ErrorPending |
| | An error that has not been reset is marked with a high bit, bit 0 corresponds to g_ptErrorList[0] etc. More...
|
| |
| static const ParaData_U8 | g_tParaData_PARA_ID_ErrorsChanged = { &g_u8ErrorsChanged , 0x00 , 0xFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorsChanged [] = "ErrorsChanged" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorsChanged [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorsChanged [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorsChanged [] = "This counter will be incremented on every change in the error system" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| static const ParaData_U8 | g_tParaData_PARA_ID_ErrorsChanged2 = { (uint8_t *)&g_au8ErrorChangeVersion , 0x00 , 0xFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorsChanged2 [] = "ErrorsChanged2" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorsChanged2 [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorsChanged2 [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorsChanged2 [] = "The counter in this array changes if this error slot is changed." PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| const ParaData_U32 | g_tParaData_PARA_ID_ErrorMemAddress = { 0 , 0x00000000 , 0xFFFFFFFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorMemAddress [] = "Error Memory Address" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorMemAddress [] = "0x{0:X4}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorMemAddress [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorMemAddress [] = "Adress of the Error Memory" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| const ParaData_U32 | g_tParaData_PARA_ID_ErrorMemSize = { 0 , 0x00000000 , 0xFFFFFFFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorMemSize [] = "Error Memory Size" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorMemSize [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorMemSize [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorMemSize [] = "Size of the Error Memory" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| const ParaData_U32 | g_tParaData_PARA_ID_ErrorSystemVersion = { (uint32_t *)&g_ui32ErrorSystemVersion , 0x00000000 , 0xFFFFFFFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorSystemVersion [] = "Version Errorsystem" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorSystemVersion [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorSystemVersion [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorSystemVersion [] = "Version of the used Error-System" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| const ParaData_U32 | g_tParaData_PARA_ID_ErrorPending = { &g_u32ErrorPending , 0x00000000 , 0xFFFFFFFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorPending [] = "Pending" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorPending [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorPending [] = "[,0][,1][,2][,3][,4][,5][,6][,7][,8][,9][,10][,11][,12][,13][,14][,15][,16][,17][,18][,19][,20][,21][,22][,23][,24][,25][,26][,27][,28][,29][,30][Overflow,31]" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorPending [] = "An error that has not been reset is marked with a high bit" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| static const ParaData_U8 | g_tParaData_PARA_ID_ErrorReset = { 0 , 0 , 3 , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorReset [] = "ErrorReset" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorReset [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorReset [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorReset [] = "Reset actual error" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
| uint32_t | g_ui32ErrorAddress |
| |
| const ParaData_U32 | g_tParaData_PARA_ID_ErrorAddress = { &g_ui32ErrorAddress , 0x00000000 , 0xFFFFFFFF , 0 } |
| |
| static const char | g_sParaNamePARA_ID_ErrorAddress [] = "ErrorAddress" |
| |
| static const char | g_sParaUnitPARA_ID_ErrorAddress [] = "{0}" |
| |
| static const char | g_sParaSubstitutionTextPARA_ID_ErrorAddress [] = "" |
| |
| static const char | g_sParaDescriptionPARA_ID_ErrorAddress [] = "Gives the memory-Address of an error-code" PARA_HELP_TEXT_COMBINE(INCLUDE_HELP_EN("DOC_E " "" ) INCLUDE_HELP_DE("DOC_D " "" )) |
| |
Error and Warnings Plugin for Hermes PC-Tool.
© Copyright 2017-2022 Copyright: Retostronik GmbH Stütingstraße 30 58285 Gevelsberg