/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Inc/ |
D | stm32f4xx_ll_rng.h | 170 return ((READ_BIT(RNGx->SR, RNG_SR_DRDY) == (RNG_SR_DRDY)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_DRDY() 181 return ((READ_BIT(RNGx->SR, RNG_SR_CECS) == (RNG_SR_CECS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_CECS() 192 return ((READ_BIT(RNGx->SR, RNG_SR_SECS) == (RNG_SR_SECS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_SECS() 203 return ((READ_BIT(RNGx->SR, RNG_SR_CEIS) == (RNG_SR_CEIS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_CEIS() 214 return ((READ_BIT(RNGx->SR, RNG_SR_SEIS) == (RNG_SR_SEIS)) ? 1UL : 0UL); in LL_RNG_IsActiveFlag_SEIS() 225 WRITE_REG(RNGx->SR, ~RNG_SR_CEIS); in LL_RNG_ClearFlag_CEIS() 236 WRITE_REG(RNGx->SR, ~RNG_SR_SEIS); in LL_RNG_ClearFlag_SEIS()
|
D | stm32f4xx_ll_usart.h | 1740 return (READ_BIT(USARTx->SR, USART_SR_PE) == (USART_SR_PE)); in LL_USART_IsActiveFlag_PE() 1751 return (READ_BIT(USARTx->SR, USART_SR_FE) == (USART_SR_FE)); in LL_USART_IsActiveFlag_FE() 1762 return (READ_BIT(USARTx->SR, USART_SR_NE) == (USART_SR_NE)); in LL_USART_IsActiveFlag_NE() 1773 return (READ_BIT(USARTx->SR, USART_SR_ORE) == (USART_SR_ORE)); in LL_USART_IsActiveFlag_ORE() 1784 return (READ_BIT(USARTx->SR, USART_SR_IDLE) == (USART_SR_IDLE)); in LL_USART_IsActiveFlag_IDLE() 1795 return (READ_BIT(USARTx->SR, USART_SR_RXNE) == (USART_SR_RXNE)); in LL_USART_IsActiveFlag_RXNE() 1806 return (READ_BIT(USARTx->SR, USART_SR_TC) == (USART_SR_TC)); in LL_USART_IsActiveFlag_TC() 1817 return (READ_BIT(USARTx->SR, USART_SR_TXE) == (USART_SR_TXE)); in LL_USART_IsActiveFlag_TXE() 1830 return (READ_BIT(USARTx->SR, USART_SR_LBD) == (USART_SR_LBD)); in LL_USART_IsActiveFlag_LBD() 1843 return (READ_BIT(USARTx->SR, USART_SR_CTS) == (USART_SR_CTS)); in LL_USART_IsActiveFlag_nCTS() [all …]
|
D | stm32f4xx_ll_spi.h | 734 return ((READ_BIT(SPIx->SR, SPI_SR_RXNE) == (SPI_SR_RXNE)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_RXNE() 745 return ((READ_BIT(SPIx->SR, SPI_SR_TXE) == (SPI_SR_TXE)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_TXE() 756 return ((READ_BIT(SPIx->SR, SPI_SR_CRCERR) == (SPI_SR_CRCERR)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_CRCERR() 767 return ((READ_BIT(SPIx->SR, SPI_SR_MODF) == (SPI_SR_MODF)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_MODF() 778 return ((READ_BIT(SPIx->SR, SPI_SR_OVR) == (SPI_SR_OVR)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_OVR() 796 return ((READ_BIT(SPIx->SR, SPI_SR_BSY) == (SPI_SR_BSY)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_BSY() 807 return ((READ_BIT(SPIx->SR, SPI_SR_FRE) == (SPI_SR_FRE)) ? 1UL : 0UL); in LL_SPI_IsActiveFlag_FRE() 818 CLEAR_BIT(SPIx->SR, SPI_SR_CRCERR); in LL_SPI_ClearFlag_CRCERR() 832 tmpreg_sr = SPIx->SR; in LL_SPI_ClearFlag_MODF() 850 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_OVR() [all …]
|
D | stm32f4xx_ll_iwdg.h | 255 return ((READ_BIT(IWDGx->SR, IWDG_SR_PVU) == (IWDG_SR_PVU)) ? 1UL : 0UL); in LL_IWDG_IsActiveFlag_PVU() 266 return ((READ_BIT(IWDGx->SR, IWDG_SR_RVU) == (IWDG_SR_RVU)) ? 1UL : 0UL); in LL_IWDG_IsActiveFlag_RVU() 278 return ((READ_BIT(IWDGx->SR, IWDG_SR_PVU | IWDG_SR_RVU) == 0U) ? 1UL : 0UL); in LL_IWDG_IsReady()
|
D | stm32f4xx_ll_tim.h | 3185 WRITE_REG(TIMx->SR, ~(TIM_SR_UIF)); in LL_TIM_ClearFlag_UPDATE() 3196 return ((READ_BIT(TIMx->SR, TIM_SR_UIF) == (TIM_SR_UIF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_UPDATE() 3207 WRITE_REG(TIMx->SR, ~(TIM_SR_CC1IF)); in LL_TIM_ClearFlag_CC1() 3218 return ((READ_BIT(TIMx->SR, TIM_SR_CC1IF) == (TIM_SR_CC1IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC1() 3229 WRITE_REG(TIMx->SR, ~(TIM_SR_CC2IF)); in LL_TIM_ClearFlag_CC2() 3240 return ((READ_BIT(TIMx->SR, TIM_SR_CC2IF) == (TIM_SR_CC2IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC2() 3251 WRITE_REG(TIMx->SR, ~(TIM_SR_CC3IF)); in LL_TIM_ClearFlag_CC3() 3262 return ((READ_BIT(TIMx->SR, TIM_SR_CC3IF) == (TIM_SR_CC3IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC3() 3273 WRITE_REG(TIMx->SR, ~(TIM_SR_CC4IF)); in LL_TIM_ClearFlag_CC4() 3284 return ((READ_BIT(TIMx->SR, TIM_SR_CC4IF) == (TIM_SR_CC4IF)) ? 1UL : 0UL); in LL_TIM_IsActiveFlag_CC4() [all …]
|
D | stm32f4xx_hal_rng.h | 218 #define __HAL_RNG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__F… 254 #define __HAL_RNG_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR & (__INTERRUPT__))… 266 #define __HAL_RNG_CLEAR_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR) = ~(__INTERRUPT…
|
D | stm32f4xx_hal_spi.h | 403 #define __HAL_SPI_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (_… 410 #define __HAL_SPI_CLEAR_CRCERRFLAG(__HANDLE__) ((__HANDLE__)->Instance->SR = (uint16_t)(~SPI_FLAG_C… 420 tmpreg_modf = (__HANDLE__)->Instance->SR; \ 434 tmpreg_ovr = (__HANDLE__)->Instance->SR; \ 446 tmpreg_fre = (__HANDLE__)->Instance->SR; \
|
D | stm32f4xx_ll_wwdg.h | 250 return ((READ_BIT(WWDGx->SR, WWDG_SR_EWIF) == (WWDG_SR_EWIF)) ? 1UL : 0UL); in LL_WWDG_IsActiveFlag_EWKUP() 261 WRITE_REG(WWDGx->SR, ~WWDG_SR_EWIF); in LL_WWDG_ClearFlag_EWKUP()
|
D | stm32f4xx_hal_wwdg.h | 223 #define __HAL_WWDG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG_… 233 #define __HAL_WWDG_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG_…
|
D | stm32f4xx_hal_flash.h | 275 #define __HAL_FLASH_GET_FLAG(__FLAG__) ((FLASH->SR & (__FLAG__))) 291 #define __HAL_FLASH_CLEAR_FLAG(__FLAG__) (FLASH->SR = (__FLAG__))
|
D | stm32f4xx_hal_irda.h | 382 #define __HAL_IRDA_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__… 403 #define __HAL_IRDA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) 414 tmpreg = (__HANDLE__)->Instance->SR; \
|
/device/soc/st/stm32f407zg/uniproton/board/common/STM32F4xx_StdPeriph_Driver/src/ |
D | stm32f4xx_rng.c | 300 if ((RNG->SR & RNG_FLAG) != (uint8_t)RESET) in RNG_GetFlagStatus() 331 RNG->SR = ~(uint32_t)(((uint32_t)RNG_FLAG) << 4); in RNG_ClearFlag() 349 if ((RNG->SR & RNG_IT) != (uint8_t)RESET) in RNG_GetITStatus() 378 RNG->SR = (uint8_t)~RNG_IT; in RNG_ClearITPendingBit()
|
D | stm32f4xx_hash.c | 625 tempreg = HASH->SR; in HASH_GetFlagStatus() 657 HASH->SR = ~(uint32_t)HASH_FLAG; in HASH_ClearFlag() 677 tmpreg = HASH->SR; in HASH_GetITStatus() 707 HASH->SR = (uint32_t)(~HASH_IT); in HASH_ClearITPendingBit()
|
D | stm32f4xx_flash.c | 1488 if((FLASH->SR & FLASH_FLAG) != (uint32_t)RESET) in FLASH_GetFlagStatus() 1519 FLASH->SR = FLASH_FLAG; in FLASH_ClearFlag() 1532 if((FLASH->SR & FLASH_FLAG_BSY) == FLASH_FLAG_BSY) in FLASH_GetStatus() 1538 if((FLASH->SR & FLASH_FLAG_WRPERR) != (uint32_t)0x00) in FLASH_GetStatus() 1544 if((FLASH->SR & FLASH_FLAG_RDERR) != (uint32_t)0x00) in FLASH_GetStatus() 1550 if((FLASH->SR & (uint32_t)0xEF) != (uint32_t)0x00) in FLASH_GetStatus() 1556 if((FLASH->SR & FLASH_FLAG_OPERR) != (uint32_t)0x00) in FLASH_GetStatus()
|
D | stm32f4xx_dac.c | 598 if ((DAC->SR & (DAC_FLAG << DAC_Channel)) != (uint8_t)RESET) in DAC_GetFlagStatus() 632 DAC->SR = (DAC_FLAG << DAC_Channel); in DAC_ClearFlag() 661 if (((DAC->SR & (DAC_IT << DAC_Channel)) != (uint32_t)RESET) && enablestatus) in DAC_GetITStatus() 695 DAC->SR = (DAC_IT << DAC_Channel); in DAC_ClearITPendingBit()
|
D | stm32f4xx_wwdg.c | 270 if ((WWDG->SR) != (uint32_t)RESET) in WWDG_GetFlagStatus() 288 WWDG->SR = (uint32_t)RESET; in WWDG_ClearFlag()
|
D | stm32f4xx_sai.c | 888 if ((SAI_Block_x->SR & SAI_FLAG) != (uint32_t)RESET) in SAI_GetFlagStatus() 960 if (((SAI_Block_x->SR & SAI_IT) != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET)) in SAI_GetITStatus() 1057 tmpreg = (uint32_t)((SAI_Block_x->SR & SAI_xSR_FLVL)); in SAI_GetFIFOStatus()
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
D | hpm_mbx_drv.h | 107 if (ptr->SR & MBX_SR_TWME_MASK) { in mbx_send_message() 125 if (ptr->SR & MBX_SR_RWMV_MASK) { in mbx_retrieve_message() 147 if (ptr->SR & MBX_SR_TFMA_MASK) { in mbx_send_fifo() 178 if (ptr->SR & MBX_SR_RFMA_MASK) { in mbx_retrieve_fifo()
|
D | hpm_qei_drv.h | 242 qei_x->SR = mask; in qei_clear_status() 257 return qei_x->SR; in qei_get_status() 273 if ((qei_x->SR & mask) == mask) { in qei_get_bit_status()
|
D | hpm_gptmr_drv.h | 251 return (ptr->SR & mask) == mask; in gptmr_check_status() 262 ptr->SR |= mask; in gptmr_clear_status() 273 return ptr->SR; in gptmr_get_status()
|
D | hpm_hall_drv.h | 205 hall_x->SR = mask; in hall_clear_status() 223 return hall_x->SR; in hall_get_status()
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/ |
D | duet_i2c.c | 36 if ((I2C0->SR) & I2C_STATUS_TRANS_DONE) { in I2C0_IRQHandler() 39 I2C0->SR |= I2C_STATUS_TRANS_DONE; in I2C0_IRQHandler() 41 if ((I2C0->SR) & I2C_STATUS_SLAVE_ADDR_DET) { in I2C0_IRQHandler() 43 I2C0->SR |= I2C_STATUS_SLAVE_ADDR_DET; in I2C0_IRQHandler() 45 if ((I2C0->SR) & I2C_STATUS_RX_FIFO_FULL) { in I2C0_IRQHandler() 47 I2C0->SR |= I2C_STATUS_RX_FIFO_FULL; in I2C0_IRQHandler() 55 if ((I2C1->SR) & I2C_STATUS_TRANS_DONE) { in I2C1_IRQHandler() 57 I2C1->SR |= I2C_STATUS_TRANS_DONE; in I2C1_IRQHandler() 59 if ((I2C1->SR) & I2C_STATUS_SLAVE_ADDR_DET) { in I2C1_IRQHandler() 61 I2C1->SR |= I2C_STATUS_SLAVE_ADDR_DET; in I2C1_IRQHandler() [all …]
|
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/ |
D | stm32f4xx_hal_iwdg.c | 194 while ((hiwdg->Instance->SR & IWDG_KERNEL_UPDATE_FLAGS) != 0x00u) in HAL_IWDG_Init() 198 if ((hiwdg->Instance->SR & IWDG_KERNEL_UPDATE_FLAGS) != 0x00u) in HAL_IWDG_Init()
|
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Inc/ |
D | stm32mp1xx_hal_rng.h | 233 #define __HAL_RNG_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__F… 269 #define __HAL_RNG_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR & (__INTERRUPT__))… 281 #define __HAL_RNG_CLEAR_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->SR) = ~(__INTERRUPT…
|
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Src/ |
D | stm32mp1xx_hal_spi_ex.c | 79 uint32_t itflag = hspi->Instance->SR; in HAL_SPIEx_FlushRxFifo() 82 …while (((hspi->Instance->SR & SPI_FLAG_FRLVL) != SPI_RX_FIFO_0PACKET) || ((itflag & SPI_FLAG_RXWN… in HAL_SPIEx_FlushRxFifo()
|