Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Support functions

Support functions. More...

Functions

ret_code_t support_func_ble_mac_address_print_rtt (void)
 Prints the MAC addess of the device. More...
 
bool support_func_sys_halt_debug_enabled (void)
 Checks if the device is in debug mode. More...
 

Detailed Description

Support functions.

Function Documentation

ret_code_t support_func_ble_mac_address_print_rtt ( void  )

Prints the MAC addess of the device.

Note
The softdevice must be enabled before this call is made.
Returns
NRF_SUCCESS If the call was successful.
NRF_ERROR_SOFTDEVICE_NOT_ENABLED The softdevice has not been enabled.
Other codes from the underlying driver(s).
bool support_func_sys_halt_debug_enabled ( void  )

Checks if the device is in debug mode.

Note
Checks if the C_DEBUGEN flag is set in the DHCSR register (Debug Halting Control and Status Register).
Returns
True System is in debug mode.
False System is not in debug mode.