SAMV71 Xplained Ultra Software Package 1.4

ili9488_spi_dma.c File Reference

#include "board.h"
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Functions

uint8_t ILI9488_SpiInitializeWithDma (sXdmad *dmad)
 Initialize ILI9488 driver with DMA support.
uint8_t ILI9488_SpiDmaTxTransfer (uint8_t *pTxBuffer, uint32_t wTxSize)
 Start ILI9488 DMA transfer .
uint8_t ILI9488_SpiDmaRxTransfer (uint32_t *pRxBuffer, uint32_t wRxSize)
 Start ILI9488 DMA Rx transfer .
uint8_t ILI9488_SpiSendCommand (uint8_t Instr, uint8_t *pTxData, uint32_t *pRxData, AccessIli_t ReadWrite, uint32_t size)
 Start ILI9488 DMA Rx transfer .

Detailed Description

Implementation of ILI9488 SPI DMA driver.

Definition in file ili9488_spi_dma.c.


Function Documentation

uint8_t ILI9488_SpiDmaRxTransfer ( uint32_t *  pRxBuffer,
uint32_t  wRxSize 
)

Start ILI9488 DMA Rx transfer .

Parameters:
pRxBuffer point to Rx buffer address
wRxSize Rx buffer size in byte
Returns:
0 if the xDMA transfer successfully; otherwise returns ILI9488_DMA_ERROR_XXX.

Definition at line 312 of file ili9488_spi_dma.c.

Here is the call graph for this function:

uint8_t ILI9488_SpiDmaTxTransfer ( uint8_t *  pTxBuffer,
uint32_t  wTxSize 
)

Start ILI9488 DMA transfer .

Parameters:
pTxBuffer point to Tx buffer address
wTxSize Tx buffer size in byte
Returns:
0 if the xDMA configuration successfully; otherwise returns ILI9488_DMA_ERROR_XXX.

Definition at line 292 of file ili9488_spi_dma.c.

Here is the call graph for this function:

uint8_t ILI9488_SpiInitializeWithDma ( sXdmad dmad  ) 

Initialize ILI9488 driver with DMA support.

Returns:
0 if the xDMA configuration successfully; otherwise returns ILI9488_DMA_ERROR_XXX.

Definition at line 277 of file ili9488_spi_dma.c.

uint8_t ILI9488_SpiSendCommand ( uint8_t  Instr,
uint8_t *  pTxData,
uint32_t *  pRxData,
AccessIli_t  ReadWrite,
uint32_t  size 
)

Start ILI9488 DMA Rx transfer .

Parameters:
Instr Instruct
pTxData point to Tx buffer address
pRxData point to Rx buffer address
ReadWrite Command/Write/Read access
Size buffer size in byte
Returns:
0

Definition at line 334 of file ili9488_spi_dma.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines