Library for FT810 EVE chip
Fork of FT810 by
inc/FT_Platform.h@11:435747a1f2ae, 2017-09-16 (annotated)
- Committer:
- mozillain
- Date:
- Sat Sep 16 23:40:11 2017 +0000
- Revision:
- 11:435747a1f2ae
- Parent:
- 10:4c10e6aeb239
test2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cpm219 | 0:2d0ef4830603 | 1 | #ifndef _FT_PLATFORM_H_ |
cpm219 | 0:2d0ef4830603 | 2 | #define _FT_PLATFORM_H_ |
mozillain | 11:435747a1f2ae | 3 | |
mozillain | 11:435747a1f2ae | 4 | //#define ARDUINO_PLATFORM |
mozillain | 11:435747a1f2ae | 5 | |
mozillain | 11:435747a1f2ae | 6 | /* Module specific configurations */ |
mozillain | 11:435747a1f2ae | 7 | #define VM800P43_50 |
mozillain | 11:435747a1f2ae | 8 | |
mozillain | 11:435747a1f2ae | 9 | #ifdef VM800P43_50 |
mozillain | 11:435747a1f2ae | 10 | |
mozillain | 11:435747a1f2ae | 11 | #define DISPLAY_RESOLUTION_WVGA (1) |
mozillain | 11:435747a1f2ae | 12 | #define FT_811_ENABLE (1) |
mozillain | 11:435747a1f2ae | 13 | #define ENABLE_SPI_SINGLE (1) |
mozillain | 11:435747a1f2ae | 14 | #define FT_ARDUINO_ATMEGA328P_I2C (1) |
mozillain | 11:435747a1f2ae | 15 | #define RTC_PRESENT (1) |
mozillain | 11:435747a1f2ae | 16 | #define FT800_CS (9) |
mozillain | 11:435747a1f2ae | 17 | #define FT_SDCARD_CS (8) |
mozillain | 11:435747a1f2ae | 18 | #define FT800_INT (3) |
mozillain | 11:435747a1f2ae | 19 | #define FT800_PD_N (4) |
mozillain | 11:435747a1f2ae | 20 | #define FT_ARDUINO_PRO_SPI_CS FT800_CS |
mozillain | 11:435747a1f2ae | 21 | #define ARDUINO_PLATFORM_SPI |
mozillain | 11:435747a1f2ae | 22 | #define ARDUINO_PLATFORM_COCMD_BURST |
mozillain | 11:435747a1f2ae | 23 | #define RESISTANCE_THRESHOLD (1200) |
mozillain | 11:435747a1f2ae | 24 | #endif |
mozillain | 11:435747a1f2ae | 25 | |
mozillain | 11:435747a1f2ae | 26 | #if (defined(FT_810_ENABLE) || defined(FT_811_ENABLE) || defined(FT_812_ENABLE) || defined(FT_813_ENABLE)) |
mozillain | 11:435747a1f2ae | 27 | #define FT_81X_ENABLE (1) |
mozillain | 11:435747a1f2ae | 28 | #endif |
mozillain | 11:435747a1f2ae | 29 | |
mozillain | 11:435747a1f2ae | 30 | |
mozillain | 10:4c10e6aeb239 | 31 | /* HAL inclusions */ |
cpm219 | 0:2d0ef4830603 | 32 | #include "FT_DataTypes.h" |
cpm219 | 0:2d0ef4830603 | 33 | #include "FT_Gpu_Hal.h" |
mozillain | 10:4c10e6aeb239 | 34 | #include "FT_Gpu.h" |
cpm219 | 0:2d0ef4830603 | 35 | #include "FT_Hal_Utils.h" |
cpm219 | 0:2d0ef4830603 | 36 | #include "FT_LCD_Type.h" |
cpm219 | 0:2d0ef4830603 | 37 | #include "FT_color.h" |
cpm219 | 0:2d0ef4830603 | 38 | |
mozillain | 11:435747a1f2ae | 39 | |
cpm219 | 0:2d0ef4830603 | 40 | #endif /*_FT_PLATFORM_H_*/ |
mozillain | 11:435747a1f2ae | 41 | /* Nothing beyond this*/ |
mozillain | 11:435747a1f2ae | 42 | |
mozillain | 11:435747a1f2ae | 43 | |
mozillain | 11:435747a1f2ae | 44 | |
mozillain | 11:435747a1f2ae | 45 |