app_drv_config.h
Go to the documentation of this file.
1
52 #ifndef _APP_DRV_CONFIG_H_
53 #define _APP_DRV_CONFIG_H_
54
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58
64 #ifndef APP_DRIVER_ADC_WAPEUP_PRIORITY
65 #define APP_DRIVER_ADC_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
66 #endif
67
68 #ifndef APP_DRIVER_AES_WAPEUP_PRIORITY
69 #define APP_DRIVER_AES_WAPEUP_PRIORITY WAPEUP_PRIORITY_MID
70 #endif
71
72 #ifndef APP_DRIVER_COMP_WAPEUP_PRIORITY
73 #define APP_DRIVER_COMP_WAPEUP_PRIORITY WAPEUP_PRIORITY_LOW
74 #endif
75
76 #ifndef APP_DRIVER_DUAL_TIM_WAPEUP_PRIORITY
77 #define APP_DRIVER_DUAL_TIM_WAPEUP_PRIORITY WAPEUP_PRIORITY_MID
78 #endif
79
80 #ifndef APP_DRIVER_DMA_WAPEUP_PRIORITY
81 #define APP_DRIVER_DMA_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
82 #endif
83
84 #ifndef APP_DRIVER_GPIOTE_WAPEUP_PRIORITY
85 #define APP_DRIVER_GPIOTE_WAPEUP_PRIORITY WAPEUP_PRIORITY_LOW
86 #endif
87
88 #ifndef APP_DRIVER_SYSTICK_WAPEUP_PRIORITY
89 #define APP_DRIVER_SYSTICK_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
90 #endif
91
92 #ifndef APP_DRIVER_UART_WAPEUP_PRIORITY
93 #define APP_DRIVER_UART_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
94 #endif
95
96 #ifndef APP_DRIVER_HMAC_WAPEUP_PRIORITY
97 #define APP_DRIVER_HMAC_WAPEUP_PRIORITY WAPEUP_PRIORITY_MID
98 #endif
99
100 #ifndef APP_DRIVER_I2C_WAPEUP_PRIORITY
101 #define APP_DRIVER_I2C_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
102 #endif
103
104 #ifndef APP_DRIVER_I2S_WAPEUP_PRIORITY
105 #define APP_DRIVER_I2S_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
106 #endif
107
108 #ifndef APP_DRIVER_QSPI_WAPEUP_PRIORITY
109 #define APP_DRIVER_QSPI_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
110 #endif
111
112 #ifndef APP_DRIVER_RNG_WAPEUP_PRIORITY
113 #define APP_DRIVER_RNG_WAPEUP_PRIORITY WAPEUP_PRIORITY_MID
114 #endif
115
116 #ifndef APP_DRIVER_SPI_WAPEUP_PRIORITY
117 #define APP_DRIVER_SPI_WAPEUP_PRIORITY WAPEUP_PRIORITY_HIGH
118 #endif
119
120 #ifndef APP_DRIVER_TIM_WAPEUP_PRIORITY
121 #define APP_DRIVER_TIM_WAPEUP_PRIORITY WAPEUP_PRIORITY_MID
122 #endif
123
124 #ifndef APP_DRIVER_PWM_WAPEUP_PRIORITY
125 #define APP_DRIVER_PWM_WAPEUP_PRIORITY WAPEUP_PRIORITY_MID
126 #endif
127
135 typedef enum
136 {
137 WAPEUP_PRIORITY_LOW = 1,
138 WAPEUP_PRIORITY_MID,
139 WAPEUP_PRIORITY_HIGH
140 } wakeup_priority_t;
143 #ifndef APP_DRIVER_WAKEUP_CALL_FUN
144 //#define APP_DRIVER_WAKEUP_CALL_FUN
145 #endif
146
147
148 #ifdef __cplusplus
149 }
150 #endif
151
152 #endif
153
WAPEUP_PRIORITY_LOW
@ WAPEUP_PRIORITY_LOW
Definition: app_drv_config.h:137
wakeup_priority_t
wakeup_priority_t
APP driver peripheral wakeup priority define.
Definition: app_drv_config.h:136
WAPEUP_PRIORITY_MID
@ WAPEUP_PRIORITY_MID
Definition: app_drv_config.h:138
WAPEUP_PRIORITY_HIGH
@ WAPEUP_PRIORITY_HIGH
Definition: app_drv_config.h:139