R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information
Fork of nrf51-sdk by
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 19:00:13 by
![doxygen](doxygen.png)