Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API_Tiny_BLE MPU6050-DMP-Seeed-Tiny-BLE mbed
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
| __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.
- 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 49 of file app_error.c.
Generated on Tue Jul 12 2022 18:38:31 by
1.7.2