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 |
This file contains platform settings.
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.
#define ARDUINO_ATMEGA328P_I2C (1) |
Definition at line 50 of file Platform.h.
#define ARDUINO_PLATFORM |
Definition at line 35 of file Platform.h.
#define ARDUINO_PLATFORM_COCMD_BURST (1) |
Definition at line 58 of file Platform.h.
#define ARDUINO_PLATFORM_SPI (1) |
Definition at line 57 of file Platform.h.
#define ARDUINO_PRO_SPI_CS FT800_CS |
Definition at line 56 of file Platform.h.
#define DISPLAY_RESOLUTION_WQVGA (1) |
Definition at line 47 of file Platform.h.
#define ENABLE_SPI_SINGLE (1) |
Definition at line 49 of file Platform.h.
#define FALSE (0) |
Definition at line 198 of file Platform.h.
#define FT800_CS (9) |
Definition at line 52 of file Platform.h.
#define FT800_ENABLE (1) |
Definition at line 48 of file Platform.h.
#define FT800_INT (3) |
Definition at line 54 of file Platform.h.
#define FT800_PD_N (4) |
Definition at line 55 of file Platform.h.
#define FT800_SEL_PIN FT800_CS |
Definition at line 218 of file Platform.h.
#define FT80X_ENABLE (1) |
Definition at line 174 of file Platform.h.
#define INFLATE 2 |
Definition at line 183 of file Platform.h.
#define LOAD 3 |
Definition at line 184 of file Platform.h.
#define LOADIMAGE 1 |
Definition at line 182 of file Platform.h.
#define RESISTANCE_THRESHOLD (1800) |
Definition at line 59 of file Platform.h.
#define RTC_PRESENT (1) |
Definition at line 51 of file Platform.h.
#define SDCARD_CS (8) |
Definition at line 53 of file Platform.h.
#define TRUE (1) |
Definition at line 197 of file Platform.h.
#define VM800P43_50 |
Definition at line 38 of file Platform.h.
typedef boolean bool_t |
Definition at line 196 of file Platform.h.
typedef char char8_t |
Definition at line 200 of file Platform.h.
typedef float float_t |
Definition at line 194 of file Platform.h.
typedef PROGMEM const char prog_char8_t |
Definition at line 205 of file Platform.h.
typedef PROGMEM const int16_t prog_int16_t |
Definition at line 209 of file Platform.h.
typedef PROGMEM const int32_t prog_int32_t |
Definition at line 211 of file Platform.h.
typedef PROGMEM const int8_t prog_int8_t |
Definition at line 207 of file Platform.h.
typedef PROGMEM const unsigned char prog_uchar8_t |
Definition at line 204 of file Platform.h.
typedef PROGMEM const uint16_t prog_uint16_t |
Definition at line 208 of file Platform.h.
typedef PROGMEM const uint32_t prog_uint32_t |
Definition at line 210 of file Platform.h.
typedef PROGMEM const uint8_t prog_uint8_t |
Definition at line 206 of file Platform.h.
typedef signed char schar8_t |
Definition at line 202 of file Platform.h.
typedef unsigned char uchar8_t |
Definition at line 201 of file Platform.h.