RTC peripheral driver configuration

nRF5 SDK v12.1.0

Macros

#define RTC_ENABLED
Set to 1 to activate. More...
#define RTC_DEFAULT_CONFIG_FREQUENCY
Frequency. More...
#define RTC_DEFAULT_CONFIG_RELIABLE
Ensures safe compare event triggering. More...
#define RTC_DEFAULT_CONFIG_IRQ_PRIORITY
Interrupt priority. More...
#define RTC0_ENABLED
Enable RTC0 instance. More...
#define RTC1_ENABLED
Enable RTC1 instance. More...
#define RTC2_ENABLED
Enable RTC2 instance. More...
#define NRF_MAXIMUM_LATENCY_US
Maximum possible time[us] in highest priority interrupt. More...

Detailed Description

Macro Definition Documentation

#define NRF_MAXIMUM_LATENCY_US

Maximum possible time[us] in highest priority interrupt.

Note
This is an NRF_CONFIG macro.
#define RTC0_ENABLED

Enable RTC0 instance.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define RTC1_ENABLED

Enable RTC1 instance.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define RTC2_ENABLED

Enable RTC2 instance.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define RTC_DEFAULT_CONFIG_FREQUENCY

Frequency.

Minimum value: 16 Maximum value: 32768

Note
This is an NRF_CONFIG macro.
#define RTC_DEFAULT_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 (except nRF51 family)
  • 5 - 5 (except nRF51 family)
  • 6 - 6 (except nRF51 family)
  • 7 - 7 (except nRF51 family)
Note
This is an NRF_CONFIG macro.
#define RTC_DEFAULT_CONFIG_RELIABLE

Ensures safe compare event triggering.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define RTC_ENABLED

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.