1 /** 2 * 3 * @defgroup nrfx_comp_config COMP peripheral driver configuration 4 * @{ 5 * @ingroup nrfx_comp 6 */ 7 /** @brief Enable COMP driver 8 * 9 * Set to 1 to activate. 10 * 11 * @note This is an NRF_CONFIG macro. 12 */ 13 #define NRFX_COMP_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 23 * - 5 - 5 24 * - 6 - 6 25 * - 7 - 7 26 * 27 * @note This is an NRF_CONFIG macro. 28 */ 29 #define NRFX_COMP_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_COMP_CONFIG_LOG_ENABLED 38 39 /** @brief Default Severity level 40 * 41 * Following options are available: 42 * - 0 - Off 43 * - 1 - Error 44 * - 2 - Warning 45 * - 3 - Info 46 * - 4 - Debug 47 * 48 * @note This is an NRF_CONFIG macro. 49 */ 50 #define NRFX_COMP_CONFIG_LOG_LEVEL 51 52 /** @brief ANSI escape code prefix. 53 * 54 * Following options are available: 55 * - 0 - Default 56 * - 1 - Black 57 * - 2 - Red 58 * - 3 - Green 59 * - 4 - Yellow 60 * - 5 - Blue 61 * - 6 - Magenta 62 * - 7 - Cyan 63 * - 8 - White 64 * 65 * @note This is an NRF_CONFIG macro. 66 */ 67 #define NRFX_COMP_CONFIG_INFO_COLOR 68 69 /** @brief ANSI escape code prefix. 70 * 71 * Following options are available: 72 * - 0 - Default 73 * - 1 - Black 74 * - 2 - Red 75 * - 3 - Green 76 * - 4 - Yellow 77 * - 5 - Blue 78 * - 6 - Magenta 79 * - 7 - Cyan 80 * - 8 - White 81 * 82 * @note This is an NRF_CONFIG macro. 83 */ 84 #define NRFX_COMP_CONFIG_DEBUG_COLOR 85 86 87 88 /** @} */ 89