nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_common_opt_radio_cpu_mutex_t Struct Reference

Mutual exclusion of radio activity and CPU execution. More...

#include <ble.h>

Data Fields

uint8_t enable: 1
 

Detailed Description

Mutual exclusion of radio activity and CPU execution.

   This option configures the application's access to the CPU when the radio is active. The
   application can configure itself to be blocked from using the CPU while the radio is
   active. By default, the application will be able to share CPU time with the SoftDevice
   during radio activity. This parameter structure is used together with @ref sd_ble_opt_set
   to configure the @ref BLE_COMMON_OPT_RADIO_CPU_MUTEX option.
Note
Note that the application should use this option to configure the SoftDevice to block the CPU during radio activity (i.e enable mutual exclusion) when running the SoftDevice on hardware affected by PAN #44 "CCM may exceed real time requirements"and PAN #45 "AAR may exceed real time requirements".
Note that when acting as a scanner, the mutex is only enabled for radio TX activity.
sd_ble_opt_get is not supported for this option.

Field Documentation

uint8_t ble_common_opt_radio_cpu_mutex_t::enable

Enable mutual exclusion of radio activity and the CPU execution.