SAMV71 Xplained Ultra Software Package 1.4

lcdd.c File Reference

#include "board.h"
#include <stdint.h>

Go to the source code of this file.

Functions

void LCDD_On (void)
 Turn on the LCD.
void LCDD_Off (void)
 Turn off the LCD.
void LCDD_Initialize (uint8_t lcdMode, sXdmad *dmad, uint8_t cRotate)
 Set the back-light of the LCD.

Variables

uint8_t ili9488_lcdMode

Detailed Description

Implementation of LCD driver, Include LCD initialization, LCD on/off and LCD back-light control.

Definition in file lcdd.c.


Function Documentation

void LCDD_Initialize ( uint8_t  lcdMode,
sXdmad dmad,
uint8_t  cRotate 
)

Set the back-light of the LCD.

Parameters:
level Back-light brightness level [1..16], 1 means maximum brightness. Initializes the LCD controller. Configure SMC to access LCD controller at 64MHz MCK.
lcdMode LCD_SPI or LCD_EBI mode
cRotate rotate direction 0: H 1:V

Definition at line 98 of file lcdd.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines