nrfx 4.5.0
Loading...
Searching...
No Matches
CLOCK peripheral driver configuration

Macros

#define NRFX_CLOCK_ENABLED
 Enable CLOCK driver.
 
#define NRFX_CLOCK_CONFIG_LF_SRC
 LF Clock Source.
 
#define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
 Enables LF Clock Calibration Support.
 
#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY
 Interrupt priority.
 
#define NRFX_CLOCK_CONFIG_LOG_ENABLED
 Enables logging in the module.
 
#define NRFX_CLOCK_CONFIG_LOG_LEVEL
 Default Severity level.
 
#define NRFX_CLOCK_CONFIG_USE_LFRC_CALIBRATION
 Extends NRFX_CLOCK to use LFRC peripheral.
 

Detailed Description

Macro Definition Documentation

◆ NRFX_CLOCK_CONFIG_IRQ_PRIORITY

#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY

Interrupt priority.

Following options are available:

  • 0 - 0 (highest)
  • 1 - 1
  • 2 - 2
  • 3 - 3
  • 4 - 4
  • 5 - 5
  • 6 - 6
  • 7 - 7
Note
This is an NRF_CONFIG macro.

◆ NRFX_CLOCK_CONFIG_LF_CAL_ENABLED

#define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED

Enables LF Clock Calibration Support.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

◆ NRFX_CLOCK_CONFIG_LF_SRC

#define NRFX_CLOCK_CONFIG_LF_SRC

LF Clock Source.

Following options are available:

  • 0 - RC
  • 1 - XTAL
  • 2 - Synth
Note
This is an NRF_CONFIG macro.

◆ NRFX_CLOCK_CONFIG_LOG_ENABLED

#define NRFX_CLOCK_CONFIG_LOG_ENABLED

Enables logging in the module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

◆ NRFX_CLOCK_CONFIG_LOG_LEVEL

#define NRFX_CLOCK_CONFIG_LOG_LEVEL

Default Severity level.

Following options are available:

  • 0 - Off
  • 1 - Error
  • 2 - Warning
  • 3 - Info
  • 4 - Debug
Note
This is an NRF_CONFIG macro.

◆ NRFX_CLOCK_CONFIG_USE_LFRC_CALIBRATION

#define NRFX_CLOCK_CONFIG_USE_LFRC_CALIBRATION

Extends NRFX_CLOCK to use LFRC peripheral.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

◆ NRFX_CLOCK_ENABLED

#define NRFX_CLOCK_ENABLED

Enable CLOCK driver.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.