Home
last modified time | relevance | path

Searched refs:SR (Results 1 – 25 of 92) sorted by relevance

1234

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_rng.h185 return (READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)); in LL_RNG_IsActiveFlag_DRDY()
196 return (READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)); in LL_RNG_IsActiveFlag_CECS()
207 return (READ_BIT(RNGx->SR, RNG_SR_SECS) == (RNG_SR_SECS)); in LL_RNG_IsActiveFlag_SECS()
218 return (READ_BIT(RNGx->SR, RNG_SR_CEIS) == (RNG_SR_CEIS)); in LL_RNG_IsActiveFlag_CEIS()
229 return (READ_BIT(RNGx->SR, RNG_SR_SEIS) == (RNG_SR_SEIS)); in LL_RNG_IsActiveFlag_SEIS()
240 WRITE_REG(RNGx->SR, ~RNG_SR_CEIS); in LL_RNG_ClearFlag_CEIS()
251 WRITE_REG(RNGx->SR, ~RNG_SR_SEIS); in LL_RNG_ClearFlag_SEIS()
Dstm32l0xx_ll_spi.h751 return (READ_BIT(SPIx->SR, SPI_SR_RXNE) == (SPI_SR_RXNE)); in LL_SPI_IsActiveFlag_RXNE()
762 return (READ_BIT(SPIx->SR, SPI_SR_TXE) == (SPI_SR_TXE)); in LL_SPI_IsActiveFlag_TXE()
773 return (READ_BIT(SPIx->SR, SPI_SR_CRCERR) == (SPI_SR_CRCERR)); in LL_SPI_IsActiveFlag_CRCERR()
784 return (READ_BIT(SPIx->SR, SPI_SR_MODF) == (SPI_SR_MODF)); in LL_SPI_IsActiveFlag_MODF()
795 return (READ_BIT(SPIx->SR, SPI_SR_OVR) == (SPI_SR_OVR)); in LL_SPI_IsActiveFlag_OVR()
813 return (READ_BIT(SPIx->SR, SPI_SR_BSY) == (SPI_SR_BSY)); in LL_SPI_IsActiveFlag_BSY()
824 return (READ_BIT(SPIx->SR, SPI_SR_FRE) == (SPI_SR_FRE)); in LL_SPI_IsActiveFlag_FRE()
835 CLEAR_BIT(SPIx->SR, SPI_SR_CRCERR); in LL_SPI_ClearFlag_CRCERR()
849 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_MODF()
868 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_OVR()
[all …]
Dstm32l0xx_ll_iwdg.h298 return (READ_BIT(IWDGx->SR, IWDG_SR_PVU) == (IWDG_SR_PVU)); in LL_IWDG_IsActiveFlag_PVU()
309 return (READ_BIT(IWDGx->SR, IWDG_SR_RVU) == (IWDG_SR_RVU)); in LL_IWDG_IsActiveFlag_RVU()
320 return (READ_BIT(IWDGx->SR, IWDG_SR_WVU) == (IWDG_SR_WVU)); in LL_IWDG_IsActiveFlag_WVU()
333 return (READ_BIT(IWDGx->SR, IWDG_SR_PVU | IWDG_SR_RVU | IWDG_SR_WVU) == 0U); in LL_IWDG_IsReady()
Dstm32l0xx_ll_tim.h2602 WRITE_REG(TIMx->SR, ~(TIM_SR_UIF)); in LL_TIM_ClearFlag_UPDATE()
2613 return (READ_BIT(TIMx->SR, TIM_SR_UIF) == (TIM_SR_UIF)); in LL_TIM_IsActiveFlag_UPDATE()
2624 WRITE_REG(TIMx->SR, ~(TIM_SR_CC1IF)); in LL_TIM_ClearFlag_CC1()
2635 return (READ_BIT(TIMx->SR, TIM_SR_CC1IF) == (TIM_SR_CC1IF)); in LL_TIM_IsActiveFlag_CC1()
2646 WRITE_REG(TIMx->SR, ~(TIM_SR_CC2IF)); in LL_TIM_ClearFlag_CC2()
2657 return (READ_BIT(TIMx->SR, TIM_SR_CC2IF) == (TIM_SR_CC2IF)); in LL_TIM_IsActiveFlag_CC2()
2668 WRITE_REG(TIMx->SR, ~(TIM_SR_CC3IF)); in LL_TIM_ClearFlag_CC3()
2679 return (READ_BIT(TIMx->SR, TIM_SR_CC3IF) == (TIM_SR_CC3IF)); in LL_TIM_IsActiveFlag_CC3()
2690 WRITE_REG(TIMx->SR, ~(TIM_SR_CC4IF)); in LL_TIM_ClearFlag_CC4()
2701 return (READ_BIT(TIMx->SR, TIM_SR_CC4IF) == (TIM_SR_CC4IF)); in LL_TIM_IsActiveFlag_CC4()
[all …]
Dstm32l0xx_hal_rng.h174 #define __HAL_RNG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__F…
213 #define __HAL_RNG_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR & (__INTERRUPT__))…
225 #define __HAL_RNG_CLEAR_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR) = ~(__INTERRUPT…
Dstm32l0xx_hal_spi.h381 #define __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (_…
388 #define __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = ~(SPI_FLAG_CRCERR))
398 tmpreg_modf = (__HANDLE__)->Instance->SR; \
412 tmpreg_ovr = (__HANDLE__)->Instance->SR; \
424 tmpreg_fre = (__HANDLE__)->Instance->SR; \
Dstm32l0xx_hal_wwdg.h213 #define __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG_…
223 #define __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG_…
Dstm32l0xx_ll_wwdg.h271 return (READ_BIT(WWDGx->SR, WWDG_SR_EWIF) == (WWDG_SR_EWIF)); in LL_WWDG_IsActiveFlag_EWKUP()
282 WRITE_REG(WWDGx->SR, ~WWDG_SR_EWIF); in LL_WWDG_ClearFlag_EWKUP()
Dstm32l0xx_hal_flash.h281 #define __HAL_FLASH_GET_FLAG(__FLAG__) (((FLASH->SR) & (__FLAG__)) == (__FLAG__))
297 #define __HAL_FLASH_CLEAR_FLAG(__FLAG__) ((FLASH->SR) = (__FLAG__))
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_rng.h257 return (READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)); in LL_RNG_IsActiveFlag_DRDY()
268 return (READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)); in LL_RNG_IsActiveFlag_CECS()
279 return (READ_BIT(RNGx->SR, RNG_SR_SECS) == (RNG_SR_SECS)); in LL_RNG_IsActiveFlag_SECS()
290 return (READ_BIT(RNGx->SR, RNG_SR_CEIS) == (RNG_SR_CEIS)); in LL_RNG_IsActiveFlag_CEIS()
301 return (READ_BIT(RNGx->SR, RNG_SR_SEIS) == (RNG_SR_SEIS)); in LL_RNG_IsActiveFlag_SEIS()
312 WRITE_REG(RNGx->SR, ~RNG_SR_CEIS); in LL_RNG_ClearFlag_CEIS()
323 WRITE_REG(RNGx->SR, ~RNG_SR_SEIS); in LL_RNG_ClearFlag_SEIS()
Dstm32l4xx_ll_spi.h924 return ((READ_BIT(SPIx->SR, SPI_SR_RXNE) == (SPI_SR_RXNE)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_RXNE()
935 return ((READ_BIT(SPIx->SR, SPI_SR_TXE) == (SPI_SR_TXE)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_TXE()
946 return ((READ_BIT(SPIx->SR, SPI_SR_CRCERR) == (SPI_SR_CRCERR)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_CRCERR()
957 return ((READ_BIT(SPIx->SR, SPI_SR_MODF) == (SPI_SR_MODF)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_MODF()
968 return ((READ_BIT(SPIx->SR, SPI_SR_OVR) == (SPI_SR_OVR)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_OVR()
986 return ((READ_BIT(SPIx->SR, SPI_SR_BSY) == (SPI_SR_BSY)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_BSY()
997 return ((READ_BIT(SPIx->SR, SPI_SR_FRE) == (SPI_SR_FRE)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_FRE()
1012 return (uint32_t)(READ_BIT(SPIx->SR, SPI_SR_FRLVL)); in LL_SPI_GetRxFIFOLevel()
1027 return (uint32_t)(READ_BIT(SPIx->SR, SPI_SR_FTLVL)); in LL_SPI_GetTxFIFOLevel()
1038 CLEAR_BIT(SPIx->SR, SPI_SR_CRCERR); in LL_SPI_ClearFlag_CRCERR()
[all …]
Dstm32l4xx_ll_iwdg.h298 return (uint32_t)(READ_BIT(IWDGx->SR, IWDG_SR_PVU) == (IWDG_SR_PVU)); in LL_IWDG_IsActiveFlag_PVU()
309 return (uint32_t)(READ_BIT(IWDGx->SR, IWDG_SR_RVU) == (IWDG_SR_RVU)); in LL_IWDG_IsActiveFlag_RVU()
320 return (uint32_t)(READ_BIT(IWDGx->SR, IWDG_SR_WVU) == (IWDG_SR_WVU)); in LL_IWDG_IsActiveFlag_WVU()
333 return (uint32_t)(READ_BIT(IWDGx->SR, IWDG_SR_PVU | IWDG_SR_RVU | IWDG_SR_WVU) == 0U); in LL_IWDG_IsReady()
Dstm32l4xx_ll_tim.h4032 WRITE_REG(TIMx->SR, ~(TIM_SR_UIF)); in LL_TIM_ClearFlag_UPDATE()
4043 return ((READ_BIT(TIMx->SR, TIM_SR_UIF) == (TIM_SR_UIF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_UPDATE()
4054 WRITE_REG(TIMx->SR, ~(TIM_SR_CC1IF)); in LL_TIM_ClearFlag_CC1()
4065 return ((READ_BIT(TIMx->SR, TIM_SR_CC1IF) == (TIM_SR_CC1IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC1()
4076 WRITE_REG(TIMx->SR, ~(TIM_SR_CC2IF)); in LL_TIM_ClearFlag_CC2()
4087 return ((READ_BIT(TIMx->SR, TIM_SR_CC2IF) == (TIM_SR_CC2IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC2()
4098 WRITE_REG(TIMx->SR, ~(TIM_SR_CC3IF)); in LL_TIM_ClearFlag_CC3()
4109 return ((READ_BIT(TIMx->SR, TIM_SR_CC3IF) == (TIM_SR_CC3IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC3()
4120 WRITE_REG(TIMx->SR, ~(TIM_SR_CC4IF)); in LL_TIM_ClearFlag_CC4()
4131 return ((READ_BIT(TIMx->SR, TIM_SR_CC4IF) == (TIM_SR_CC4IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC4()
[all …]
Dstm32l4xx_hal_rng.h231 #define __HAL_RNG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__F…
267 #define __HAL_RNG_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR & (__INTERRUPT__))…
279 #define __HAL_RNG_CLEAR_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR) = ~(__INTERRUPT…
Dstm32l4xx_ll_dac.h1793 return ((READ_BIT(DACx->SR, LL_DAC_FLAG_CAL1) == (LL_DAC_FLAG_CAL1)) ? 1UL : 0UL); in LL_DAC_IsActiveFlag_CAL1()
1805 return ((READ_BIT(DACx->SR, LL_DAC_FLAG_CAL2) == (LL_DAC_FLAG_CAL2)) ? 1UL : 0UL); in LL_DAC_IsActiveFlag_CAL2()
1817 return ((READ_BIT(DACx->SR, LL_DAC_FLAG_BWST1) == (LL_DAC_FLAG_BWST1)) ? 1UL : 0UL); in LL_DAC_IsActiveFlag_BWST1()
1829 return ((READ_BIT(DACx->SR, LL_DAC_FLAG_BWST2) == (LL_DAC_FLAG_BWST2)) ? 1UL : 0UL); in LL_DAC_IsActiveFlag_BWST2()
1841 return ((READ_BIT(DACx->SR, LL_DAC_FLAG_DMAUDR1) == (LL_DAC_FLAG_DMAUDR1)) ? 1UL : 0UL); in LL_DAC_IsActiveFlag_DMAUDR1()
1853 return ((READ_BIT(DACx->SR, LL_DAC_FLAG_DMAUDR2) == (LL_DAC_FLAG_DMAUDR2)) ? 1UL : 0UL); in LL_DAC_IsActiveFlag_DMAUDR2()
1865 WRITE_REG(DACx->SR, LL_DAC_FLAG_DMAUDR1); in LL_DAC_ClearFlag_DMAUDR1()
1877 WRITE_REG(DACx->SR, LL_DAC_FLAG_DMAUDR2); in LL_DAC_ClearFlag_DMAUDR2()
Dstm32l4xx_hal_spi.h506 #define __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (_…
513 #define __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_C…
523 tmpreg_modf = (__HANDLE__)->Instance->SR; \
537 tmpreg_ovr = (__HANDLE__)->Instance->SR; \
549 tmpreg_fre = (__HANDLE__)->Instance->SR; \
Dstm32l4xx_ll_wwdg.h265 return ((READ_BIT(WWDGx->SR, WWDG_SR_EWIF) == (WWDG_SR_EWIF)) ? 1UL : 0UL); in LL_WWDG_IsActiveFlag_EWKUP()
276 WRITE_REG(WWDGx->SR, ~WWDG_SR_EWIF); in LL_WWDG_ClearFlag_EWKUP()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_usart.h1744 return (READ_BIT(USARTx->SR, USART_SR_PE) == (USART_SR_PE)); in LL_USART_IsActiveFlag_PE()
1755 return (READ_BIT(USARTx->SR, USART_SR_FE) == (USART_SR_FE)); in LL_USART_IsActiveFlag_FE()
1766 return (READ_BIT(USARTx->SR, USART_SR_NE) == (USART_SR_NE)); in LL_USART_IsActiveFlag_NE()
1777 return (READ_BIT(USARTx->SR, USART_SR_ORE) == (USART_SR_ORE)); in LL_USART_IsActiveFlag_ORE()
1788 return (READ_BIT(USARTx->SR, USART_SR_IDLE) == (USART_SR_IDLE)); in LL_USART_IsActiveFlag_IDLE()
1799 return (READ_BIT(USARTx->SR, USART_SR_RXNE) == (USART_SR_RXNE)); in LL_USART_IsActiveFlag_RXNE()
1810 return (READ_BIT(USARTx->SR, USART_SR_TC) == (USART_SR_TC)); in LL_USART_IsActiveFlag_TC()
1821 return (READ_BIT(USARTx->SR, USART_SR_TXE) == (USART_SR_TXE)); in LL_USART_IsActiveFlag_TXE()
1834 return (READ_BIT(USARTx->SR, USART_SR_LBD) == (USART_SR_LBD)); in LL_USART_IsActiveFlag_LBD()
1847 return (READ_BIT(USARTx->SR, USART_SR_CTS) == (USART_SR_CTS)); in LL_USART_IsActiveFlag_nCTS()
[all …]
Dstm32l1xx_ll_spi.h754 return (READ_BIT(SPIx->SR, SPI_SR_RXNE) == (SPI_SR_RXNE)); in LL_SPI_IsActiveFlag_RXNE()
765 return (READ_BIT(SPIx->SR, SPI_SR_TXE) == (SPI_SR_TXE)); in LL_SPI_IsActiveFlag_TXE()
776 return (READ_BIT(SPIx->SR, SPI_SR_CRCERR) == (SPI_SR_CRCERR)); in LL_SPI_IsActiveFlag_CRCERR()
787 return (READ_BIT(SPIx->SR, SPI_SR_MODF) == (SPI_SR_MODF)); in LL_SPI_IsActiveFlag_MODF()
798 return (READ_BIT(SPIx->SR, SPI_SR_OVR) == (SPI_SR_OVR)); in LL_SPI_IsActiveFlag_OVR()
816 return (READ_BIT(SPIx->SR, SPI_SR_BSY) == (SPI_SR_BSY)); in LL_SPI_IsActiveFlag_BSY()
827 return (READ_BIT(SPIx->SR, SPI_SR_FRE) == (SPI_SR_FRE)); in LL_SPI_IsActiveFlag_FRE()
838 CLEAR_BIT(SPIx->SR, SPI_SR_CRCERR); in LL_SPI_ClearFlag_CRCERR()
852 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_MODF()
871 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_OVR()
[all …]
Dstm32l1xx_ll_tim.h2590 WRITE_REG(TIMx->SR, ~(TIM_SR_UIF)); in LL_TIM_ClearFlag_UPDATE()
2601 return (READ_BIT(TIMx->SR, TIM_SR_UIF) == (TIM_SR_UIF)); in LL_TIM_IsActiveFlag_UPDATE()
2612 WRITE_REG(TIMx->SR, ~(TIM_SR_CC1IF)); in LL_TIM_ClearFlag_CC1()
2623 return (READ_BIT(TIMx->SR, TIM_SR_CC1IF) == (TIM_SR_CC1IF)); in LL_TIM_IsActiveFlag_CC1()
2634 WRITE_REG(TIMx->SR, ~(TIM_SR_CC2IF)); in LL_TIM_ClearFlag_CC2()
2645 return (READ_BIT(TIMx->SR, TIM_SR_CC2IF) == (TIM_SR_CC2IF)); in LL_TIM_IsActiveFlag_CC2()
2656 WRITE_REG(TIMx->SR, ~(TIM_SR_CC3IF)); in LL_TIM_ClearFlag_CC3()
2667 return (READ_BIT(TIMx->SR, TIM_SR_CC3IF) == (TIM_SR_CC3IF)); in LL_TIM_IsActiveFlag_CC3()
2678 WRITE_REG(TIMx->SR, ~(TIM_SR_CC4IF)); in LL_TIM_ClearFlag_CC4()
2689 return (READ_BIT(TIMx->SR, TIM_SR_CC4IF) == (TIM_SR_CC4IF)); in LL_TIM_IsActiveFlag_CC4()
[all …]
Dstm32l1xx_ll_iwdg.h275 return (READ_BIT(IWDGx->SR, IWDG_SR_PVU) == (IWDG_SR_PVU)); in LL_IWDG_IsActiveFlag_PVU()
286 return (READ_BIT(IWDGx->SR, IWDG_SR_RVU) == (IWDG_SR_RVU)); in LL_IWDG_IsActiveFlag_RVU()
299 return (READ_BIT(IWDGx->SR, IWDG_SR_PVU | IWDG_SR_RVU) == 0U); in LL_IWDG_IsReady()
Dstm32l1xx_hal_spi.h394 #define __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (_…
401 #define __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = ~(SPI_FLAG_CRCERR))
411 tmpreg_modf = (__HANDLE__)->Instance->SR; \
425 tmpreg_ovr = (__HANDLE__)->Instance->SR; \
437 tmpreg_fre = (__HANDLE__)->Instance->SR; \
Dstm32l1xx_hal_wwdg.h215 #define __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG_…
225 #define __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG_…
Dstm32l1xx_ll_wwdg.h271 return (READ_BIT(WWDGx->SR, WWDG_SR_EWIF) == (WWDG_SR_EWIF)); in LL_WWDG_IsActiveFlag_EWKUP()
282 WRITE_REG(WWDGx->SR, ~WWDG_SR_EWIF); in LL_WWDG_ClearFlag_EWKUP()
Dstm32l1xx_hal_flash.h299 #define __HAL_FLASH_GET_FLAG(__FLAG__) (((FLASH->SR) & (__FLAG__)) == (__FLAG__))
336 #define __HAL_FLASH_CLEAR_FLAG(__FLAG__) ((FLASH->SR) = (__FLAG__))

1234