Lines Matching refs:flexioBase
59 return FLEXIO_GetInstance(base->flexioBase); in FLEXIO_I2S_GetInstance()
78 base->flexioBase->SHIFTBUFBIS[base->txShifterIndex] = data << (32U - bitWidth); in FLEXIO_I2S_WriteNonBlocking()
92 data = (base->flexioBase->SHIFTBUFBIS[base->rxShifterIndex]); in FLEXIO_I2S_ReadNonBlocking()
128 FLEXIO_Reset(base->flexioBase); in FLEXIO_I2S_Init()
148 FLEXIO_SetShifterConfig(base->flexioBase, base->txShifterIndex, &shifterConfig); in FLEXIO_I2S_Init()
161 FLEXIO_SetShifterConfig(base->flexioBase, base->rxShifterIndex, &shifterConfig); in FLEXIO_I2S_Init()
198 FLEXIO_SetTimerConfig(base->flexioBase, base->fsTimerIndex, &timerConfig); in FLEXIO_I2S_Init()
235 FLEXIO_SetTimerConfig(base->flexioBase, base->bclkTimerIndex, &timerConfig); in FLEXIO_I2S_Init()
240 base->flexioBase->CTRL |= FLEXIO_CTRL_FLEXEN_MASK; in FLEXIO_I2S_Init()
244 base->flexioBase->CTRL &= ~FLEXIO_CTRL_FLEXEN_MASK; in FLEXIO_I2S_Init()
282 base->flexioBase->SHIFTCFG[base->txShifterIndex] = 0; in FLEXIO_I2S_Deinit()
283 base->flexioBase->SHIFTCTL[base->txShifterIndex] = 0; in FLEXIO_I2S_Deinit()
284 base->flexioBase->SHIFTCFG[base->rxShifterIndex] = 0; in FLEXIO_I2S_Deinit()
285 base->flexioBase->SHIFTCTL[base->rxShifterIndex] = 0; in FLEXIO_I2S_Deinit()
286 base->flexioBase->TIMCFG[base->fsTimerIndex] = 0; in FLEXIO_I2S_Deinit()
287 base->flexioBase->TIMCMP[base->fsTimerIndex] = 0; in FLEXIO_I2S_Deinit()
288 base->flexioBase->TIMCTL[base->fsTimerIndex] = 0; in FLEXIO_I2S_Deinit()
289 base->flexioBase->TIMCFG[base->bclkTimerIndex] = 0; in FLEXIO_I2S_Deinit()
290 base->flexioBase->TIMCMP[base->bclkTimerIndex] = 0; in FLEXIO_I2S_Deinit()
291 base->flexioBase->TIMCTL[base->bclkTimerIndex] = 0; in FLEXIO_I2S_Deinit()
306 FLEXIO_EnableShifterStatusInterrupts(base->flexioBase, 1UL << base->txShifterIndex); in FLEXIO_I2S_EnableInterrupts()
310 FLEXIO_EnableShifterStatusInterrupts(base->flexioBase, 1UL << base->rxShifterIndex); in FLEXIO_I2S_EnableInterrupts()
323 …status = ((FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->txShifterIndex)) >> base… in FLEXIO_I2S_GetStatusFlags()
325 …(((FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->rxShifterIndex)) >> (base->rxShi… in FLEXIO_I2S_GetStatusFlags()
342 FLEXIO_DisableShifterStatusInterrupts(base->flexioBase, 1UL << base->txShifterIndex); in FLEXIO_I2S_DisableInterrupts()
346 FLEXIO_DisableShifterStatusInterrupts(base->flexioBase, 1UL << base->rxShifterIndex); in FLEXIO_I2S_DisableInterrupts()
371 … base->flexioBase->TIMCMP[base->fsTimerIndex] = FLEXIO_TIMCMP_CMP(format->bitWidth * timDiv - 1U); in FLEXIO_I2S_MasterSetFormat()
375 base->flexioBase->TIMCMP[base->bclkTimerIndex] = FLEXIO_TIMCMP_CMP(bclkDiv); in FLEXIO_I2S_MasterSetFormat()
390 base->flexioBase->TIMCMP[base->fsTimerIndex] = FLEXIO_TIMCMP_CMP(format->bitWidth * 4UL - 3UL); in FLEXIO_I2S_SlaveSetFormat()
393 … base->flexioBase->TIMCMP[base->bclkTimerIndex] = FLEXIO_TIMCMP_CMP(format->bitWidth * 2UL - 1UL); in FLEXIO_I2S_SlaveSetFormat()
483 …while ((!((FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->rxShifterIndex)) != 0UL)… in FLEXIO_I2S_ReadBlocking()
492 … while (!((FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->rxShifterIndex)) != 0UL)) in FLEXIO_I2S_ReadBlocking()
826 if ((FLEXIO_GetShifterErrorFlags(base->flexioBase) & (1UL << base->txShifterIndex)) != 0UL) in FLEXIO_I2S_TransferTxHandleIRQ()
828 FLEXIO_ClearShifterErrorFlags(base->flexioBase, (1UL << base->txShifterIndex)); in FLEXIO_I2S_TransferTxHandleIRQ()