|
@@ -1,168 +1,8 @@
|
|
|
#ifndef NRFX_CONFIG_H__
|
|
#ifndef NRFX_CONFIG_H__
|
|
|
#define NRFX_CONFIG_H__
|
|
#define NRFX_CONFIG_H__
|
|
|
|
|
|
|
|
-// <<< Use Configuration Wizard in Context Menu >>>\n
|
|
|
|
|
-
|
|
|
|
|
-// <h> nRF_Drivers
|
|
|
|
|
-
|
|
|
|
|
-// <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
|
|
|
|
|
-//==========================================================
|
|
|
|
|
-#ifndef NRFX_CLOCK_ENABLED
|
|
|
|
|
|
|
+#define NRFX_PRS_ENABLED 0
|
|
|
#define NRFX_CLOCK_ENABLED 0
|
|
#define NRFX_CLOCK_ENABLED 0
|
|
|
-#endif
|
|
|
|
|
-// <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
|
|
|
|
|
-
|
|
|
|
|
-// <0=> RC
|
|
|
|
|
-// <1=> XTAL
|
|
|
|
|
-// <2=> Synth
|
|
|
|
|
-// <131073=> External Low Swing
|
|
|
|
|
-// <196609=> External Full Swing
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_CLOCK_CONFIG_LF_SRC
|
|
|
|
|
-#define NRFX_CLOCK_CONFIG_LF_SRC 1
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
|
|
|
|
|
-
|
|
|
|
|
-// <0=> 0 (highest)
|
|
|
|
|
-// <1=> 1
|
|
|
|
|
-// <2=> 2
|
|
|
|
|
-// <3=> 3
|
|
|
|
|
-// <4=> 4
|
|
|
|
|
-// <5=> 5
|
|
|
|
|
-// <6=> 6
|
|
|
|
|
-// <7=> 7
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
|
|
|
|
|
-#define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 7
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
|
|
|
|
|
-//==========================================================
|
|
|
|
|
-#ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
|
|
|
|
|
-#define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
|
|
|
|
|
-#endif
|
|
|
|
|
-// <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level
|
|
|
|
|
-
|
|
|
|
|
-// <0=> Off
|
|
|
|
|
-// <1=> Error
|
|
|
|
|
-// <2=> Warning
|
|
|
|
|
-// <3=> Info
|
|
|
|
|
-// <4=> Debug
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
|
|
|
|
|
-#define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
|
|
|
|
|
-
|
|
|
|
|
-// <0=> Default
|
|
|
|
|
-// <1=> Black
|
|
|
|
|
-// <2=> Red
|
|
|
|
|
-// <3=> Green
|
|
|
|
|
-// <4=> Yellow
|
|
|
|
|
-// <5=> Blue
|
|
|
|
|
-// <6=> Magenta
|
|
|
|
|
-// <7=> Cyan
|
|
|
|
|
-// <8=> White
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
|
|
|
|
|
-#define NRFX_CLOCK_CONFIG_INFO_COLOR 0
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
|
|
|
|
|
-
|
|
|
|
|
-// <0=> Default
|
|
|
|
|
-// <1=> Black
|
|
|
|
|
-// <2=> Red
|
|
|
|
|
-// <3=> Green
|
|
|
|
|
-// <4=> Yellow
|
|
|
|
|
-// <5=> Blue
|
|
|
|
|
-// <6=> Magenta
|
|
|
|
|
-// <7=> Cyan
|
|
|
|
|
-// <8=> White
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
|
|
|
|
|
-#define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
|
|
|
|
|
-//==========================================================
|
|
|
|
|
-#ifndef NRFX_GPIOTE_ENABLED
|
|
|
|
|
-#define NRFX_GPIOTE_ENABLED 1
|
|
|
|
|
-#endif
|
|
|
|
|
-// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
|
|
|
|
|
-#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
|
|
|
|
|
-#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
|
|
|
|
|
-
|
|
|
|
|
-// <0=> 0 (highest)
|
|
|
|
|
-// <1=> 1
|
|
|
|
|
-// <2=> 2
|
|
|
|
|
-// <3=> 3
|
|
|
|
|
-// <4=> 4
|
|
|
|
|
-// <5=> 5
|
|
|
|
|
-// <6=> 6
|
|
|
|
|
-// <7=> 7
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
|
|
|
|
|
-#define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 7
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
|
|
|
|
|
-//==========================================================
|
|
|
|
|
-#ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
|
|
|
|
|
-#define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
|
|
|
|
|
-#endif
|
|
|
|
|
-// <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
|
|
|
|
|
-
|
|
|
|
|
-// <0=> Off
|
|
|
|
|
-// <1=> Error
|
|
|
|
|
-// <2=> Warning
|
|
|
|
|
-// <3=> Info
|
|
|
|
|
-// <4=> Debug
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
|
|
|
|
|
-#define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
|
|
|
|
|
-
|
|
|
|
|
-// <0=> Default
|
|
|
|
|
-// <1=> Black
|
|
|
|
|
-// <2=> Red
|
|
|
|
|
-// <3=> Green
|
|
|
|
|
-// <4=> Yellow
|
|
|
|
|
-// <5=> Blue
|
|
|
|
|
-// <6=> Magenta
|
|
|
|
|
-// <7=> Cyan
|
|
|
|
|
-// <8=> White
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
|
|
|
|
|
-#define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
|
|
|
|
|
-
|
|
|
|
|
-// <0=> Default
|
|
|
|
|
-// <1=> Black
|
|
|
|
|
-// <2=> Red
|
|
|
|
|
-// <3=> Green
|
|
|
|
|
-// <4=> Yellow
|
|
|
|
|
-// <5=> Blue
|
|
|
|
|
-// <6=> Magenta
|
|
|
|
|
-// <7=> Cyan
|
|
|
|
|
-// <8=> White
|
|
|
|
|
-
|
|
|
|
|
-#ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
|
|
|
|
|
-#define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
|
|
|
|
|
-#endif
|
|
|
|
|
-
|
|
|
|
|
-// </e>
|
|
|
|
|
-
|
|
|
|
|
-// </e>
|
|
|
|
|
|
|
|
|
|
// <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
|
|
// <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
|
|
|
//==========================================================
|
|
//==========================================================
|