SAM3S8/SD8 Software Package: libraries/sam-gui/source/disp/backends/HX8347/backend_HX8347.c File Reference

SAM3S8/SD8 Software Package 1.2
Defines | Typedefs | Functions | Variables

# backend_HX8347.c File Reference

`#include "board.h"`
`#include "libsam_gui.h"`
`#include <stdio.h>`

Go to the source code of this file.

## Defines

#define | HX8347_IR(baseAddr) (*((REG16 *)(baseAddr)))
#define | HX8347_SR(baseAddr) (*((REG16 *)(baseAddr)))
#define | HX8347_D(baseAddr) (*((REG16 *)((unsigned int)(baseAddr) + BOARD_LCD_RS)))
#define | HX8347_HIMAXID_CODE 0x47
#define | HX8347_R00H 0x00
#define | HX8347_R01H 0x01
#define | HX8347_R02H 0x02
#define | HX8347_R03H 0x03
#define | HX8347_R04H 0x04
#define | HX8347_R05H 0x05
#define | HX8347_R06H 0x06
#define | HX8347_R07H 0x07
#define | HX8347_R08H 0x08
#define | HX8347_R09H 0x09
#define | HX8347_R0AH 0x0A
#define | HX8347_R0CH 0x0C
#define | HX8347_R0DH 0x0D
#define | HX8347_R0EH 0x0E
#define | HX8347_R0FH 0x0F
#define | HX8347_R10H 0x10
#define | HX8347_R11H 0x11
#define | HX8347_R12H 0x12
#define | HX8347_R13H 0x13
#define | HX8347_R14H 0x14
#define | HX8347_R15H 0x15
#define | HX8347_R16H 0x16
#define | HX8347_R18H 0x18
#define | HX8347_R19H 0x19
#define | HX8347_R1AH 0x1A
#define | HX8347_R1BH 0x1B
#define | HX8347_R1CH 0x1C
#define | HX8347_R1DH 0x1D
#define | HX8347_R1EH 0x1E
#define | HX8347_R1FH 0x1F
#define | HX8347_R20H 0x20
#define | HX8347_R21H 0x21
#define | HX8347_R22H 0x22
#define | HX8347_R23H 0x23
#define | HX8347_R24H 0x24
#define | HX8347_R25H 0x25
#define | HX8347_R26H 0x26
#define | HX8347_R27H 0x27
#define | HX8347_R28H 0x28
#define | HX8347_R29H 0x29
#define | HX8347_R2AH 0x2A
#define | HX8347_R2BH 0x2B
#define | HX8347_R2CH 0x2C
#define | HX8347_R2DH 0x2D
#define | HX8347_R35H 0x35
#define | HX8347_R36H 0x36
#define | HX8347_R37H 0x37
#define | HX8347_R38H 0x38
#define | HX8347_R39H 0x39
#define | HX8347_R3AH 0x3A
#define | HX8347_R3BH 0x3B
#define | HX8347_R3CH 0x3C
#define | HX8347_R3DH 0x3D
#define | HX8347_R3EH 0x3E
#define | HX8347_R40H 0x40
#define | HX8347_R41H 0x41
#define | HX8347_R42H 0x42
#define | HX8347_R43H 0x43
#define | HX8347_R44H 0x44
#define | HX8347_R45H 0x45
#define | HX8347_R46H 0x46
#define | HX8347_R47H 0x47
#define | HX8347_R48H 0x48
#define | HX8347_R49H 0x49
#define | HX8347_R4AH 0x4A
#define | HX8347_R4BH 0x4B
#define | HX8347_R4CH 0x4C
#define | HX8347_R4DH 0x4D
#define | HX8347_R4EH 0x4E
#define | HX8347_R4FH 0x4F
#define | HX8347_R50H 0x50
#define | HX8347_R51H 0x51
#define | HX8347_R64H 0x64
#define | HX8347_R65H 0x65
#define | HX8347_R66H 0x66
#define | HX8347_R67H 0x67
#define | HX8347_R70H 0x70
#define | HX8347_R72H 0x72
#define | HX8347_R90H 0x90
#define | HX8347_R91H 0x91
#define | HX8347_R93H 0x93
#define | HX8347_R94H 0x94
#define | HX8347_R95H 0x95
#define | Delay(ms) DelayMS(ms)

## Typedefs

typedef volatile unsigned short | REG16

## Functions

void | DelayMS (unsigned int ms)

## Variables

SDISPBackend | sDISP_Backend_HX8347

## Detailed Description

## Purpose

HX8347 driver

## Usage

Explanation on the usage of the code made available through the header file.

Definition in file backend_HX8347.c.

## Define Documentation

#define HX8347_D | ( |  | baseAddr ) | (*((REG16 *)((unsigned int)(baseAddr) + BOARD_LCD_RS)))

LCD data address

Definition at line 62 of file backend_HX8347.c.

#define HX8347_HIMAXID_CODE 0x47

HX8347 ID code

Definition at line 65 of file backend_HX8347.c.

#define HX8347_IR | ( |  | baseAddr ) | (*((REG16 *)(baseAddr)))

LCD index register address

Definition at line 58 of file backend_HX8347.c.

#define HX8347_R00H 0x00

HX8347 LCD Registers

Definition at line 68 of file backend_HX8347.c.

#define HX8347_SR | ( |  | baseAddr ) | (*((REG16 *)(baseAddr)))

LCD status register address

Definition at line 60 of file backend_HX8347.c.

## Variable Documentation

SDISPBackend sDISP_Backend_HX8347

Initial value:

    {
        .sData={ 0 },

    }

Definition at line 395 of file backend_HX8347.c.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines