Home
last modified time | relevance | path

Searched refs:statusFlag (Results 1 – 10 of 10) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpsci.c538 uint32_t statusFlag; in LPSCI_ReadBlocking() local
544 statusFlag = LPSCI_GetStatusFlags(base); in LPSCI_ReadBlocking()
546 if (statusFlag & kLPSCI_RxOverrunFlag) in LPSCI_ReadBlocking()
552 if (statusFlag & kLPSCI_NoiseErrorFlag) in LPSCI_ReadBlocking()
558 if (statusFlag & kLPSCI_FramingErrorFlag) in LPSCI_ReadBlocking()
564 if (statusFlag & kLPSCI_ParityErrorFlag) in LPSCI_ReadBlocking()
Dfsl_uart.c833 uint32_t statusFlag; in UART_ReadBlocking() local
856 statusFlag = UART_GetStatusFlags(base); in UART_ReadBlocking()
858 if (0U != (statusFlag & (uint32_t)kUART_RxOverrunFlag)) in UART_ReadBlocking()
868 if (0U != (statusFlag & (uint32_t)kUART_ParityErrorFlag)) in UART_ReadBlocking()
875 if (0U != (statusFlag & (uint32_t)kUART_FramingErrorFlag)) in UART_ReadBlocking()
882 if (0U != (statusFlag & (uint32_t)kUART_NoiseErrorFlag)) in UART_ReadBlocking()
Dfsl_lpuart.c986 uint32_t statusFlag; in LPUART_ReadBlocking() local
1017 statusFlag = LPUART_GetStatusFlags(base); in LPUART_ReadBlocking()
1019 if (0U != (statusFlag & (uint32_t)kLPUART_RxOverrunFlag)) in LPUART_ReadBlocking()
1029 if (0U != (statusFlag & (uint32_t)kLPUART_ParityErrorFlag)) in LPUART_ReadBlocking()
1036 if (0U != (statusFlag & (uint32_t)kLPUART_FramingErrorFlag)) in LPUART_ReadBlocking()
1043 if (0U != (statusFlag & (uint32_t)kLPUART_NoiseErrorFlag)) in LPUART_ReadBlocking()
Dfsl_sai.c46 …tic bool SAI_RxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
56 …tic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
68 …tic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
165 …atic bool SAI_RxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag) in SAI_RxGetEnabledInterruptStatus() argument
169 return IS_SAI_FLAG_SET(rcsr, enableFlag) && IS_SAI_FLAG_SET(rcsr, statusFlag); in SAI_RxGetEnabledInterruptStatus()
172 …atic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag) in SAI_TxGetEnabledInterruptStatus() argument
176 return IS_SAI_FLAG_SET(tcsr, enableFlag) && IS_SAI_FLAG_SET(tcsr, statusFlag); in SAI_TxGetEnabledInterruptStatus()
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_usart.c580 uint32_t statusFlag; in USART_ReadBlocking() local
625 statusFlag = base->STAT; in USART_ReadBlocking()
627 base->STAT |= statusFlag; in USART_ReadBlocking()
628 if ((statusFlag & USART_STAT_PARITYERRINT_MASK) != 0U) in USART_ReadBlocking()
632 if ((statusFlag & USART_STAT_FRAMERRINT_MASK) != 0U) in USART_ReadBlocking()
636 if ((statusFlag & USART_STAT_RXNOISEINT_MASK) != 0U) in USART_ReadBlocking()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_usart.c580 uint32_t statusFlag; in USART_ReadBlocking() local
625 statusFlag = base->STAT; in USART_ReadBlocking()
627 base->STAT |= statusFlag; in USART_ReadBlocking()
628 if ((statusFlag & USART_STAT_PARITYERRINT_MASK) != 0U) in USART_ReadBlocking()
632 if ((statusFlag & USART_STAT_FRAMERRINT_MASK) != 0U) in USART_ReadBlocking()
636 if ((statusFlag & USART_STAT_RXNOISEINT_MASK) != 0U) in USART_ReadBlocking()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpuart.c986 uint32_t statusFlag; in LPUART_ReadBlocking() local
1017 statusFlag = LPUART_GetStatusFlags(base); in LPUART_ReadBlocking()
1019 if (0U != (statusFlag & (uint32_t)kLPUART_RxOverrunFlag)) in LPUART_ReadBlocking()
1029 if (0U != (statusFlag & (uint32_t)kLPUART_ParityErrorFlag)) in LPUART_ReadBlocking()
1036 if (0U != (statusFlag & (uint32_t)kLPUART_FramingErrorFlag)) in LPUART_ReadBlocking()
1043 if (0U != (statusFlag & (uint32_t)kLPUART_NoiseErrorFlag)) in LPUART_ReadBlocking()
Dfsl_sai.c46 …tic bool SAI_RxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
56 …tic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
68 …tic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
165 …atic bool SAI_RxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag) in SAI_RxGetEnabledInterruptStatus() argument
169 return IS_SAI_FLAG_SET(rcsr, enableFlag) && IS_SAI_FLAG_SET(rcsr, statusFlag); in SAI_RxGetEnabledInterruptStatus()
172 …atic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag) in SAI_TxGetEnabledInterruptStatus() argument
176 return IS_SAI_FLAG_SET(tcsr, enableFlag) && IS_SAI_FLAG_SET(tcsr, statusFlag); in SAI_TxGetEnabledInterruptStatus()
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_i2c.c101 static status_t I2C_WaitForStatusReady(I2C_Type *base, uint8_t statusFlag);
156 static status_t I2C_WaitForStatusReady(I2C_Type *base, uint8_t statusFlag) in I2C_WaitForStatusReady() argument
161 while ((0U == (base->I2SR & statusFlag)) && (0U != --waitTimes)) in I2C_WaitForStatusReady()
170 while (0U == (base->I2SR & statusFlag)) in I2C_WaitForStatusReady()
Dfsl_sai.c46 …tic bool SAI_RxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
56 …tic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
68 …tic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag);
165 …atic bool SAI_RxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag) in SAI_RxGetEnabledInterruptStatus() argument
169 return IS_SAI_FLAG_SET(rcsr, enableFlag) && IS_SAI_FLAG_SET(rcsr, statusFlag); in SAI_RxGetEnabledInterruptStatus()
172 …atic bool SAI_TxGetEnabledInterruptStatus(I2S_Type *base, uint32_t enableFlag, uint32_t statusFlag) in SAI_TxGetEnabledInterruptStatus() argument
176 return IS_SAI_FLAG_SET(tcsr, enableFlag) && IS_SAI_FLAG_SET(tcsr, statusFlag); in SAI_TxGetEnabledInterruptStatus()