Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_i2c_master.c58 uint32_t statusFlags);
153 uint32_t statusFlags) in FLEXIO_I2C_MasterTransferRunStateMachine() argument
159 if ((statusFlags & (uint32_t)kFLEXIO_I2C_ReceiveNakFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
182 …if (((statusFlags & (uint8_t)kFLEXIO_I2C_RxFullFlag) != 0U) && (handle->state != (uint8_t)kFLEXIO_… in FLEXIO_I2C_MasterTransferRunStateMachine()
222 if ((statusFlags & (uint32_t)kFLEXIO_I2C_TxEmptyFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
306 if ((statusFlags & (uint32_t)kFLEXIO_I2C_TxEmptyFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
342 if ((statusFlags & (uint32_t)kFLEXIO_I2C_RxFullFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
370 else if ((statusFlags & (uint32_t)kFLEXIO_I2C_TxEmptyFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
382 if ((statusFlags & (uint32_t)kFLEXIO_I2C_RxFullFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
393 if ((statusFlags & (uint32_t)kFLEXIO_I2C_ReceiveNakFlag) == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
[all …]
Dfsl_i2c.c336 uint32_t statusFlags = base->S; in I2C_MasterTransferRunStateMachine() local
344 result = I2C_CheckAndClearError(base, statusFlags); in I2C_MasterTransferRunStateMachine()
356 if (0U != (statusFlags & (uint8_t)kI2C_ReceiveNakFlag)) in I2C_MasterTransferRunStateMachine()
834 uint32_t statusFlags = I2C_MasterGetStatusFlags(base); in I2C_MasterStart() local
837 if (0U != (statusFlags & (uint32_t)kI2C_BusBusyFlag)) in I2C_MasterStart()
883 uint32_t statusFlags = I2C_MasterGetStatusFlags(base); in I2C_MasterRepeatedStart() local
887 if ((0U == (base->C1 & I2C_C1_MST_MASK)) && (0U != (statusFlags & (uint32_t)kI2C_BusBusyFlag))) in I2C_MasterRepeatedStart()
975 uint32_t statusFlags = base->S; in I2C_MasterGetStatusFlags() local
981 statusFlags |= (uint32_t)kI2C_StopDetectFlag; in I2C_MasterGetStatusFlags()
989 statusFlags |= (uint32_t)kI2C_StartDetectFlag; in I2C_MasterGetStatusFlags()
[all …]
Dfsl_tpm.h493 uint32_t statusFlags = 0; in TPM_GetStatusFlags() local
501 statusFlags |= kTPM_TimeOverflowFlag; in TPM_GetStatusFlags()
509 statusFlags |= (1U << chanlNumber); in TPM_GetStatusFlags()
513 statusFlags = base->STATUS; in TPM_GetStatusFlags()
516 return statusFlags; in TPM_GetStatusFlags()
Dfsl_ftm.c1239 uint32_t statusFlags = 0; in FTM_GetStatusFlags() local
1244 statusFlags |= (uint32_t)kFTM_TimeOverflowFlag; in FTM_GetStatusFlags()
1253 statusFlags |= (uint32_t)kFTM_FaultFlag; in FTM_GetStatusFlags()
1260 statusFlags |= (uint32_t)kFTM_FaultFlag; in FTM_GetStatusFlags()
1266 statusFlags |= (uint32_t)kFTM_ChnlTriggerFlag; in FTM_GetStatusFlags()
1272 statusFlags |= (uint32_t)kFTM_ReloadFlag; in FTM_GetStatusFlags()
1277 statusFlags |= (base->STATUS & 0xFFU); in FTM_GetStatusFlags()
1279 return statusFlags; in FTM_GetStatusFlags()
Dfsl_pwm.c907 uint32_t statusFlags; in PWM_GetStatusFlags() local
909 statusFlags = base->SM[subModule].STS; in PWM_GetStatusFlags()
910 statusFlags |= (((uint32_t)base->FSTS & PWM_FSTS_FFLAG_MASK) << 16UL); in PWM_GetStatusFlags()
912 return statusFlags; in PWM_GetStatusFlags()
Dfsl_lpspi.h587 static inline void LPSPI_ClearStatusFlags(LPSPI_Type *base, uint32_t statusFlags) in LPSPI_ClearStatusFlags() argument
589 base->SR = statusFlags; /*!< The status flags are cleared by writing 1 (w1c).*/ in LPSPI_ClearStatusFlags()
Dfsl_dspi.h553 static inline void DSPI_ClearStatusFlags(SPI_Type *base, uint32_t statusFlags) in DSPI_ClearStatusFlags() argument
555 base->SR = statusFlags; /*!< The status flags are cleared by writing 1 (w1c).*/ in DSPI_ClearStatusFlags()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_i2c_master.c58 uint32_t statusFlags);
153 uint32_t statusFlags) in FLEXIO_I2C_MasterTransferRunStateMachine() argument
159 if ((statusFlags & (uint32_t)kFLEXIO_I2C_ReceiveNakFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
182 …if (((statusFlags & (uint8_t)kFLEXIO_I2C_RxFullFlag) != 0U) && (handle->state != (uint8_t)kFLEXIO_… in FLEXIO_I2C_MasterTransferRunStateMachine()
222 if ((statusFlags & (uint32_t)kFLEXIO_I2C_TxEmptyFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
308 if ((statusFlags & (uint32_t)kFLEXIO_I2C_TxEmptyFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
344 if ((statusFlags & (uint32_t)kFLEXIO_I2C_RxFullFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
372 else if ((statusFlags & (uint32_t)kFLEXIO_I2C_TxEmptyFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
384 if ((statusFlags & (uint32_t)kFLEXIO_I2C_RxFullFlag) != 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
395 if ((statusFlags & (uint32_t)kFLEXIO_I2C_ReceiveNakFlag) == 0U) in FLEXIO_I2C_MasterTransferRunStateMachine()
[all …]
Dfsl_flexio_mculcd.c555 uint32_t statusFlags = 0U; in FLEXIO_MCULCD_ClearMultiBeatsWriteConfig() local
568 statusFlags |= (1UL << i); in FLEXIO_MCULCD_ClearMultiBeatsWriteConfig()
571 base->flexioBase->SHIFTSTAT = statusFlags; in FLEXIO_MCULCD_ClearMultiBeatsWriteConfig()
672 uint32_t statusFlags = 0U; in FLEXIO_MCULCD_ClearMultiBeatsReadConfig() local
684 statusFlags |= (1UL << i); in FLEXIO_MCULCD_ClearMultiBeatsReadConfig()
687 base->flexioBase->SHIFTSTAT = statusFlags; in FLEXIO_MCULCD_ClearMultiBeatsReadConfig()
1197 uint32_t statusFlags = FLEXIO_MCULCD_GetStatusFlags(flexioLcdMcuBase); in FLEXIO_MCULCD_TransferHandleIRQ() local
1203 …while ((0U != ((uint32_t)kFLEXIO_MCULCD_RxFullFlag & statusFlags)) && (flexioLcdMcuHandle->remaini… in FLEXIO_MCULCD_TransferHandleIRQ()
1239 statusFlags = FLEXIO_MCULCD_GetStatusFlags(flexioLcdMcuBase); in FLEXIO_MCULCD_TransferHandleIRQ()
1245 while ((0U != ((uint32_t)kFLEXIO_MCULCD_TxEmptyFlag & statusFlags)) && in FLEXIO_MCULCD_TransferHandleIRQ()
[all …]
Dfsl_qtmr.c438 uint32_t statusFlags = 0; in QTMR_GetStatus() local
445 statusFlags |= (uint32_t)kQTMR_CompareFlag; in QTMR_GetStatus()
450 statusFlags |= (uint32_t)kQTMR_OverflowFlag; in QTMR_GetStatus()
455 statusFlags |= (uint32_t)kQTMR_EdgeFlag; in QTMR_GetStatus()
462 statusFlags |= (uint32_t)kQTMR_Compare1Flag; in QTMR_GetStatus()
467 statusFlags |= (uint32_t)kQTMR_Compare2Flag; in QTMR_GetStatus()
470 return statusFlags; in QTMR_GetStatus()
Dfsl_pwm.c907 uint32_t statusFlags; in PWM_GetStatusFlags() local
909 statusFlags = base->SM[subModule].STS; in PWM_GetStatusFlags()
910 statusFlags |= (((uint32_t)base->FSTS & PWM_FSTS_FFLAG_MASK) << 16UL); in PWM_GetStatusFlags()
912 return statusFlags; in PWM_GetStatusFlags()
Dfsl_lpspi.h589 static inline void LPSPI_ClearStatusFlags(LPSPI_Type *base, uint32_t statusFlags) in LPSPI_ClearStatusFlags() argument
591 base->SR = statusFlags; /*!< The status flags are cleared by writing 1 (w1c).*/ in LPSPI_ClearStatusFlags()
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_i2c.c275 uint32_t statusFlags = base->I2SR; in I2C_MasterTransferRunStateMachine() local
285 result = I2C_CheckAndClearError(base, statusFlags); in I2C_MasterTransferRunStateMachine()
297 if ((statusFlags & (uint32_t)kI2C_ReceiveNakFlag) != 0U) in I2C_MasterTransferRunStateMachine()
635 uint32_t statusFlags = I2C_MasterGetStatusFlags(base); in I2C_MasterStart() local
638 if ((statusFlags & (uint32_t)kI2C_BusBusyFlag) != 0U) in I2C_MasterStart()
665 uint32_t statusFlags = I2C_MasterGetStatusFlags(base); in I2C_MasterRepeatedStart() local
668 …if (((statusFlags & (uint32_t)kI2C_BusBusyFlag) != 0U) && ((base->I2CR & (uint16_t)I2C_I2CR_MSTA_M… in I2C_MasterRepeatedStart()
728 uint8_t statusFlags = 0; in I2C_MasterWriteBlocking() local
751 statusFlags = (uint8_t)base->I2SR; in I2C_MasterWriteBlocking()
757 if ((statusFlags & (uint8_t)kI2C_ArbitrationLostFlag) != 0U) in I2C_MasterWriteBlocking()
[all …]
Dfsl_pwm.h293 uint32_t statusFlags = base->PWMSR; in PWM_GetStatusFlags() local
295statusFlags &= (PWM_PWMSR_FE_MASK | PWM_PWMSR_ROV_MASK | PWM_PWMSR_CMP_MASK | PWM_PWMSR_FWE_MASK); in PWM_GetStatusFlags()
296 return statusFlags; in PWM_GetStatusFlags()
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_sctimer.h462 uint32_t statusFlags = 0; in SCTIMER_GetStatusFlags() local
465 statusFlags = (base->EVFLAG & 0xFFFFU); in SCTIMER_GetStatusFlags()
468 statusFlags |= (base->CONFLAG & (SCT_CONFLAG_BUSERRL_MASK | SCT_CONFLAG_BUSERRH_MASK)); in SCTIMER_GetStatusFlags()
470 return statusFlags; in SCTIMER_GetStatusFlags()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_sctimer.h462 uint32_t statusFlags = 0; in SCTIMER_GetStatusFlags() local
465 statusFlags = (base->EVFLAG & 0xFFFFU); in SCTIMER_GetStatusFlags()
468 statusFlags |= (base->CONFLAG & (SCT_CONFLAG_BUSERRL_MASK | SCT_CONFLAG_BUSERRH_MASK)); in SCTIMER_GetStatusFlags()
470 return statusFlags; in SCTIMER_GetStatusFlags()