1 /** 2 * 3 * @defgroup nrfx_rng_config RNG peripheral driver configuration 4 * @{ 5 * @ingroup nrfx_rng 6 */ 7 /** @brief Enable RNG driver 8 * 9 * Set to 1 to activate. 10 * 11 * @note This is an NRF_CONFIG macro. 12 */ 13 #define NRFX_RNG_ENABLED 14 15 /** @brief Interrupt priority 16 * 17 * Following options are available: 18 * - 0 - 0 (highest) 19 * - 1 - 1 20 * - 2 - 2 21 * - 3 - 3 22 * - 4 - 4 (Not applicable for nRF51) 23 * - 5 - 5 (Not applicable for nRF51) 24 * - 6 - 6 (Not applicable for nRF51) 25 * - 7 - 7 (Not applicable for nRF51) 26 * 27 * @note This is an NRF_CONFIG macro. 28 */ 29 #define NRFX_RNG_CONFIG_IRQ_PRIORITY 30 31 /** @brief Enables logging in the module. 32 * 33 * Set to 1 to activate. 34 * 35 * @note This is an NRF_CONFIG macro. 36 */ 37 #define NRFX_RNG_CONFIG_LOG_ENABLED 38 /** @brief Default Severity level 39 * 40 * Following options are available: 41 * - 0 - Off 42 * - 1 - Error 43 * - 2 - Warning 44 * - 3 - Info 45 * - 4 - Debug 46 * 47 * @note This is an NRF_CONFIG macro. 48 */ 49 #define NRFX_RNG_CONFIG_LOG_LEVEL 50 51 /** @brief ANSI escape code prefix. 52 * 53 * Following options are available: 54 * - 0 - Default 55 * - 1 - Black 56 * - 2 - Red 57 * - 3 - Green 58 * - 4 - Yellow 59 * - 5 - Blue 60 * - 6 - Magenta 61 * - 7 - Cyan 62 * - 8 - White 63 * 64 * @note This is an NRF_CONFIG macro. 65 */ 66 #define NRFX_RNG_CONFIG_INFO_COLOR 67 68 /** @brief ANSI escape code prefix. 69 * 70 * Following options are available: 71 * - 0 - Default 72 * - 1 - Black 73 * - 2 - Red 74 * - 3 - Green 75 * - 4 - Yellow 76 * - 5 - Blue 77 * - 6 - Magenta 78 * - 7 - Cyan 79 * - 8 - White 80 * 81 * @note This is an NRF_CONFIG macro. 82 */ 83 #define NRFX_RNG_CONFIG_DEBUG_COLOR 84 85 86 87 /** @} */ 88