Home
last modified time | relevance | path

Searched refs:ARM_SPI_DATA_BITS_Pos (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/Driver/Include/
DDriver_SPI.h90 #define ARM_SPI_DATA_BITS_Pos 12 macro
91 #define ARM_SPI_DATA_BITS_Msk (0x3FUL << ARM_SPI_DATA_BITS_Pos)
92 #define ARM_SPI_DATA_BITS(n) (((n) & 0x3FUL) << ARM_SPI_DATA_BITS_Pos) ///< Number of Da…
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/dspi/
Dfsl_dspi_cmsis.c221 if ((((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) >= 4U) && in DSPI_CommonControl()
222 (((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) <= 16U)) in DSPI_CommonControl()
226 …asterConfig.ctarConfig.bitsPerFrame = ((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos); in DSPI_CommonControl()
230 …slaveConfig.ctarConfig.bitsPerFrame = ((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos); in DSPI_CommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/flexcomm/
Dfsl_spi_cmsis.c280 if ((((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) >= 4U) && in SPI_MasterCommonControl()
281 (((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) <= 16U)) in SPI_MasterCommonControl()
284 … (spi_data_width_t)(((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) - 1U); in SPI_MasterCommonControl()
426 if ((((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) >= 4U) && in SPI_SlaveCommonControl()
427 (((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) <= 16U)) in SPI_SlaveCommonControl()
430 … (spi_data_width_t)(((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) - 1U); in SPI_SlaveCommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/ecspi/
Dfsl_ecspi_cmsis.c180 … masterConfig->burstLength = (uint8_t)((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos); in ECSPI_MasterCommonControl()
251 …fig->burstLength = (uint8_t)((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos); in ECSPI_SlaveCommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/lpspi/
Dfsl_lpspi_cmsis.c254 if ((((control & (uint32_t)ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) >= 8UL)) in LPSPI_CommonControl()
258 … masterConfig.bitsPerFrame = ((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos); in LPSPI_CommonControl()
262 … slaveConfig.bitsPerFrame = ((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos); in LPSPI_CommonControl()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c205 if (((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) == 8U) in SPI_CommonControl()
216 else if (((control & ARM_SPI_DATA_BITS_Msk) >> ARM_SPI_DATA_BITS_Pos) == 16U) in SPI_CommonControl()