SAMV71 Xplained Ultra Software Package 1.5

ili9488_spi.c File Reference

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

Go to the source code of this file.

Defines

#define ILI9488_SPI   SPI0

Functions

uint32_t ILI9488_SpiReadChipId (void)
void ILI9488_SpiSetPixelFormat (uint8_t format)
 Set ILI9488 Pixel Format in SPI/SMC mode.
uint32_t ILI9488_SpiInitialize (sXdmad *dmad)
 Initialize the ILI9488 controller in SPI/SMC mode.
void ILI9488_SpiSetCursor (uint16_t x, uint16_t y)
 ILI9488 configure cursor in SPI/SMC mode. x X position. y Y position.
void ILI9488_SpiSetWindow (uint16_t dwX, uint16_t dwY, uint16_t dwWidth, uint16_t dwHeight)
 ILI9488 configure window. dwX X start position. dwX Y start position. dwWidth Width of window. dwHeight Height of window.
void ILI9488_SpiSetFullWindow (void)
 ILI9488 configure window with full size.
void ILI9488_SpiOn (void)
 Turn on the ILI9488.
void ILI9488_SpiOff (void)
 Turn off the ILI9488.
void ILI9488_SpiSetDisplayLandscape (uint8_t dwRGB, uint8_t LandscapeMode)
 ILI9488 configure landscape. dwRGB RGB mode. LandscaprMode Landscape Mode.
void ILI9488_SetPixelColor (uint32_t x, uint32_t y, uint32_t color)
 Draw a pixel on LCD with given color, DMA not used.

Detailed Description

Implementation of ILI9488 driver.

Definition in file ili9488_spi.c.


Function Documentation

void ILI9488_SetPixelColor ( uint32_t  x,
uint32_t  y,
uint32_t  color 
)

Draw a pixel on LCD with given color, DMA not used.

Parameters:
x X-coordinate of pixel.
y Y-coordinate of pixel.
color Pixel color.

Definition at line 341 of file ili9488_spi.c.

Here is the call graph for this function:

void ILI9488_SpiSetPixelFormat ( uint8_t  format  ) 

Set ILI9488 Pixel Format in SPI/SMC mode.

Parameters:
format Format of pixel

Definition at line 131 of file ili9488_spi.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines