Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/i2c/
Dfsl_i2c.h436 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()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcomm/i2c/
Dfsl_i2c.h569 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()
955 static inline void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_SlaveClearStatusFlags() argument
958 base->STAT = statusMask & I2C_STAT_SLVDESEL_MASK; in I2C_SlaveClearStatusFlags()
Dfsl_i2c.c283 uint32_t statusMask = base->STAT; in I2C_GetStatusFlags() local
284 if ((statusMask & (uint32_t)I2C_STAT_MSTSTATE_MASK) == 0UL) in I2C_GetStatusFlags()
286 statusMask |= (uint32_t)kI2C_MasterIdleFlag; in I2C_GetStatusFlags()
288 if (((statusMask & (uint32_t)I2C_STAT_MSTSTATE_MASK) >> I2C_STAT_MSTSTATE_SHIFT) == 3UL) in I2C_GetStatusFlags()
290statusMask = (statusMask & ~(uint32_t)I2C_STAT_MSTSTATE_MASK) | (uint32_t)kI2C_MasterAddrNackFlag; in I2C_GetStatusFlags()
292 if ((statusMask & (uint32_t)I2C_STAT_SLVSTATE_MASK) == 0UL) in I2C_GetStatusFlags()
294 statusMask |= (uint32_t)kI2C_SlaveAddressedFlag; in I2C_GetStatusFlags()
296 if ((statusMask & (uint32_t)I2C_STAT_SLVIDX_MASK) == 0UL) in I2C_GetStatusFlags()
298 statusMask |= (uint32_t)kI2C_SlaveAddress0MatchFlag; in I2C_GetStatusFlags()
300 if (((statusMask & (uint32_t)I2C_STAT_SLVIDX_MASK) >> I2C_STAT_SLVIDX_SHIFT) == 3UL) in I2C_GetStatusFlags()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/i3c/
Dfsl_i3c.h833 static inline void I3C_MasterClearStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_MasterClearStatusFlags() argument
835 base->MSTATUS = statusMask; in I3C_MasterClearStatusFlags()
864 static inline void I3C_MasterClearErrorStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_MasterClearErrorStatusFlags() argument
866 while ((base->MERRWARN & statusMask) != 0U) in I3C_MasterClearErrorStatusFlags()
868 base->MERRWARN = statusMask; in I3C_MasterClearErrorStatusFlags()
1499 static inline void I3C_SlaveClearStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_SlaveClearStatusFlags() argument
1501 base->SSTATUS = statusMask; in I3C_SlaveClearStatusFlags()
1530 static inline void I3C_SlaveClearErrorStatusFlags(I3C_Type *base, uint32_t statusMask) in I3C_SlaveClearErrorStatusFlags() argument
1532 base->SERRWARN = statusMask; in I3C_SlaveClearErrorStatusFlags()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/ii2c/
Dfsl_i2c.h335 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-3.6.0/mcux/mcux-sdk/drivers/lpc_i2c/
Dfsl_i2c.h510 static inline void I2C_MasterClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_MasterClearStatusFlags() argument
513 base->STAT = statusMask & (I2C_STAT_MSTARBLOSS_MASK | I2C_STAT_MSTSTSTPERR_MASK); in I2C_MasterClearStatusFlags()
855 static inline void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask) in I2C_SlaveClearStatusFlags() argument
858 base->STAT = statusMask & I2C_STAT_SLVDESEL_MASK; in I2C_SlaveClearStatusFlags()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c.h604 static inline void LPI2C_MasterClearStatusFlags(LPI2C_Type *base, uint32_t statusMask) in LPI2C_MasterClearStatusFlags() argument
606 base->MSR = statusMask; in LPI2C_MasterClearStatusFlags()
1084 static inline void LPI2C_SlaveClearStatusFlags(LPI2C_Type *base, uint32_t statusMask) in LPI2C_SlaveClearStatusFlags() argument
1086 base->SSR = statusMask; in LPI2C_SlaveClearStatusFlags()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/csi/
Dfsl_csi.h537 static inline void CSI_ClearStatusFlags(CSI_Type *base, uint32_t statusMask) in CSI_ClearStatusFlags() argument
539 CSI_REG_SR(base) = statusMask; in CSI_ClearStatusFlags()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pxp/
Dfsl_pxp.h1313 static inline void PXP_ClearStatusFlags(PXP_Type *base, uint32_t statusMask) in PXP_ClearStatusFlags() argument
1315 base->STAT_CLR = statusMask; in PXP_ClearStatusFlags()
1317 statusMask &= 0xFFFF8000UL; in PXP_ClearStatusFlags()
1318 base->IRQ_CLR = (statusMask >> 16U | statusMask << 16U); in PXP_ClearStatusFlags()
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT633S/drivers/
Dfsl_power.c278 void POWER_ClearEventFlags(uint32_t statusMask) in POWER_ClearEventFlags() argument
280 PMC->FLAGS = statusMask; in POWER_ClearEventFlags()
Dfsl_power.h400 void POWER_ClearEventFlags(uint32_t statusMask);
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT685S/drivers/
Dfsl_power.c278 void POWER_ClearEventFlags(uint32_t statusMask) in POWER_ClearEventFlags() argument
280 PMC->FLAGS = statusMask; in POWER_ClearEventFlags()
Dfsl_power.h400 void POWER_ClearEventFlags(uint32_t statusMask);
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT555S/drivers/
Dfsl_power.c299 void POWER_ClearEventFlags(uint32_t statusMask) in POWER_ClearEventFlags() argument
301 PMC->FLAGS = statusMask; in POWER_ClearEventFlags()
Dfsl_power.h413 void POWER_ClearEventFlags(uint32_t statusMask);
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT595S/drivers/
Dfsl_power.c299 void POWER_ClearEventFlags(uint32_t statusMask) in POWER_ClearEventFlags() argument
301 PMC->FLAGS = statusMask; in POWER_ClearEventFlags()
Dfsl_power.h413 void POWER_ClearEventFlags(uint32_t statusMask);
/hal_nxp-3.6.0/mcux/mcux-sdk/devices/MIMXRT533S/drivers/
Dfsl_power.c299 void POWER_ClearEventFlags(uint32_t statusMask) in POWER_ClearEventFlags() argument
301 PMC->FLAGS = statusMask; in POWER_ClearEventFlags()
Dfsl_power.h413 void POWER_ClearEventFlags(uint32_t statusMask);