EVE 1.0
platform.h
1 #ifndef EVE_PLATFORM_H_INCLUDED
2 #define EVE_PLATFORM_H_INCLUDED
3 
4 #include <ble.h>
5 #include <nrf_sdm.h>
6 
7 uint32_t EvePlatformInitEx(const ble_enable_params_t *BleEnableParams, const nrf_clock_lf_cfg_t *ClockConfig);
8 
9 static inline uint32_t EvePlatformInit(const ble_enable_params_t *BleEnableParams)
10 {
11  nrf_clock_lf_cfg_t NrfClockLfConfig = {
12  .source = NRF_CLOCK_LF_SRC_XTAL,
13  .rc_ctiv = 0,
14  .rc_temp_ctiv = 0,
15  .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_250_PPM,
16  };
17  return EvePlatformInitEx(BleEnableParams, &NrfClockLfConfig);
18 }
19 
20 
21 #endif
Header file for BLE subsystem interface.