Enumerations | Functions

hal/nrf24le1/hal_clk.h File Reference

Interface for clock management. More...

#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Enumerations

enum  hal_clk_input_t { HAL_CLK_XOSC16_OR_RCOSC16 = 0, HAL_CLK_PAD_XC1 = 1 }
enum  hal_clk_source_t { HAL_CLK_XOSC16M_AND_RCOSC16M = 0, HAL_CLK_RCOSC16M = 1, HAL_CLK_XOSC16M = 2 }
enum  hal_clk_freq_t {
  HAL_CLK_16MHZ = 0, HAL_CLK_8MHZ = 1, HAL_CLK_4MHZ = 2, HAL_CLK_2MHZ = 3,
  HAL_CLK_1MHZ = 4, HAL_CLK_500KHZ = 5, HAL_CLK_250KHZ = 6, HAL_CLK_125KHZ = 7
}
enum  hal_clklf_source_t {
  HAL_CLKLF_XOSC32K = 0, HAL_CLKLF_RCOSC32K = 1, HAL_CLKLF_XOSC16M_SYNTH = 2, HAL_CLKLF_PAD_XC1 = 3,
  HAL_CLKLF_DIG_IO_RAIL = 4, HAL_CLKLF_NONE = 7
}

Functions

void hal_clk_regret_xosc16m_on (_Bool on)
void hal_clk_set_input (hal_clk_input_t input)
void hal_clk_set_16m_source (hal_clk_source_t source)
hal_clk_source_t hal_clk_get_16m_source (void)
void hal_clk_set_freq (hal_clk_freq_t freq)
_Bool hal_clklf_phase (void)
_Bool hal_clklf_ready (void)
void hal_clklf_set_source (hal_clklf_source_t source)

Detailed Description

Interface for clock management.

Definition in file hal_clk.h.