Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
nrf_clock_control.h File Reference
#include <zephyr/device.h>
#include <hal/nrf_clock.h>
#include <zephyr/sys/onoff.h>
#include <zephyr/drivers/clock_control.h>

Go to the source code of this file.

Macros

#define CLOCK_CONTROL_NRF_SUBSYS_HF    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_HFCLK)
 
#define CLOCK_CONTROL_NRF_SUBSYS_LF    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_LFCLK)
 
#define CLOCK_CONTROL_NRF_SUBSYS_HF192M    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_HFCLK192M)
 
#define CLOCK_CONTROL_NRF_SUBSYS_HFAUDIO    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_HFCLKAUDIO)
 

Enumerations

enum  clock_control_nrf_type { CLOCK_CONTROL_NRF_TYPE_HFCLK , CLOCK_CONTROL_NRF_TYPE_LFCLK , CLOCK_CONTROL_NRF_TYPE_COUNT }
 Clocks handled by the CLOCK peripheral. More...
 
enum  nrf_lfclk_start_mode { CLOCK_CONTROL_NRF_LF_START_NOWAIT , CLOCK_CONTROL_NRF_LF_START_AVAILABLE , CLOCK_CONTROL_NRF_LF_START_STABLE }
 LF clock start modes. More...
 

Macro Definition Documentation

◆ CLOCK_CONTROL_NRF_SUBSYS_HF

#define CLOCK_CONTROL_NRF_SUBSYS_HF    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_HFCLK)

◆ CLOCK_CONTROL_NRF_SUBSYS_HF192M

#define CLOCK_CONTROL_NRF_SUBSYS_HF192M    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_HFCLK192M)

◆ CLOCK_CONTROL_NRF_SUBSYS_HFAUDIO

#define CLOCK_CONTROL_NRF_SUBSYS_HFAUDIO    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_HFCLKAUDIO)

◆ CLOCK_CONTROL_NRF_SUBSYS_LF

#define CLOCK_CONTROL_NRF_SUBSYS_LF    ((clock_control_subsys_t)CLOCK_CONTROL_NRF_TYPE_LFCLK)

Enumeration Type Documentation

◆ clock_control_nrf_type

Clocks handled by the CLOCK peripheral.

Enum shall be used as a sys argument in clock_control API.

Enumerator
CLOCK_CONTROL_NRF_TYPE_HFCLK 
CLOCK_CONTROL_NRF_TYPE_LFCLK 
CLOCK_CONTROL_NRF_TYPE_COUNT 

◆ nrf_lfclk_start_mode

LF clock start modes.

Enumerator
CLOCK_CONTROL_NRF_LF_START_NOWAIT 
CLOCK_CONTROL_NRF_LF_START_AVAILABLE 
CLOCK_CONTROL_NRF_LF_START_STABLE