Home
last modified time | relevance | path

Searched refs:shifterIndex (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart.c170 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[0], &shifterConfig); in FLEXIO_UART_Init()
173 timerConfig.triggerSelect = FLEXIO_TIMER_TRIGGER_SEL_SHIFTnSTAT(base->shifterIndex[0]); in FLEXIO_UART_Init()
228 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[1], &shifterConfig); in FLEXIO_UART_Init()
262 base->flexioBase->SHIFTCFG[base->shifterIndex[0]] = 0; in FLEXIO_UART_Deinit()
263 base->flexioBase->SHIFTCTL[base->shifterIndex[0]] = 0; in FLEXIO_UART_Deinit()
264 base->flexioBase->SHIFTCFG[base->shifterIndex[1]] = 0; in FLEXIO_UART_Deinit()
265 base->flexioBase->SHIFTCTL[base->shifterIndex[1]] = 0; in FLEXIO_UART_Deinit()
273 base->flexioBase->SHIFTSTAT = (1UL << base->shifterIndex[0]); in FLEXIO_UART_Deinit()
274 base->flexioBase->SHIFTSTAT = (1UL << base->shifterIndex[1]); in FLEXIO_UART_Deinit()
319 FLEXIO_EnableShifterStatusInterrupts(base->flexioBase, 1UL << base->shifterIndex[0]); in FLEXIO_UART_EnableInterrupts()
[all …]
Dfsl_flexio_uart.h80 uint8_t shifterIndex[2]; /*!< Shifter index used in FlexIO UART. */ member
284 …urn FLEXIO_GetShifterBufferAddress(base->flexioBase, kFLEXIO_ShifterBuffer, base->shifterIndex[0]); in FLEXIO_UART_GetTxDataRegisterAddress()
297 …GetShifterBufferAddress(base->flexioBase, kFLEXIO_ShifterBufferByteSwapped, base->shifterIndex[1]); in FLEXIO_UART_GetRxDataRegisterAddress()
310 FLEXIO_EnableShifterStatusDMA(base->flexioBase, 1UL << base->shifterIndex[0], enable); in FLEXIO_UART_EnableTxDMA()
323 FLEXIO_EnableShifterStatusDMA(base->flexioBase, 1UL << base->shifterIndex[1], enable); in FLEXIO_UART_EnableRxDMA()
359 base->flexioBase->SHIFTBUF[base->shifterIndex[0]] = *buffer; in FLEXIO_UART_WriteByte()
373 *buffer = (uint8_t)(base->flexioBase->SHIFTBUFBYS[base->shifterIndex[1]]); in FLEXIO_UART_ReadByte()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexio/i2c/
Dfsl_flexio_i2c_master.c204 …while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferInitStateMachine()
213 while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferInitStateMachine()
268 …while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferStateMachineSendCommand()
277 … while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferStateMachineSendCommand()
389 …while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferStateMachineReceiveDataBegin()
398 … while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferStateMachineReceiveDataBegin()
447 …while ((0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) && in FLEXIO_I2C_MasterTransferStateMachineReceiveData()
456 … while (0U == (FLEXIO_GetShifterStatusFlags(base->flexioBase) & (1UL << base->shifterIndex[0]))) in FLEXIO_I2C_MasterTransferStateMachineReceiveData()
490 FLEXIO_ClearShifterErrorFlags(base->flexioBase, 1UL << base->shifterIndex[1]); in FLEXIO_I2C_MasterTransferRunStateMachine()
660 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[0], &shifterConfig); in FLEXIO_I2C_MasterInit()
[all …]
Dfsl_flexio_i2c_master.h70 uint8_t shifterIndex[2]; /*!< Shifter index used in FlexIO I2C. */ member
350 base->flexioBase->SHIFTBUFBBS[base->shifterIndex[0]] = data; in FLEXIO_I2C_MasterWriteByte()
364 return (uint8_t)(base->flexioBase->SHIFTBUFBIS[base->shifterIndex[1]]); in FLEXIO_I2C_MasterReadByte()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexio/spi/
Dfsl_flexio_spi.c276 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[0], &shifterConfig); in FLEXIO_SPI_MasterInit()
296 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[1], &shifterConfig); in FLEXIO_SPI_MasterInit()
299 timerConfig.triggerSelect = FLEXIO_TIMER_TRIGGER_SEL_SHIFTnSTAT(base->shifterIndex[0]); in FLEXIO_SPI_MasterInit()
352 base->flexioBase->SHIFTCFG[base->shifterIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
353 base->flexioBase->SHIFTCTL[base->shifterIndex[0]] = 0; in FLEXIO_SPI_MasterDeinit()
354 base->flexioBase->SHIFTCFG[base->shifterIndex[1]] = 0; in FLEXIO_SPI_MasterDeinit()
355 base->flexioBase->SHIFTCTL[base->shifterIndex[1]] = 0; in FLEXIO_SPI_MasterDeinit()
479 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[0], &shifterConfig); in FLEXIO_SPI_SlaveInit()
499 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[1], &shifterConfig); in FLEXIO_SPI_SlaveInit()
581 FLEXIO_EnableShifterStatusInterrupts(base->flexioBase, 1UL << base->shifterIndex[0]); in FLEXIO_SPI_EnableInterrupts()
[all …]
Dfsl_flexio_spi.h121 uint8_t shifterIndex[2]; /*!< Shifter index used in FlexIO SPI. */ member
419 base->shifterIndex[0]) + in FLEXIO_SPI_GetTxDataRegisterAddress()
424 …urn FLEXIO_GetShifterBufferAddress(base->flexioBase, kFLEXIO_ShifterBuffer, base->shifterIndex[0]); in FLEXIO_SPI_GetTxDataRegisterAddress()
442 …_GetShifterBufferAddress(base->flexioBase, kFLEXIO_ShifterBufferBitSwapped, base->shifterIndex[1]); in FLEXIO_SPI_GetRxDataRegisterAddress()
446 …LEXIO_GetShifterBufferAddress(base->flexioBase, kFLEXIO_ShifterBuffer, base->shifterIndex[1]) + 3U; in FLEXIO_SPI_GetRxDataRegisterAddress()
495 base->flexioBase->SHIFTBUFBBS[base->shifterIndex[0]] = data; in FLEXIO_SPI_WriteData()
499 base->flexioBase->SHIFTBUF[base->shifterIndex[0]] = data; in FLEXIO_SPI_WriteData()
517 return (uint32_t)(base->flexioBase->SHIFTBUFBIS[base->shifterIndex[1]]); in FLEXIO_SPI_ReadData()
521 return (uint32_t)(base->flexioBase->SHIFTBUFBYS[base->shifterIndex[1]]); in FLEXIO_SPI_ReadData()
Dfsl_flexio_spi_dma.c499 if ((base->flexioBase->SHIFTCTL[base->shifterIndex[0]] & FLEXIO_SHIFTCTL_TIMPOL_MASK) == in FLEXIO_SPI_SlaveTransferDMA()
Dfsl_flexio_spi_edma.c523 if ((base->flexioBase->SHIFTCTL[base->shifterIndex[0]] & FLEXIO_SHIFTCTL_TIMPOL_MASK) == in FLEXIO_SPI_SlaveTransferEDMA()