Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/usdhc/
Dfsl_usdhc.c37 #define IS_USDHC_FLAG_SET(reg, flag) (((reg) & ((uint32_t)flag)) != 0UL) macro
260 if (IS_USDHC_FLAG_SET(base->PRES_STATE, kUSDHC_CommandInhibitFlag)) in USDHC_SetTransferConfig()
278 if (IS_USDHC_FLAG_SET(base->PRES_STATE, kUSDHC_DataInhibitFlag)) in USDHC_SetTransferConfig()
472 !(IS_USDHC_FLAG_SET(interruptStatus, ((uint32_t)kUSDHC_BufferReadReadyFlag | in USDHC_ReadByDataPortBlocking()
480 (IS_USDHC_FLAG_SET(interruptStatus, kUSDHC_BufferReadReadyFlag))) in USDHC_ReadByDataPortBlocking()
487 else if (IS_USDHC_FLAG_SET(interruptStatus, kUSDHC_TuningErrorFlag)) in USDHC_ReadByDataPortBlocking()
494 else if (IS_USDHC_FLAG_SET(interruptStatus, kUSDHC_DataErrorFlag)) in USDHC_ReadByDataPortBlocking()
597 while (!(IS_USDHC_FLAG_SET(interruptStatus, (uint32_t)kUSDHC_BufferWriteReadyFlag | in USDHC_WriteByDataPortBlocking()
604 if (IS_USDHC_FLAG_SET(interruptStatus, kUSDHC_TuningErrorFlag)) in USDHC_WriteByDataPortBlocking()
612 if (IS_USDHC_FLAG_SET(interruptStatus, kUSDHC_DataErrorFlag)) in USDHC_WriteByDataPortBlocking()
[all …]