nRF5 SDK v17.1.0
Macros
CLOCK peripheral driver - legacy layer configuration

Macros

#define NRF_CLOCK_ENABLED
 Enable CLOCK driver. More...
 
#define CLOCK_CONFIG_LF_SRC
 LF Clock Source. More...
 
#define CLOCK_CONFIG_LF_CAL_ENABLED
 Calibration enable for LF Clock Source. More...
 
#define CLOCK_CONFIG_IRQ_PRIORITY
 Interrupt priority. More...
 

Detailed Description

Macro Definition Documentation

#define CLOCK_CONFIG_IRQ_PRIORITY

Interrupt priority.

Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice

Following options are available:

  • 0 - 0 (highest)
  • 1 - 1
  • 2 - 2
  • 3 - 3
  • 4 - 4 (Applicable devices only)
  • 5 - 5 (Applicable devices only)
  • 6 - 6 (Applicable devices only)
  • 7 - 7 (Applicable devices only)
Note
This is an NRF_CONFIG macro.
#define CLOCK_CONFIG_LF_CAL_ENABLED

Calibration enable for LF Clock Source.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define CLOCK_CONFIG_LF_SRC

LF Clock Source.

Following options are available:

  • 0 - RC
  • 1 - XTAL
  • 2 - Synth
  • 131073 - External Low Swing (Applicable devices only)
  • 196609 - External Full Swing (Applicable devices only)
Note
This is an NRF_CONFIG macro.
#define NRF_CLOCK_ENABLED

Enable CLOCK driver.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated