1 /** 2 * 3 * @defgroup nrfx_uarte_config UARTE peripheral driver configuration 4 * @{ 5 * @ingroup nrfx_uarte 6 */ 7 /** @brief Enable UARTE driver 8 * 9 * Set to 1 to activate. 10 * 11 * @note This is an NRF_CONFIG macro. 12 */ 13 #define NRFX_UARTE_ENABLED 14 15 /** @brief Enable UARTE0 instance 16 * 17 * 18 * @note This is an NRF_CONFIG macro. 19 */ 20 #define NRFX_UARTE0_ENABLED 21 22 /** @brief Enable UARTE1 instance 23 * 24 * 25 * @note This is an NRF_CONFIG macro. 26 */ 27 #define NRFX_UARTE1_ENABLED 28 29 /** @brief Interrupt priority 30 * 31 * Following options are available: 32 * - 0 - 0 (highest) 33 * - 1 - 1 34 * - 2 - 2 35 * - 3 - 3 36 * - 4 - 4 37 * - 5 - 5 38 * - 6 - 6 39 * - 7 - 7 40 * 41 * @note This is an NRF_CONFIG macro. 42 */ 43 #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 44 45 /** @brief Enables logging in the module. 46 * 47 * Set to 1 to activate. 48 * 49 * @note This is an NRF_CONFIG macro. 50 */ 51 #define NRFX_UARTE_CONFIG_LOG_ENABLED 52 53 /** @brief Default Severity level 54 * 55 * Following options are available: 56 * - 0 - Off 57 * - 1 - Error 58 * - 2 - Warning 59 * - 3 - Info 60 * - 4 - Debug 61 * 62 * @note This is an NRF_CONFIG macro. 63 */ 64 #define NRFX_UARTE_CONFIG_LOG_LEVEL 65 66 /** @brief ANSI escape code prefix. 67 * 68 * Following options are available: 69 * - 0 - Default 70 * - 1 - Black 71 * - 2 - Red 72 * - 3 - Green 73 * - 4 - Yellow 74 * - 5 - Blue 75 * - 6 - Magenta 76 * - 7 - Cyan 77 * - 8 - White 78 * 79 * @note This is an NRF_CONFIG macro. 80 */ 81 #define NRFX_UARTE_CONFIG_INFO_COLOR 82 83 /** @brief ANSI escape code prefix. 84 * 85 * Following options are available: 86 * - 0 - Default 87 * - 1 - Black 88 * - 2 - Red 89 * - 3 - Green 90 * - 4 - Yellow 91 * - 5 - Blue 92 * - 6 - Magenta 93 * - 7 - Cyan 94 * - 8 - White 95 * 96 * @note This is an NRF_CONFIG macro. 97 */ 98 #define NRFX_UARTE_CONFIG_DEBUG_COLOR 99 100 101 102 /** @} */ 103