nRF5 SDK v13.0.0
Macros
Simple application timer functionality configuration

Macros

#define SIMPLE_TIMER_ENABLED
 Enabling simple_timer module. More...
 
#define SIMPLE_TIMER_CONFIG_FREQUENCY
 Timer frequency if in Timer mode. More...
 
#define SIMPLE_TIMER_CONFIG_INSTANCE
 TIMER instance used. More...
 

Detailed Description

Macro Definition Documentation

#define SIMPLE_TIMER_CONFIG_FREQUENCY

Timer frequency if in Timer mode.

Following options are available:

  • 0 - 16 MHz
  • 1 - 8 MHz
  • 2 - 4 MHz
  • 3 - 2 MHz
  • 4 - 1 MHz
  • 5 - 500 kHz
  • 6 - 250 kHz
  • 7 - 125 kHz
  • 8 - 62.5 kHz
  • 9 - 31.25 kHz
Note
This is an NRF_CONFIG macro.
#define SIMPLE_TIMER_CONFIG_INSTANCE

TIMER instance used.

Following options are available:

  • 0 - 0
  • 1 - 1
  • 2 - 2
  • 3 - 3 (nRF52 family only)
  • 4 - 4 (nRF52 family only)
Note
This is an NRF_CONFIG macro.
#define SIMPLE_TIMER_ENABLED

Enabling simple_timer module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated