BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
bluetoe::nrf::high_frequency_crystal_oscillator_startup_time< StartupTimeMicroSeconds > Struct Template Reference

configure the high frequency crystal oscillator startup time More...

#include <bluetoe/bindings/nordic/include/bluetoe/nrf.hpp>

Detailed Description

template<unsigned StartupTimeMicroSeconds>
struct bluetoe::nrf::high_frequency_crystal_oscillator_startup_time< StartupTimeMicroSeconds >

configure the high frequency crystal oscillator startup time

Unless bluetoe::nrf::synthesized_sleep_clock is used as the sleep clock source, the nRF52 binding is switching on and off the high frequency clock oscillator to save power. It's important that this parameter is in configured to meet the real hardwares startup time to have the best power perfomance and a stable connection.

The given value in µs is roundet up to the next full period of the low frequency clock (30.52µs).

If this configuration value is not given, 300µs (bluetoe::nrf::high_frequency_crystal_oscillator_startup_time_default) is used as the default.

See also
bluetoe::nrf::sleep_clock_crystal_oscillator
bluetoe::nrf::calibrated_rc_sleep_clock

The documentation for this struct was generated from the following file: