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