Home
last modified time | relevance | path

Searched defs:BIT (Results 1 – 25 of 68) sorted by relevance

123

/hal_stm32-latest/stm32cube/stm32wlxx/soc/
Dstm32wlxx.h147 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
149 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
151 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
164 #define ATOMIC_SET_BIT(REG, BIT) \ argument
174 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
194 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) argument
197 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) argument
205 #define ATOMIC_SET_BIT(REG, BIT) \ argument
214 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
232 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
[all …]
/hal_stm32-latest/stm32cube/stm32wb0x/soc/
Dstm32wb0x.h161 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
163 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
165 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
167 #define TOGGLE_BIT(REG, BIT) ((REG) ^= (BIT)) argument
182 #define ATOMIC_SET_BIT(REG, BIT) \ argument
192 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
212 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) argument
215 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) argument
/hal_stm32-latest/stm32cube/stm32l0xx/soc/
Dstm32l0xx.h196 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
198 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
200 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
212 #define ATOMIC_SET_BIT(REG, BIT) \ argument
222 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
242 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \ argument
245 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32f0xx/soc/
Dstm32f0xx.h194 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
196 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
198 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
210 #define ATOMIC_SET_BIT(REG, BIT) \ argument
220 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
240 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \ argument
243 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32g0xx/soc/
Dstm32g0xx.h170 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
172 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
174 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
186 #define ATOMIC_SET_BIT(REG, BIT) \ argument
196 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
216 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \ argument
219 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32wbxx/soc/
Dstm32wbxx.h140 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
142 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
144 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
156 #define ATOMIC_SET_BIT(REG, BIT) \ argument
165 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
183 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
192 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32u0xx/soc/
Dstm32u0xx.h142 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
144 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
146 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
160 #define ATOMIC_SET_BIT(REG, BIT) \ argument
170 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
190 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \ argument
193 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32wbaxx/soc/
Dstm32wbaxx.h148 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
150 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
152 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
164 #define ATOMIC_SET_BIT(REG, BIT) \ argument
173 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
191 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
200 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32h7xx/soc/
Dstm32h7xx.h207 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
209 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
211 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
225 #define ATOMIC_SET_BIT(REG, BIT) \ argument
234 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
252 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
261 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32u5xx/soc/
Dstm32u5xx.h173 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
175 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
177 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
189 #define ATOMIC_SET_BIT(REG, BIT) \ argument
198 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
216 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
225 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32f7xx/soc/
Dstm32f7xx.h181 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
183 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
185 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
199 #define ATOMIC_SET_BIT(REG, BIT) \ argument
208 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
226 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
235 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32c0xx/soc/
Dstm32c0xx.h140 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
142 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
144 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
156 #define ATOMIC_SET_BIT(REG, BIT) \ argument
166 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
186 #define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \ argument
189 #define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32l5xx/soc/
Dstm32l5xx.h138 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
140 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
142 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
154 #define ATOMIC_SET_BIT(REG, BIT) \ argument
163 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
181 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
190 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32f4xx/soc/
Dstm32f4xx.h211 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
213 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
215 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
229 #define ATOMIC_SET_BIT(REG, BIT) \ argument
238 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
256 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
265 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32f1xx/soc/
Dstm32f1xx.h177 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
179 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
181 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
195 #define ATOMIC_SET_BIT(REG, BIT) \ argument
204 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
222 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
231 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32g4xx/soc/
Dstm32g4xx.h174 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
176 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
178 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
192 #define ATOMIC_SET_BIT(REG, BIT) \ argument
201 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
219 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
228 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32f2xx/soc/
Dstm32f2xx.h148 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
150 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
152 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
166 #define ATOMIC_SET_BIT(REG, BIT) \ argument
175 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
193 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
202 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32h5xx/soc/
Dstm32h5xx.h153 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
155 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
157 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
169 #define ATOMIC_SET_BIT(REG, BIT) \ argument
178 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
196 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
205 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32n6xx/soc/
Dstm32n6xx.h130 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
132 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
134 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
146 #define ATOMIC_SET_BIT(REG, BIT) \ argument
155 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
173 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
182 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32f3xx/soc/
Dstm32f3xx.h190 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
192 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
194 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
208 #define ATOMIC_SET_BIT(REG, BIT) \ argument
217 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
235 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
244 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32h7rsxx/soc/
Dstm32h7rsxx.h144 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
146 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
148 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
162 #define ATOMIC_SET_BIT(REG, BIT) \ argument
171 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
189 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
198 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32l1xx/soc/
Dstm32l1xx.h203 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
205 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
207 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
219 #define ATOMIC_SET_BIT(REG, BIT) \ argument
228 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
246 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
255 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32l4xx/soc/
Dstm32l4xx.h212 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
214 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
216 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
228 #define ATOMIC_SET_BIT(REG, BIT) \ argument
237 #define ATOMIC_CLEAR_BIT(REG, BIT) \ argument
255 #define ATOMIC_SETH_BIT(REG, BIT) \ argument
264 #define ATOMIC_CLEARH_BIT(REG, BIT) \ argument
/hal_stm32-latest/stm32cube/stm32mp1xx/soc/
Dstm32mp1xx.h185 #define SET_BIT(REG, BIT) ((REG) |= (BIT)) argument
187 #define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT)) argument
189 #define READ_BIT(REG, BIT) ((REG) & (BIT)) argument
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_hal_def.h60 #define HAL_IS_BIT_SET(REG, BIT) (((REG) & (BIT)) == (BIT)) argument
61 #define HAL_IS_BIT_CLR(REG, BIT) (((REG) & (BIT)) == 0U) argument

123