Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

nrf_assert.h File Reference

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_numThe line number where the assertion is called
file_namePointer to the file name

Function for handling assertions.

Parameters:
[in]line_num
[in]p-file_name
Returns:

Definition at line 258 of file btle.cpp.