Lancaster University fork of the Nordic nrf51-SDK repository, which actually lives on github: https://github.com/lancaster-university/nrf51-sdk
Common application error handler
Common application error handler. More...
Functions | |
__WEAK void | app_error_handler (uint32_t error_code, uint32_t line_num, const uint8_t *p_file_name) |
Function for error handling, which is called when an error has occurred. |
Detailed Description
Common application error handler.
Common application error handler and macros for utilizing a common error handler.
Function Documentation
void app_error_handler | ( | uint32_t | error_code, |
uint32_t | line_num, | ||
const uint8_t * | p_file_name | ||
) |
Function for error handling, which is called when an error has occurred.
- Warning:
- This handler is an example only and does not fit a final product. You need to analyze how your product is supposed to react in case of error.
- Parameters:
-
[in] error_code Error code supplied to the handler. [in] line_num Line number where the handler is called. [in] p_file_name Pointer to the file name.
Function is implemented as weak so that it can be overwritten by custom application error handler when needed.
- Parameters:
-
[in] error_code Error code supplied to the handler. [in] line_num Line number where the handler is called. [in] p_file_name Pointer to the file name.
Definition at line 69 of file app_error.c.
Generated on Tue Jul 12 2022 15:07:15 by 1.7.2