SAMV71 Xplained Ultra Software Package 1.3

main.c File Reference

#include "board.h"
#include "image.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Defines

#define COLOR_CONVERT   RGB_24_TO_RGB565
#define LCD_MODE   ILI9488_EBIMODE

Functions

void XDMAC_Handler (void)
 xDMA interrupt handler.
int main (void)
 LCD Application entry point.

Variables

const uint32_t gImageBuffer [DEMO_IMAGE_HEIGHT *DEMO_IMAGE_WIDTH] = DEMO_IMAGE
rect canvas_region [4]
uint32_t gColorArray []

Detailed Description

This file contains all the specific code for the xplained LCD example.

Definition in file main.c.


Function Documentation

int main ( void   ) 

LCD Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 350 of file main.c.

Here is the call graph for this function:


Variable Documentation

uint32_t gColorArray[]
Initial value:
{
    0x000000, 0xFFFFFF, 0x0000FF, 0xFF0000,
    0x000080, 0x00008B, 0x006400, 0x008B8B,
    0x00FFFF, 0x40E0D0, 0x4B0082, 0x800000,
    0x808000, 0x808080, 0x87CEEB, 0x8A2BE2,
    0x90EE90, 0x9400D3, 0x9ACD32, 0xA52A2A,
    0xA9A9A9, 0xA0522D, 0xADD8E6, 0xADFF2F,
    0xC0C0C0, 0xD3D3D3, 0xE0FFFF, 0xEE82EE,
    0xF0FFFF, 0xF5F5DC, 0xFF00FF, 0xFF6347,
}

Definition at line 133 of file main.c.

const uint32_t gImageBuffer[DEMO_IMAGE_HEIGHT *DEMO_IMAGE_WIDTH] = DEMO_IMAGE

Image buffer (16-bits color).

Definition at line 104 of file main.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines