image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
Platform.h File Reference

This file contains platform settings. More...

#include <stdio.h>
#include <Arduino.h>
#include <EEPROM.h>
#include <SPI.h>
#include <avr/pgmspace.h>
#include <stdint.h>
#include "Gpu_Hal.h"
#include "Gpu.h"
#include "CoPro_Cmds.h"
#include "Hal_Utils.h"

Go to the source code of this file.

Macros

#define ARDUINO_PLATFORM
 
#define VM800P43_50
 
#define DISPLAY_RESOLUTION_WQVGA   (1)
 
#define FT800_ENABLE   (1)
 
#define ENABLE_SPI_SINGLE   (1)
 
#define ARDUINO_ATMEGA328P_I2C   (1)
 
#define RTC_PRESENT   (1)
 
#define FT800_CS   (9)
 
#define SDCARD_CS   (8)
 
#define FT800_INT   (3)
 
#define FT800_PD_N   (4)
 
#define ARDUINO_PRO_SPI_CS   FT800_CS
 
#define ARDUINO_PLATFORM_SPI   (1)
 
#define ARDUINO_PLATFORM_COCMD_BURST   (1)
 
#define RESISTANCE_THRESHOLD   (1800)
 
#define FT80X_ENABLE   (1)
 
#define LOADIMAGE   1
 
#define INFLATE   2
 
#define LOAD   3
 
#define TRUE   (1)
 
#define FALSE   (0)
 
#define FT800_SEL_PIN   FT800_CS
 

Typedefs

typedef float float_t
 
typedef boolean bool_t
 
typedef char char8_t
 
typedef unsigned char uchar8_t
 
typedef signed char schar8_t
 
typedef PROGMEM const unsigned char prog_uchar8_t
 
typedef PROGMEM const char prog_char8_t
 
typedef PROGMEM const uint8_t prog_uint8_t
 
typedef PROGMEM const int8_t prog_int8_t
 
typedef PROGMEM const uint16_t prog_uint16_t
 
typedef PROGMEM const int16_t prog_int16_t
 
typedef PROGMEM const uint32_t prog_uint32_t
 
typedef PROGMEM const int32_t prog_int32_t
 

Detailed Description

This file contains platform settings.

Author
Bridgetek
Date
2018

MIT License

Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition in file Platform.h.

Macro Definition Documentation

◆ ARDUINO_ATMEGA328P_I2C

#define ARDUINO_ATMEGA328P_I2C   (1)

Definition at line 50 of file Platform.h.

◆ ARDUINO_PLATFORM

#define ARDUINO_PLATFORM

Definition at line 35 of file Platform.h.

◆ ARDUINO_PLATFORM_COCMD_BURST

#define ARDUINO_PLATFORM_COCMD_BURST   (1)

Definition at line 58 of file Platform.h.

◆ ARDUINO_PLATFORM_SPI

#define ARDUINO_PLATFORM_SPI   (1)

Definition at line 57 of file Platform.h.

◆ ARDUINO_PRO_SPI_CS

#define ARDUINO_PRO_SPI_CS   FT800_CS

Definition at line 56 of file Platform.h.

◆ DISPLAY_RESOLUTION_WQVGA

#define DISPLAY_RESOLUTION_WQVGA   (1)

Definition at line 47 of file Platform.h.

◆ ENABLE_SPI_SINGLE

#define ENABLE_SPI_SINGLE   (1)

Definition at line 49 of file Platform.h.

◆ FALSE

#define FALSE   (0)

Definition at line 198 of file Platform.h.

◆ FT800_CS

#define FT800_CS   (9)

Definition at line 52 of file Platform.h.

◆ FT800_ENABLE

#define FT800_ENABLE   (1)

Definition at line 48 of file Platform.h.

◆ FT800_INT

#define FT800_INT   (3)

Definition at line 54 of file Platform.h.

◆ FT800_PD_N

#define FT800_PD_N   (4)

Definition at line 55 of file Platform.h.

◆ FT800_SEL_PIN

#define FT800_SEL_PIN   FT800_CS

Definition at line 218 of file Platform.h.

◆ FT80X_ENABLE

#define FT80X_ENABLE   (1)

Definition at line 174 of file Platform.h.

◆ INFLATE

#define INFLATE   2

Definition at line 183 of file Platform.h.

◆ LOAD

#define LOAD   3

Definition at line 184 of file Platform.h.

◆ LOADIMAGE

#define LOADIMAGE   1

Definition at line 182 of file Platform.h.

◆ RESISTANCE_THRESHOLD

#define RESISTANCE_THRESHOLD   (1800)

Definition at line 59 of file Platform.h.

◆ RTC_PRESENT

#define RTC_PRESENT   (1)

Definition at line 51 of file Platform.h.

◆ SDCARD_CS

#define SDCARD_CS   (8)

Definition at line 53 of file Platform.h.

◆ TRUE

#define TRUE   (1)

Definition at line 197 of file Platform.h.

◆ VM800P43_50

#define VM800P43_50

Definition at line 38 of file Platform.h.

Typedef Documentation

◆ bool_t

typedef boolean bool_t

Definition at line 196 of file Platform.h.

◆ char8_t

typedef char char8_t

Definition at line 200 of file Platform.h.

◆ float_t

typedef float float_t

Definition at line 194 of file Platform.h.

◆ prog_char8_t

typedef PROGMEM const char prog_char8_t

Definition at line 205 of file Platform.h.

◆ prog_int16_t

typedef PROGMEM const int16_t prog_int16_t

Definition at line 209 of file Platform.h.

◆ prog_int32_t

typedef PROGMEM const int32_t prog_int32_t

Definition at line 211 of file Platform.h.

◆ prog_int8_t

typedef PROGMEM const int8_t prog_int8_t

Definition at line 207 of file Platform.h.

◆ prog_uchar8_t

typedef PROGMEM const unsigned char prog_uchar8_t

Definition at line 204 of file Platform.h.

◆ prog_uint16_t

Definition at line 208 of file Platform.h.

◆ prog_uint32_t

Definition at line 210 of file Platform.h.

◆ prog_uint8_t

typedef PROGMEM const uint8_t prog_uint8_t

Definition at line 206 of file Platform.h.

◆ schar8_t

typedef signed char schar8_t

Definition at line 202 of file Platform.h.

◆ uchar8_t

typedef unsigned char uchar8_t

Definition at line 201 of file Platform.h.