mirror of https://github.com/ARMmbed/mbed-os.git
Depending on families, different HAL macros are defined to check the state of serial interrupts. In several cases, we can find only 1 macro: __HAL_UART_GET_IT_SOURCE Checks whether the specified UART interrupt has occurred or not But in F0, F3, F7, L0, L4 there are 2 different macros __HAL_UART_GET_IT Checks whether the specified UART interrupt has occurred or not __HAL_UART_GET_IT_SOURCE Checks whether the specified UART interrupt source is enabled. In the later case, __HAL_UART_GET_IT_SOURCE was being used so far, but actually needs to be replaced by __HAL_UART_GET_IT. Using the right macro, we also check the proper flags accordingly. |
||
|---|---|---|
| .. | ||
| TARGET_STM32F302x8 | ||
| TARGET_STM32F303x8 | ||
| TARGET_STM32F303xC | ||
| TARGET_STM32F303xE | ||
| TARGET_STM32F334x8 | ||
| device | ||
| analogin_api.c | ||
| analogout_device.c | ||
| can_device.h | ||
| common_objects.h | ||
| device.h | ||
| gpio_irq_device.c | ||
| gpio_irq_device.h | ||
| i2c_device.h | ||
| pin_device.h | ||
| pwmout_device.c | ||
| pwmout_device.h | ||
| serial_device.c | ||
| spi_api.c | ||
| spi_device.h | ||