Home
last modified time | relevance | path

Searched refs:byteWidth (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/lpc_dma/
Dfsl_dma.c237 assert(xfercfg->byteWidth <= (uint8_t)kDMA_Transfer32BitWidth); in DMA_SetupXferCFG()
256 xfer |= DMA_CHANNEL_XFERCFG_WIDTH(xfercfg->byteWidth == 4U ? 2U : xfercfg->byteWidth - 1UL); in DMA_SetupXferCFG()
457 assert((NULL != srcAddr) && (0UL == ((uint32_t)(uint32_t *)srcAddr) % xfercfg->byteWidth)); in DMA_CreateDescriptor()
458 assert((NULL != dstAddr) && (0UL == ((uint32_t)(uint32_t *)dstAddr) % xfercfg->byteWidth)); in DMA_CreateDescriptor()
558 uint32_t byteWidth, in DMA_PrepareTransfer() argument
565 assert((byteWidth == 1UL) || (byteWidth == 2UL) || (byteWidth == 4UL)); in DMA_PrepareTransfer()
569 xfer_count = transferBytes / byteWidth; in DMA_PrepareTransfer()
570 assert((xfer_count <= DMA_MAX_TRANSFER_COUNT) && (0UL == transferBytes % byteWidth)); in DMA_PrepareTransfer()
607 config->xfercfg.byteWidth = (uint8_t)byteWidth; in DMA_PrepareTransfer()
Dfsl_dma.h146 uint8_t byteWidth; /*!< Byte width of data to transfer */ member
702 uint32_t byteWidth,
/hal_nxp-latest/mcux/mcux-sdk/drivers/flexcomm/spi/
Dfsl_spi_dma.c344 tmp_xfercfg.byteWidth = 4U; in SPI_MasterTransferDMA()
378 tmp_xfercfg.byteWidth = (uint8_t)sizeof(uint32_t); in SPI_MasterTransferDMA()