Home
last modified time | relevance | path

Searched refs:__HANDLE__ (Results 1 – 25 of 112) sorted by relevance

12345

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_dma.h321 #define __HAL_DMA_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DMA_STATE_RESET) argument
328 #define __HAL_DMA_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR |= DMA_CCR_EN) argument
335 #define __HAL_DMA_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR &= ~DMA_CCR_EN) argument
349 #define __HAL_DMA_GET_TC_FLAG_INDEX(__HANDLE__) \ argument
350 (((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel1))? DMA_FLAG_TC1 :\
351 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA2_Channel1))? DMA_FLAG_TC1 :\
352 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel2))? DMA_FLAG_TC2 :\
353 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA2_Channel2))? DMA_FLAG_TC2 :\
354 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel3))? DMA_FLAG_TC3 :\
355 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA2_Channel3))? DMA_FLAG_TC3 :\
[all …]
Dstm32l1xx_hal_opamp.h282 #define __HAL_OPAMP_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_OPAMP_STATE_RESET) argument
300 #define OPAMP_CSR_OPAXPD(__HANDLE__) \ argument
301 (OPAMP_CSR_OPA1PD << (OPAMP_INSTANCE_DECIMAL(__HANDLE__) * OPAMP_CSR_INSTANCE_OFFSET))
309 #define OPAMP_CSR_S3SELX(__HANDLE__) \ argument
310 (OPAMP_CSR_S3SEL1 << (OPAMP_INSTANCE_DECIMAL(__HANDLE__) * OPAMP_CSR_INSTANCE_OFFSET))
318 #define OPAMP_CSR_S4SELX(__HANDLE__) \ argument
319 (OPAMP_CSR_S4SEL1 << (OPAMP_INSTANCE_DECIMAL(__HANDLE__) * OPAMP_CSR_INSTANCE_OFFSET))
327 #define OPAMP_CSR_S5SELX(__HANDLE__) \ argument
328 (OPAMP_CSR_S5SEL1 << (OPAMP_INSTANCE_DECIMAL(__HANDLE__) * OPAMP_CSR_INSTANCE_OFFSET))
336 #define OPAMP_CSR_S6SELX(__HANDLE__) \ argument
[all …]
Dstm32l1xx_hal_uart.h317 #define __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_UART_STATE_RESET) argument
324 #define __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) ((__HANDLE__)->Instance->DR) argument
344 #define __HAL_UART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__… argument
368 #define __HAL_UART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) argument
376 #define __HAL_UART_CLEAR_PEFLAG(__HANDLE__) \ argument
379 tmpreg = (__HANDLE__)->Instance->SR; \
380 tmpreg = (__HANDLE__)->Instance->DR; \
392 #define __HAL_UART_CLEAR_FEFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) argument
400 #define __HAL_UART_CLEAR_NEFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) argument
408 #define __HAL_UART_CLEAR_OREFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) argument
[all …]
Dstm32l1xx_hal_irda.h273 #define __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_IRDA_STATE_RESET) argument
280 #define __HAL_IRDA_FLUSH_DRREGISTER(__HANDLE__) ((__HANDLE__)->Instance->DR) argument
298 #define __HAL_IRDA_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__… argument
320 #define __HAL_IRDA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) argument
328 #define __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) \ argument
331 tmpreg = (__HANDLE__)->Instance->SR; \
332 tmpreg = (__HANDLE__)->Instance->DR; \
342 #define __HAL_IRDA_CLEAR_FEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) argument
350 #define __HAL_IRDA_CLEAR_NEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) argument
358 #define __HAL_IRDA_CLEAR_OREFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) argument
[all …]
Dstm32l1xx_hal_smartcard.h372 #define __HAL_SMARTCARD_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_SMARTCARD_STATE_R… argument
379 #define __HAL_SMARTCARD_FLUSH_DRREGISTER(__HANDLE__) ((__HANDLE__)->Instance->DR) argument
396 #define __HAL_SMARTCARD_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) =… argument
417 #define __HAL_SMARTCARD_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) argument
424 #define __HAL_SMARTCARD_CLEAR_PEFLAG(__HANDLE__) \ argument
427 tmpreg = (__HANDLE__)->Instance->SR; \
428 tmpreg = (__HANDLE__)->Instance->DR; \
439 #define __HAL_SMARTCARD_CLEAR_FEFLAG(__HANDLE__) __HAL_SMARTCARD_CLEAR_PEFLAG(__HANDLE__) argument
446 #define __HAL_SMARTCARD_CLEAR_NEFLAG(__HANDLE__) __HAL_SMARTCARD_CLEAR_PEFLAG(__HANDLE__) argument
453 #define __HAL_SMARTCARD_CLEAR_OREFLAG(__HANDLE__) __HAL_SMARTCARD_CLEAR_PEFLAG(__HANDLE__) argument
[all …]
Dstm32l1xx_hal_usart.h319 #define __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_USART_STATE_RESET) argument
337 #define __HAL_USART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (_… argument
358 #define __HAL_USART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) argument
365 #define __HAL_USART_CLEAR_PEFLAG(__HANDLE__) \ argument
368 tmpreg = (__HANDLE__)->Instance->SR; \
369 tmpreg = (__HANDLE__)->Instance->DR; \
379 #define __HAL_USART_CLEAR_FEFLAG(__HANDLE__) __HAL_USART_CLEAR_PEFLAG(__HANDLE__) argument
386 #define __HAL_USART_CLEAR_NEFLAG(__HANDLE__) __HAL_USART_CLEAR_PEFLAG(__HANDLE__) argument
393 #define __HAL_USART_CLEAR_OREFLAG(__HANDLE__) __HAL_USART_CLEAR_PEFLAG(__HANDLE__) argument
400 #define __HAL_USART_CLEAR_IDLEFLAG(__HANDLE__) __HAL_USART_CLEAR_PEFLAG(__HANDLE__) argument
[all …]
Dstm32l1xx_hal_rtc_ex.h649 #define __HAL_RTC_WAKEUPTIMER_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |… argument
656 #define __HAL_RTC_TIMESTAMP_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |… argument
663 #define __HAL_RTC_WAKEUPTIMER_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &… argument
670 #define __HAL_RTC_TIMESTAMP_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &… argument
677 #define __HAL_RTC_COARSE_CALIB_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR… argument
684 #define __HAL_RTC_COARSE_CALIB_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR… argument
691 #define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR… argument
698 #define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR… argument
705 #define __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR… argument
712 #define __HAL_RTC_CLOCKREF_DETECTION_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR… argument
[all …]
Dstm32l1xx_hal_tim.h985 #define TIM_SET_ICPRESCALERVALUE(__HANDLE__, __CHANNEL__, __ICPSC__) \ argument
986 (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)->Instance->CCMR1 |= (__ICPSC__)) :\
987 ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)->Instance->CCMR1 |= ((__ICPSC__) << 8)) :\
988 ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)->Instance->CCMR2 |= (__ICPSC__)) :\
989 ((__HANDLE__)->Instance->CCMR2 |= ((__ICPSC__) << 8)))
996 #define TIM_RESET_ICPRESCALERVALUE(__HANDLE__, __CHANNEL__) \ argument
997 (((__CHANNEL__) == TIM_CHANNEL_1) ? ((__HANDLE__)->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC) :\
998 ((__CHANNEL__) == TIM_CHANNEL_2) ? ((__HANDLE__)->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC) :\
999 ((__CHANNEL__) == TIM_CHANNEL_3) ? ((__HANDLE__)->Instance->CCMR2 &= ~TIM_CCMR2_IC3PSC) :\
1000 ((__HANDLE__)->Instance->CCMR2 &= ~TIM_CCMR2_IC4PSC))
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc_ex.h557 #define __HAL_RTC_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SCR = (__FLAG__)) argument
579 #define __HAL_RTC_GET_FLAG(__HANDLE__, __FLAG__) (((((__FLAG__)) >> 8U) == 1U) ? ((__HANDLE__)->… argument
580 … ((__HANDLE__)->Instance->SR & (1U << (((uint16_t)(__FLAG__)) & RTC_IT_MASK))))
592 #define __HAL_RTC_WAKEUPTIMER_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |… argument
599 #define __HAL_RTC_WAKEUPTIMER_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &… argument
609 #define __HAL_RTC_WAKEUPTIMER_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR |… argument
619 #define __HAL_RTC_WAKEUPTIMER_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR &… argument
631 #define __HAL_RTC_WAKEUPTIMER_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->M… argument
633 #define __HAL_RTC_WAKEUPTIMER_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->I… argument
644 #define __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance… argument
[all …]
Dstm32l4xx_hal_dma.h466 #define __HAL_DMA_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DMA_STATE_RESET) argument
473 #define __HAL_DMA_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR |= DMA_CCR_EN) argument
480 #define __HAL_DMA_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR &= ~DMA_CCR_EN) argument
491 #define __HAL_DMA_GET_TC_FLAG_INDEX(__HANDLE__) \ argument
492 (((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel1))? DMA_FLAG_TC1 :\
493 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA2_Channel1))? DMA_FLAG_TC1 :\
494 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel2))? DMA_FLAG_TC2 :\
495 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA2_Channel2))? DMA_FLAG_TC2 :\
496 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel3))? DMA_FLAG_TC3 :\
497 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA2_Channel3))? DMA_FLAG_TC3 :\
[all …]
Dstm32l4xx_hal_irda.h512 #define __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
513 … (__HANDLE__)->gState = HAL_IRDA_STATE_RESET; \
514 … (__HANDLE__)->RxState = HAL_IRDA_STATE_RESET; \
515 … (__HANDLE__)->MspInitCallback = NULL; \
516 … (__HANDLE__)->MspDeInitCallback = NULL; \
519 #define __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
520 … (__HANDLE__)->gState = HAL_IRDA_STATE_RESET; \
521 … (__HANDLE__)->RxState = HAL_IRDA_STATE_RESET; \
529 #define __HAL_IRDA_FLUSH_DRREGISTER(__HANDLE__) \ argument
531 SET_BIT((__HANDLE__)->Instance->RQR, IRDA_RXDATA_FLUSH_REQUEST); \
[all …]
Dstm32l4xx_hal_smartcard.h585 #define __HAL_SMARTCARD_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
586 … (__HANDLE__)->gState = HAL_SMARTCARD_STATE_RESET; \
587 … (__HANDLE__)->RxState = HAL_SMARTCARD_STATE_RESET; \
588 … (__HANDLE__)->MspInitCallback = NULL; \
589 … (__HANDLE__)->MspDeInitCallback = NULL; \
592 #define __HAL_SMARTCARD_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
593 … (__HANDLE__)->gState = HAL_SMARTCARD_STATE_RESET; \
594 … (__HANDLE__)->RxState = HAL_SMARTCARD_STATE_RESET; \
602 #define __HAL_SMARTCARD_FLUSH_DRREGISTER(__HANDLE__) \ argument
604 SET_BIT((__HANDLE__)->Instance->RQR, SMARTCARD_RXDATA_FLUSH_REQUEST); \
[all …]
Dstm32l4xx_hal_tim.h1084 #define __HAL_TIM_RESET_HANDLE_STATE(__HANDLE__) do { … argument
1085 … (__HANDLE__)->State = HAL_TIM_STATE_RESET; \
1086 … (__HANDLE__)->Base_MspInitCallback = NULL; \
1087 … (__HANDLE__)->Base_MspDeInitCallback = NULL; \
1088 … (__HANDLE__)->IC_MspInitCallback = NULL; \
1089 … (__HANDLE__)->IC_MspDeInitCallback = NULL; \
1090 … (__HANDLE__)->OC_MspInitCallback = NULL; \
1091 … (__HANDLE__)->OC_MspDeInitCallback = NULL; \
1092 … (__HANDLE__)->PWM_MspInitCallback = NULL; \
1093 … (__HANDLE__)->PWM_MspDeInitCallback = NULL; \
[all …]
Dstm32l4xx_hal_usart.h491 #define __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) do{ \ argument
492 (__HANDLE__)->State = HAL_USART_STATE_RESET; \
493 (__HANDLE__)->MspInitCallback = NULL; \
494 (__HANDLE__)->MspDeInitCallback = NULL; \
497 #define __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_USART_STATE_RESET) argument
524 #define __HAL_USART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (… argument
540 #define __HAL_USART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) argument
546 #define __HAL_USART_CLEAR_PEFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_PEF) argument
552 #define __HAL_USART_CLEAR_FEFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_FEF) argument
558 #define __HAL_USART_CLEAR_NEFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_NEF) argument
[all …]
Dstm32l4xx_hal_uart.h829 #define __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
830 … (__HANDLE__)->gState = HAL_UART_STATE_RESET; \
831 … (__HANDLE__)->RxState = HAL_UART_STATE_RESET; \
832 … (__HANDLE__)->MspInitCallback = NULL; \
833 … (__HANDLE__)->MspDeInitCallback = NULL; \
836 #define __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
837 … (__HANDLE__)->gState = HAL_UART_STATE_RESET; \
838 … (__HANDLE__)->RxState = HAL_UART_STATE_RESET; \
846 #define __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) \ argument
848 SET_BIT((__HANDLE__)->Instance->RQR, UART_RXDATA_FLUSH_REQUEST); \
[all …]
Dstm32l4xx_hal_tsc.h450 #define __HAL_TSC_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
451 … (__HANDLE__)->State = HAL_TSC_STATE_RESET; \
452 … (__HANDLE__)->MspInitCallback = NULL; \
453 … (__HANDLE__)->MspDeInitCallback = NULL; \
456 #define __HAL_TSC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_TSC_S… argument
464 #define __HAL_TSC_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= T… argument
471 #define __HAL_TSC_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= (… argument
478 #define __HAL_TSC_START_ACQ(__HANDLE__) ((__HANDLE__)->Instance->CR |= T… argument
485 #define __HAL_TSC_STOP_ACQ(__HANDLE__) ((__HANDLE__)->Instance->CR &= (… argument
492 #define __HAL_TSC_SET_IODEF_OUTPPLOW(__HANDLE__) ((__HANDLE__)->Instance->CR &= (… argument
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_irda.h408 #define __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
409 … (__HANDLE__)->gState = HAL_IRDA_STATE_RESET; \
410 … (__HANDLE__)->RxState = HAL_IRDA_STATE_RESET; \
417 #define __HAL_IRDA_FLUSH_DRREGISTER(__HANDLE__) \ argument
419 SET_BIT((__HANDLE__)->Instance->RQR, IRDA_RXDATA_FLUSH_REQUEST); \
420 SET_BIT((__HANDLE__)->Instance->RQR, IRDA_TXDATA_FLUSH_REQUEST); \
435 #define __HAL_IRDA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) argument
441 #define __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_PEF) argument
448 #define __HAL_IRDA_CLEAR_FEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_FEF) argument
454 #define __HAL_IRDA_CLEAR_NEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_NEF) argument
[all …]
Dstm32l0xx_hal_dma.h437 #define __HAL_DMA_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DMA_STATE_RESET) argument
444 #define __HAL_DMA_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR |= DMA_CCR_EN) argument
451 #define __HAL_DMA_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CCR &= ~DMA_CCR_EN) argument
463 #define __HAL_DMA_GET_TC_FLAG_INDEX(__HANDLE__) \ argument
464 (((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel1))? DMA_FLAG_TC1 :\
465 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel2))? DMA_FLAG_TC2 :\
466 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel3))? DMA_FLAG_TC3 :\
467 ((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel4))? DMA_FLAG_TC4 :\
470 #define __HAL_DMA_GET_TC_FLAG_INDEX(__HANDLE__) \ argument
471 (((uint32_t)((__HANDLE__)->Instance) == ((uint32_t)DMA1_Channel1))? DMA_FLAG_TC1 :\
[all …]
Dstm32l0xx_hal_rtc_ex.h439 #define __HAL_RTC_WAKEUPTIMER_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |… argument
446 #define __HAL_RTC_WAKEUPTIMER_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &… argument
456 #define __HAL_RTC_WAKEUPTIMER_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR |… argument
466 #define __HAL_RTC_WAKEUPTIMER_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->CR &… argument
476 #define __HAL_RTC_WAKEUPTIMER_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->I… argument
486 #define __HAL_RTC_WAKEUPTIMER_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance… argument
497 #define __HAL_RTC_WAKEUPTIMER_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (… argument
507 …_RTC_WAKEUPTIMER_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ISR) = (~((__FLAG__) | … argument
608 #define __HAL_RTC_TIMESTAMP_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |=… argument
615 #define __HAL_RTC_TIMESTAMP_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &=… argument
[all …]
Dstm32l0xx_hal_usart.h337 #define __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_USART_STATE_RESET) argument
342 #define __HAL_USART_FLUSH_DRREGISTER(__HANDLE__) \ argument
344 SET_BIT((__HANDLE__)->Instance->RQR, USART_RXDATA_FLUSH_REQUEST); \
345 SET_BIT((__HANDLE__)->Instance->RQR, USART_TXDATA_FLUSH_REQUEST); \
367 #define __HAL_USART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (… argument
382 #define __HAL_USART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) argument
388 #define __HAL_USART_CLEAR_PEFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_PEF) argument
394 #define __HAL_USART_CLEAR_FEFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_FEF) argument
400 #define __HAL_USART_CLEAR_NEFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_NEF) argument
406 #define __HAL_USART_CLEAR_OREFLAG(__HANDLE__) __HAL_USART_CLEAR_FLAG((__HANDLE__), USART_CLEAR_OR… argument
[all …]
Dstm32l0xx_hal_usart_ex.h89 #define USART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \ argument
91 if((__HANDLE__)->Instance == USART1) \
112 else if((__HANDLE__)->Instance == USART2) \
137 #define USART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
139 if((__HANDLE__)->Instance == USART1) \
160 else if((__HANDLE__)->Instance == USART2) \
181 else if((__HANDLE__)->Instance == USART4) \
185 else if((__HANDLE__)->Instance == USART5) \
193 #define USART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
195 if((__HANDLE__)->Instance == USART2) \
[all …]
Dstm32l0xx_hal_smartcard.h592 #define __HAL_SMARTCARD_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
593 … (__HANDLE__)->gState = HAL_SMARTCARD_STATE_RESET; \
594 … (__HANDLE__)->RxState = HAL_SMARTCARD_STATE_RESET; \
601 #define __HAL_SMARTCARD_FLUSH_DRREGISTER(__HANDLE__) \ argument
603 SET_BIT((__HANDLE__)->Instance->RQR, SMARTCARD_RXDATA_FLUSH_REQUEST); \
604 SET_BIT((__HANDLE__)->Instance->RQR, SMARTCARD_TXDATA_FLUSH_REQUEST); \
621 #define __HAL_SMARTCARD_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) argument
627 #define __HAL_SMARTCARD_CLEAR_PEFLAG(__HANDLE__) __HAL_SMARTCARD_CLEAR_FLAG((__HANDLE__), SMARTCA… argument
634 #define __HAL_SMARTCARD_CLEAR_FEFLAG(__HANDLE__) __HAL_SMARTCARD_CLEAR_FLAG((__HANDLE__), SMARTCA… argument
640 #define __HAL_SMARTCARD_CLEAR_NEFLAG(__HANDLE__) __HAL_SMARTCARD_CLEAR_FLAG((__HANDLE__), SMARTCA… argument
[all …]
Dstm32l0xx_hal_tsc.h307 #define __HAL_TSC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_TSC_STATE_RESET) argument
314 #define __HAL_TSC_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= TSC_CR_TSCE) argument
321 #define __HAL_TSC_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= (uint32_t)(~TSC_CR_TSCE)) argument
328 #define __HAL_TSC_START_ACQ(__HANDLE__) ((__HANDLE__)->Instance->CR |= TSC_CR_START) argument
335 #define __HAL_TSC_STOP_ACQ(__HANDLE__) ((__HANDLE__)->Instance->CR &= (uint32_t)(~TSC_CR_START)) argument
342 #define __HAL_TSC_SET_IODEF_OUTPPLOW(__HANDLE__) ((__HANDLE__)->Instance->CR &= (uint32_t)(~TSC_CR_… argument
349 #define __HAL_TSC_SET_IODEF_INFLOAT(__HANDLE__) ((__HANDLE__)->Instance->CR |= TSC_CR_IODEF) argument
356 #define __HAL_TSC_SET_SYNC_POL_FALL(__HANDLE__) ((__HANDLE__)->Instance->CR &= (uint32_t)(~TSC_CR_S… argument
363 #define __HAL_TSC_SET_SYNC_POL_RISE_HIGH(__HANDLE__) ((__HANDLE__)->Instance->CR |= TSC_CR_SYNCPOL) argument
371 #define __HAL_TSC_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER |= (__INTERRUPT… argument
[all …]
Dstm32l0xx_hal_uart.h703 #define __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) do{ … argument
704 … (__HANDLE__)->gState = HAL_UART_STATE_RESET; \
705 … (__HANDLE__)->RxState = HAL_UART_STATE_RESET; \
711 #define __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) \ argument
713 SET_BIT((__HANDLE__)->Instance->RQR, UART_RXDATA_FLUSH_REQUEST); \
714 SET_BIT((__HANDLE__)->Instance->RQR, UART_TXDATA_FLUSH_REQUEST); \
735 #define __HAL_UART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) argument
741 #define __HAL_UART_CLEAR_PEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) argument
747 #define __HAL_UART_CLEAR_FEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) argument
753 #define __HAL_UART_CLEAR_NEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) argument
[all …]
Dstm32l0xx_hal_uart_ex.h159 #define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \ argument
161 if((__HANDLE__)->Instance == USART2) \
182 else if((__HANDLE__)->Instance == LPUART1) \
207 #define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \ argument
209 if((__HANDLE__)->Instance == USART1) \
230 else if((__HANDLE__)->Instance == USART2) \
251 else if((__HANDLE__)->Instance == LPUART1) \
276 #define UART_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \ argument
278 if((__HANDLE__)->Instance == USART1) \
299 else if((__HANDLE__)->Instance == USART2) \
[all …]

12345