1 /** 2 * 3 * @defgroup nrfx_clock_config CLOCK peripheral driver configuration 4 * @{ 5 * @ingroup nrfx_clock 6 */ 7 /** @brief Enable CLOCK driver 8 * 9 * Set to 1 to activate. 10 * 11 * @note This is an NRF_CONFIG macro. 12 */ 13 #define NRFX_CLOCK_ENABLED 14 15 /** @brief LF Clock Source 16 * 17 * Following options are available: 18 * - 0 - RC 19 * - 1 - XTAL 20 * - 2 - Synth 21 * 22 * @note This is an NRF_CONFIG macro. 23 */ 24 #define NRFX_CLOCK_CONFIG_LF_SRC 25 26 /** @brief Enables LF Clock Calibration Support 27 * 28 * Set to 1 to activate. 29 * 30 * @note This is an NRF_CONFIG macro. 31 */ 32 #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 33 34 /** @brief Interrupt priority 35 * 36 * Following options are available: 37 * - 0 - 0 (highest) 38 * - 1 - 1 39 * - 2 - 2 40 * - 3 - 3 41 * - 4 - 4 (Not applicable for nRF51) 42 * - 5 - 5 (Not applicable for nRF51) 43 * - 6 - 6 (Not applicable for nRF51) 44 * - 7 - 7 (Not applicable for nRF51) 45 * 46 * @note This is an NRF_CONFIG macro. 47 */ 48 #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 49 50 /** @brief Enables logging in the module. 51 * 52 * Set to 1 to activate. 53 * 54 * @note This is an NRF_CONFIG macro. 55 */ 56 #define NRFX_CLOCK_CONFIG_LOG_ENABLED 57 58 /** @brief Default Severity level 59 * 60 * Following options are available: 61 * - 0 - Off 62 * - 1 - Error 63 * - 2 - Warning 64 * - 3 - Info 65 * - 4 - Debug 66 * 67 * @note This is an NRF_CONFIG macro. 68 */ 69 #define NRFX_CLOCK_CONFIG_LOG_LEVEL 70 71 /** @brief ANSI escape code prefix. 72 * 73 * Following options are available: 74 * - 0 - Default 75 * - 1 - Black 76 * - 2 - Red 77 * - 3 - Green 78 * - 4 - Yellow 79 * - 5 - Blue 80 * - 6 - Magenta 81 * - 7 - Cyan 82 * - 8 - White 83 * 84 * @note This is an NRF_CONFIG macro. 85 */ 86 #define NRFX_CLOCK_CONFIG_INFO_COLOR 87 88 /** @brief ANSI escape code prefix. 89 * 90 * Following options are available: 91 * - 0 - Default 92 * - 1 - Black 93 * - 2 - Red 94 * - 3 - Green 95 * - 4 - Yellow 96 * - 5 - Blue 97 * - 6 - Magenta 98 * - 7 - Cyan 99 * - 8 - White 100 * 101 * @note This is an NRF_CONFIG macro. 102 */ 103 #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 104 105 106 107 /** @} */ 108