/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_i2c.h | 436 static inline void I2C_MasterClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_MasterClearStatusFlags() argument 440 if ((uint32_t)kI2C_StartDetectFlag == (statusMask & (uint32_t)kI2C_StartDetectFlag)) in I2C_MasterClearStatusFlags() 443 base->FLT |= (uint8_t)(statusMask >> 8U); in I2C_MasterClearStatusFlags() 448 if ((uint32_t)kI2C_StopDetectFlag == (statusMask & (uint32_t)kI2C_StopDetectFlag)) in I2C_MasterClearStatusFlags() 451 base->FLT |= (uint8_t)(statusMask >> 8U); in I2C_MasterClearStatusFlags() 455 base->S = (uint8_t)statusMask; in I2C_MasterClearStatusFlags() 471 static inline void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_SlaveClearStatusFlags() argument 473 I2C_MasterClearStatusFlags(base, statusMask); in I2C_SlaveClearStatusFlags()
|
D | fsl_lpi2c.h | 550 static inline void LPI2C_MasterClearStatusFlags(LPI2C_Type *base, uint32_t statusMask) in LPI2C_MasterClearStatusFlags() argument 552 base->MSR = statusMask; in LPI2C_MasterClearStatusFlags() 1030 static inline void LPI2C_SlaveClearStatusFlags(LPI2C_Type *base, uint32_t statusMask) in LPI2C_SlaveClearStatusFlags() argument 1032 base->SSR = statusMask; in LPI2C_SlaveClearStatusFlags()
|
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_i2c.h | 569 static inline void I2C_ClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_ClearStatusFlags() argument 572 statusMask &= in I2C_ClearStatusFlags() 574 base->STAT = statusMask; in I2C_ClearStatusFlags() 592 static inline void I2C_MasterClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_MasterClearStatusFlags() argument 595 base->STAT = statusMask & (I2C_STAT_MSTARBLOSS_MASK | I2C_STAT_MSTSTSTPERR_MASK); in I2C_MasterClearStatusFlags() 948 static inline void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_SlaveClearStatusFlags() argument 951 base->STAT = statusMask & I2C_STAT_SLVDESEL_MASK; in I2C_SlaveClearStatusFlags()
|
D | fsl_i3c.h | 808 static inline void I3C_MasterClearStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_MasterClearStatusFlags() argument 810 base->MSTATUS = statusMask; in I3C_MasterClearStatusFlags() 839 static inline void I3C_MasterClearErrorStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_MasterClearErrorStatusFlags() argument 841 base->MERRWARN = statusMask; in I3C_MasterClearErrorStatusFlags() 842 while ((base->MERRWARN & statusMask) != 0U) in I3C_MasterClearErrorStatusFlags() 1366 static inline void I3C_SlaveClearStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_SlaveClearStatusFlags() argument 1368 base->SSTATUS = statusMask; in I3C_SlaveClearStatusFlags() 1397 static inline void I3C_SlaveClearErrorStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_SlaveClearErrorStatusFlags() argument 1399 base->SERRWARN = statusMask; in I3C_SlaveClearErrorStatusFlags()
|
D | fsl_i2c.c | 275 uint32_t statusMask = base->STAT; in I2C_GetStatusFlags() local 276 if ((statusMask & (uint32_t)I2C_STAT_MSTSTATE_MASK) == 0UL) in I2C_GetStatusFlags() 278 statusMask |= (uint32_t)kI2C_MasterIdleFlag; in I2C_GetStatusFlags() 280 if (((statusMask & (uint32_t)I2C_STAT_MSTSTATE_MASK) >> I2C_STAT_MSTSTATE_SHIFT) == 3UL) in I2C_GetStatusFlags() 282 … statusMask = (statusMask & ~(uint32_t)I2C_STAT_MSTSTATE_MASK) | (uint32_t)kI2C_MasterAddrNackFlag; in I2C_GetStatusFlags() 284 if ((statusMask & (uint32_t)I2C_STAT_SLVSTATE_MASK) == 0UL) in I2C_GetStatusFlags() 286 statusMask |= (uint32_t)kI2C_SlaveAddressedFlag; in I2C_GetStatusFlags() 288 if ((statusMask & (uint32_t)I2C_STAT_SLVIDX_MASK) == 0UL) in I2C_GetStatusFlags() 290 statusMask |= (uint32_t)kI2C_SlaveAddress0MatchFlag; in I2C_GetStatusFlags() 292 if (((statusMask & (uint32_t)I2C_STAT_SLVIDX_MASK) >> I2C_STAT_SLVIDX_SHIFT) == 3UL) in I2C_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_i2c.h | 569 static inline void I2C_ClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_ClearStatusFlags() argument 572 statusMask &= in I2C_ClearStatusFlags() 574 base->STAT = statusMask; in I2C_ClearStatusFlags() 592 static inline void I2C_MasterClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_MasterClearStatusFlags() argument 595 base->STAT = statusMask & (I2C_STAT_MSTARBLOSS_MASK | I2C_STAT_MSTSTSTPERR_MASK); in I2C_MasterClearStatusFlags() 948 static inline void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_SlaveClearStatusFlags() argument 951 base->STAT = statusMask & I2C_STAT_SLVDESEL_MASK; in I2C_SlaveClearStatusFlags()
|
D | fsl_i2c.c | 275 uint32_t statusMask = base->STAT; in I2C_GetStatusFlags() local 276 if ((statusMask & (uint32_t)I2C_STAT_MSTSTATE_MASK) == 0UL) in I2C_GetStatusFlags() 278 statusMask |= (uint32_t)kI2C_MasterIdleFlag; in I2C_GetStatusFlags() 280 if (((statusMask & (uint32_t)I2C_STAT_MSTSTATE_MASK) >> I2C_STAT_MSTSTATE_SHIFT) == 3UL) in I2C_GetStatusFlags() 282 … statusMask = (statusMask & ~(uint32_t)I2C_STAT_MSTSTATE_MASK) | (uint32_t)kI2C_MasterAddrNackFlag; in I2C_GetStatusFlags() 284 if ((statusMask & (uint32_t)I2C_STAT_SLVSTATE_MASK) == 0UL) in I2C_GetStatusFlags() 286 statusMask |= (uint32_t)kI2C_SlaveAddressedFlag; in I2C_GetStatusFlags() 288 if ((statusMask & (uint32_t)I2C_STAT_SLVIDX_MASK) == 0UL) in I2C_GetStatusFlags() 290 statusMask |= (uint32_t)kI2C_SlaveAddress0MatchFlag; in I2C_GetStatusFlags() 292 if (((statusMask & (uint32_t)I2C_STAT_SLVIDX_MASK) >> I2C_STAT_SLVIDX_SHIFT) == 3UL) in I2C_GetStatusFlags() [all …]
|
/hal_nxp-2.7.6/mcux/drivers/imx8/ |
D | fsl_i2c.h | 335 static inline void I2C_MasterClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_MasterClearStatusFlags() argument 337 base->I2SR &= (~(uint16_t)statusMask); in I2C_MasterClearStatusFlags() 361 static inline void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_SlaveClearStatusFlags() argument 363 I2C_MasterClearStatusFlags(base, statusMask); in I2C_SlaveClearStatusFlags()
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_lpi2c.h | 602 static inline void LPI2C_MasterClearStatusFlags(LPI2C_Type *base, uint32_t statusMask) in LPI2C_MasterClearStatusFlags() argument 604 base->MSR = statusMask; in LPI2C_MasterClearStatusFlags() 1082 static inline void LPI2C_SlaveClearStatusFlags(LPI2C_Type *base, uint32_t statusMask) in LPI2C_SlaveClearStatusFlags() argument 1084 base->SSR = statusMask; in LPI2C_SlaveClearStatusFlags()
|
D | fsl_csi.h | 553 static inline void CSI_ClearStatusFlags(CSI_Type *base, uint32_t statusMask) in CSI_ClearStatusFlags() argument 555 CSI_REG_SR(base) = statusMask; in CSI_ClearStatusFlags()
|
D | fsl_pxp.h | 705 static inline void PXP_ClearStatusFlags(PXP_Type *base, uint32_t statusMask) in PXP_ClearStatusFlags() argument 707 base->STAT_CLR = statusMask; in PXP_ClearStatusFlags()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT685S/ |
D | fsl_power.c | 249 void POWER_ClearEventFlags(uint32_t statusMask) in POWER_ClearEventFlags() argument 251 PMC->FLAGS = statusMask; in POWER_ClearEventFlags()
|
D | fsl_power.h | 364 void POWER_ClearEventFlags(uint32_t statusMask);
|