updates

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_common_opt_radio_cpu_mutex_t Struct Reference

ble_common_opt_radio_cpu_mutex_t Struct Reference
[Structures]

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

#include <ble.h>

Data Fields

uint8_t enable: 1
 Enable mutual exclusion of radio activity and the CPU execution.

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 sd_ble_opt_set to configure the 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.

Definition at line 206 of file ble.h.


Field Documentation

uint8_t enable

Enable mutual exclusion of radio activity and the CPU execution.

Definition at line 208 of file ble.h.