MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / assert

Function assert

bsp/microchip/same54/bsp/hal/utils/src/utils_assert.c:39–46  ·  view source on GitHub ↗

* \brief Assert function */

Source from the content-addressed store, hash-verified

37 * \brief Assert function
38 */
39void assert(const bool condition, const char *const file, const int line)
40{
41 if (!(condition)) {
42 __asm("BKPT #0");
43 }
44 (void)file;
45 (void)line;
46}

Callers 15

eap_send_requestFunction · 0.50
eap_responseFunction · 0.50
eap_send_requestFunction · 0.50
eap_responseFunction · 0.50
__set_USTATUSFunction · 0.50
__get_USTATUSFunction · 0.50
__get_PSPFunction · 0.50
__set_PSPFunction · 0.50
__get_MSPFunction · 0.50
__set_MSPFunction · 0.50
__irq_get_activeFunction · 0.50
__irq_forge_it_vectFunction · 0.50

Calls

no outgoing calls

Tested by 2

init_testFunction · 0.40
search_testFunction · 0.40