Lines Matching refs:C2
159 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_WriteNonBlocking()
168 if (base->C2 & SPI_C2_SPIMODE_MASK) in SPI_WriteNonBlocking()
198 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_ReadNonBlocking()
207 if (base->C2 & SPI_C2_SPIMODE_MASK) in SPI_ReadNonBlocking()
426 base->C2 = SPI_C2_MODFEN(config->outputMode >> 1U) | SPI_C2_BIDIROE(config->pinMode >> 1U) | in SPI_MasterInit()
430 base->C2 = SPI_C2_MODFEN(config->outputMode >> 1U) | SPI_C2_BIDIROE(config->pinMode >> 1U) | in SPI_MasterInit()
489 base->C2 = SPI_C2_SPIMODE(config->dataMode) | SPI_C2_SPISWAI(config->enableStopInWaitMode); in SPI_SlaveInit()
491 base->C2 = SPI_C2_SPISWAI(config->enableStopInWaitMode); in SPI_SlaveInit()
554 base->C2 |= SPI_C2_SPMIE_MASK; in SPI_EnableInterrupts()
593 base->C2 &= (~SPI_C2_SPMIE_MASK); in SPI_DisableInterrupts()
674 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_WriteBlocking()
744 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_MasterTransferBlocking()
813 handle->bytePerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_MasterTransferCreateHandle()