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.
Fork of nrf51-sdk by
nrf_assert.h File Reference
Utilities for verifying program logic. More...
Go to the source code of this file.
Functions | |
void | assert_nrf_callback (uint16_t line_num, const uint8_t *file_name) |
Function for handling assertions. |
Detailed Description
Utilities for verifying program logic.
Definition in file nrf_assert.h.
Function Documentation
void assert_nrf_callback | ( | uint16_t | line_num, |
const uint8_t * | file_name | ||
) |
Function for handling assertions.
- Note:
- This function is called when an assertion has triggered.
- Postcondition:
- All hardware is put into an idle non-emitting state (in particular the radio is highly important to switch off since the radio might be in a state that makes it send packets continiously while a typical final infinit ASSERT loop is executing).
- Parameters:
-
line_num The line number where the assertion is called file_name Pointer to the file name
Definition at line 35 of file nrf_assert.c.
Generated on Tue Jul 12 2022 14:11:21 by
