Function gx_hal_spi_set_dma

  • Defined in file__output_copyinclude_src_include_spi_gx_hal_spi.h

Function Documentation

void gx_hal_spi_set_dma(GX_HAL_DW_SPI *dws, unsigned char opt, GX_HAL_DW_SPI_DMA_BURST_MSIZE_T msize)

使能flash SPI DMA 该函数使能flash SPI DMA传输

参数
  • dws – spi句柄

  • opt – 控制FLASH SPI DMA 0x00 关闭DMA 0x01 使能接收DMA 0x02 使能发送DMA others 关闭DMA

  • msize – 传输burst值