Lib for FTDI FT800 graphic controller "EVE" The API is changed from the FTDI original names. It use smaller names now. DL() will add something to the display list instead of Ft_App_WrCoCmd_Buffer ... The FTDI programmer Guide is also using this commands.
Dependents: FT800_RGB_demo FT800_RGB_demo2 FT800_demo_for_habr Temp_&_RH_at_TFT-demo ... more
Fork of FT800 by
FT_Hal_Utils.h
00001 /* mbed Library for FTDI FT800 Enbedded Video Engine "EVE" 00002 * based on Original Code Sample from FTDI 00003 * ported to mbed by Peter Drescher, DC2PD 2014 00004 * Released under the MIT License: http://mbed.org/license/mit */ 00005 00006 #ifndef _FT_HAL_UTILS_H_ 00007 #define _FT_HAL_UTILS_H_ 00008 00009 00010 #define RGB(r, g, b) ((((vc_int32_t)(r)) << 16) | (((vc_int32_t)(g)) << 8) | (b)) 00011 #define SQ(v) ((v) * (v)) 00012 #define MIN(x,y) ((x) > (y) ? (y) : (x)) 00013 #define MAX(x,y) ((x) > (y) ? (x) : (y)) 00014 #define PLAYCOLOR 0x00A0A080 00015 #define NOTE(n, sharp) (((n) - 'C') + ((sharp) * 128)) 00016 #define F16(s) ((vc_int32_t)((s) * 65536)) 00017 #define INVALID_TOUCH_XY 0x8000 00018 #define ABS(x) ((x) > (0) ? (x) : (-x)) 00019 00020 #endif /* _FT_HAL_UTILS_H_ */ 00021 00022 00023 00024
Generated on Tue Jul 12 2022 19:49:40 by 1.7.2