Lines Matching refs:statusMask
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()
294 …statusMask = (statusMask & ~(uint32_t)I2C_STAT_SLVIDX_MASK) | (uint32_t)kI2C_SlaveAddress3MatchFla… in I2C_GetStatusFlags()
296 return statusMask; in I2C_GetStatusFlags()