1 /**
2  *
3  * @defgroup nrfx_twis_config TWIS peripheral driver configuration
4  * @{
5  * @ingroup nrfx_twis
6  */
7 /** @brief
8  *
9  *  Set to 1 to activate.
10  *
11  * @note This is an NRF_CONFIG macro.
12  */
13 #define NRFX_TWIS_ENABLED
14 
15 /** @brief Enable TWIS0 instance
16  *
17  *  Set to 1 to activate.
18  *
19  * @note This is an NRF_CONFIG macro.
20  */
21 #define NRFX_TWIS0_ENABLED
22 
23 /** @brief Enable TWIS1 instance
24  *
25  *  Set to 1 to activate.
26  *
27  * @note This is an NRF_CONFIG macro.
28  */
29 #define NRFX_TWIS1_ENABLED
30 
31 /** @brief Assume that any instance would be initialized only once
32  *
33  * Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
34  *
35  *  Set to 1 to activate.
36  *
37  * @note This is an NRF_CONFIG macro.
38  */
39 #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
40 
41 /** @brief Remove support for synchronous mode
42  *
43  * Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
44  *
45  *  Set to 1 to activate.
46  *
47  * @note This is an NRF_CONFIG macro.
48  */
49 #define NRFX_TWIS_NO_SYNC_MODE
50 
51 /** @brief Interrupt priority
52  *
53  *  Following options are available:
54  * - 0 - 0 (highest)
55  * - 1 - 1
56  * - 2 - 2
57  * - 3 - 3
58  * - 4 - 4
59  * - 5 - 5
60  * - 6 - 6
61  * - 7 - 7
62  *
63  * @note This is an NRF_CONFIG macro.
64  */
65 #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
66 
67 /** @brief Enables logging in the module.
68  *
69  *  Set to 1 to activate.
70  *
71  * @note This is an NRF_CONFIG macro.
72  */
73 #define NRFX_TWIS_CONFIG_LOG_ENABLED
74 /** @brief Default Severity level
75  *
76  *  Following options are available:
77  * - 0 - Off
78  * - 1 - Error
79  * - 2 - Warning
80  * - 3 - Info
81  * - 4 - Debug
82  *
83  * @note This is an NRF_CONFIG macro.
84  */
85 #define NRFX_TWIS_CONFIG_LOG_LEVEL
86 
87 /** @brief ANSI escape code prefix.
88  *
89  *  Following options are available:
90  * - 0 - Default
91  * - 1 - Black
92  * - 2 - Red
93  * - 3 - Green
94  * - 4 - Yellow
95  * - 5 - Blue
96  * - 6 - Magenta
97  * - 7 - Cyan
98  * - 8 - White
99  *
100  * @note This is an NRF_CONFIG macro.
101  */
102 #define NRFX_TWIS_CONFIG_INFO_COLOR
103 
104 /** @brief ANSI escape code prefix.
105  *
106  *  Following options are available:
107  * - 0 - Default
108  * - 1 - Black
109  * - 2 - Red
110  * - 3 - Green
111  * - 4 - Yellow
112  * - 5 - Blue
113  * - 6 - Magenta
114  * - 7 - Cyan
115  * - 8 - White
116  *
117  * @note This is an NRF_CONFIG macro.
118  */
119 #define NRFX_TWIS_CONFIG_DEBUG_COLOR
120 
121 
122 
123 /** @} */
124