1 /**
2  *
3  * @defgroup nrfx_twi_config TWI peripheral driver configuration
4  * @{
5  * @ingroup nrfx_twi
6  */
7 /** @brief
8  *
9  *  Set to 1 to activate.
10  *
11  * @note This is an NRF_CONFIG macro.
12  */
13 #define NRFX_TWI_ENABLED
14 
15 /** @brief Enable TWI0 instance
16  *
17  *  Set to 1 to activate.
18  *
19  * @note This is an NRF_CONFIG macro.
20  */
21 #define NRFX_TWI0_ENABLED
22 
23 /** @brief Enable TWI1 instance
24  *
25  *  Set to 1 to activate.
26  *
27  * @note This is an NRF_CONFIG macro.
28  */
29 #define NRFX_TWI1_ENABLED
30 
31 /** @brief Interrupt priority
32  *
33  *  Following options are available:
34  * - 0 - 0 (highest)
35  * - 1 - 1
36  * - 2 - 2
37  * - 3 - 3
38  * - 4 - 4 (Not applicable for nRF51)
39  * - 5 - 5 (Not applicable for nRF51)
40  * - 6 - 6 (Not applicable for nRF51)
41  * - 7 - 7 (Not applicable for nRF51)
42  *
43  * @note This is an NRF_CONFIG macro.
44  */
45 #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
46 
47 /** @brief Enables logging in the module.
48  *
49  *  Set to 1 to activate.
50  *
51  * @note This is an NRF_CONFIG macro.
52  */
53 #define NRFX_TWI_CONFIG_LOG_ENABLED
54 
55 /** @brief Default Severity level
56  *
57  *  Following options are available:
58  * - 0 - Off
59  * - 1 - Error
60  * - 2 - Warning
61  * - 3 - Info
62  * - 4 - Debug
63  *
64  * @note This is an NRF_CONFIG macro.
65  */
66 #define NRFX_TWI_CONFIG_LOG_LEVEL
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_TWI_CONFIG_INFO_COLOR
84 
85 /** @brief ANSI escape code prefix.
86  *
87  *  Following options are available:
88  * - 0 - Default
89  * - 1 - Black
90  * - 2 - Red
91  * - 3 - Green
92  * - 4 - Yellow
93  * - 5 - Blue
94  * - 6 - Magenta
95  * - 7 - Cyan
96  * - 8 - White
97  *
98  * @note This is an NRF_CONFIG macro.
99  */
100 #define NRFX_TWI_CONFIG_DEBUG_COLOR
101 
102 
103 
104 /** @} */
105