1 /** 2 * 3 * @defgroup nrfx_timer_config TIMER periperal driver configuration 4 * @{ 5 * @ingroup nrfx_timer 6 */ 7 /** @brief 8 * 9 * Set to 1 to activate. 10 * 11 * @note This is an NRF_CONFIG macro. 12 */ 13 #define NRFX_TIMER_ENABLED 14 15 /** @brief Enable TIMER0 instance 16 * 17 * Set to 1 to activate. 18 * 19 * @note This is an NRF_CONFIG macro. 20 */ 21 #define NRFX_TIMER0_ENABLED 22 23 /** @brief Enable TIMER1 instance 24 * 25 * Set to 1 to activate. 26 * 27 * @note This is an NRF_CONFIG macro. 28 */ 29 #define NRFX_TIMER1_ENABLED 30 31 /** @brief Enable TIMER2 instance 32 * 33 * Set to 1 to activate. 34 * 35 * @note This is an NRF_CONFIG macro. 36 */ 37 #define NRFX_TIMER2_ENABLED 38 39 /** @brief Enable TIMER3 instance 40 * 41 * Set to 1 to activate. 42 * 43 * @note This is an NRF_CONFIG macro. 44 */ 45 #define NRFX_TIMER3_ENABLED 46 47 /** @brief Enable TIMER4 instance 48 * 49 * Set to 1 to activate. 50 * 51 * @note This is an NRF_CONFIG macro. 52 */ 53 #define NRFX_TIMER4_ENABLED 54 55 /** @brief Interrupt priority 56 * 57 * Following options are available: 58 * - 0 - 0 (highest) 59 * - 1 - 1 60 * - 2 - 2 61 * - 3 - 3 62 * - 4 - 4 (Not applicable for nRF51) 63 * - 5 - 5 (Not applicable for nRF51) 64 * - 6 - 6 (Not applicable for nRF51) 65 * - 7 - 7 (Not applicable for nRF51) 66 * 67 * @note This is an NRF_CONFIG macro. 68 */ 69 #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 70 71 /** @brief Enables logging in the module. 72 * 73 * Set to 1 to activate. 74 * 75 * @note This is an NRF_CONFIG macro. 76 */ 77 #define NRFX_TIMER_CONFIG_LOG_ENABLED 78 79 /** @brief Default Severity level 80 * 81 * Following options are available: 82 * - 0 - Off 83 * - 1 - Error 84 * - 2 - Warning 85 * - 3 - Info 86 * - 4 - Debug 87 * 88 * @note This is an NRF_CONFIG macro. 89 */ 90 #define NRFX_TIMER_CONFIG_LOG_LEVEL 91 92 /** @brief ANSI escape code prefix. 93 * 94 * Following options are available: 95 * - 0 - Default 96 * - 1 - Black 97 * - 2 - Red 98 * - 3 - Green 99 * - 4 - Yellow 100 * - 5 - Blue 101 * - 6 - Magenta 102 * - 7 - Cyan 103 * - 8 - White 104 * 105 * @note This is an NRF_CONFIG macro. 106 */ 107 #define NRFX_TIMER_CONFIG_INFO_COLOR 108 109 /** @brief ANSI escape code prefix. 110 * 111 * Following options are available: 112 * - 0 - Default 113 * - 1 - Black 114 * - 2 - Red 115 * - 3 - Green 116 * - 4 - Yellow 117 * - 5 - Blue 118 * - 6 - Magenta 119 * - 7 - Cyan 120 * - 8 - White 121 * 122 * @note This is an NRF_CONFIG macro. 123 */ 124 #define NRFX_TIMER_CONFIG_DEBUG_COLOR 125 126 127 128 /** @} */ 129