|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
FT8XX coprocessor functions. More...
Go to the source code of this file.
Macros | |
| #define | FT8XX_OPT_3D 0 |
| Co-processor widget is drawn in 3D effect. | |
| #define | FT8XX_OPT_RGB565 0 |
| Co-processor option to decode the JPEG image to RGB565 format. | |
| #define | FT8XX_OPT_MONO 1 |
| Co-processor option to decode the JPEG image to L8 format, i.e., monochrome. | |
| #define | FT8XX_OPT_NODL 2 |
| No display list commands generated for bitmap decoded from JPEG image. | |
| #define | FT8XX_OPT_FLAT 256 |
| Co-processor widget is drawn without 3D effect. | |
| #define | FT8XX_OPT_SIGNED 256 |
| The number is treated as 32 bit signed integer. | |
| #define | FT8XX_OPT_CENTERX 512 |
| Co-processor widget centers horizontally. | |
| #define | FT8XX_OPT_CENTERY 1024 |
| Co-processor widget centers vertically. | |
| #define | FT8XX_OPT_CENTER 1536 |
| Co-processor widget centers horizontally and vertically. | |
| #define | FT8XX_OPT_RIGHTX 2048 |
| The label on the Coprocessor widget is right justified. | |
| #define | FT8XX_OPT_NOBACK 4096 |
| Co-processor widget has no background drawn. | |
| #define | FT8XX_OPT_NOTICKS 8192 |
| Co-processor clock widget is drawn without hour ticks. | |
| #define | FT8XX_OPT_NOHM 16384 |
| Co-processor clock widget is drawn without hour and minutes hands, only seconds hand is drawn. | |
| #define | FT8XX_OPT_NOPOINTER 16384 |
| The Co-processor gauge has no pointer. | |
| #define | FT8XX_OPT_NOSECS 32768 |
| Co-processor clock widget is drawn without seconds hand. | |
| #define | FT8XX_OPT_NOHANDS 49152 |
| Co-processor clock widget is drawn without hour, minutes and seconds hands. | |
Functions | |
| void | ft8xx_copro_cmd (const struct device *dev, uint32_t cmd) |
| Execute a display list command by co-processor engine. | |
| void | ft8xx_copro_cmd_dlstart (const struct device *dev) |
| Start a new display list. | |
| void | ft8xx_copro_cmd_swap (const struct device *dev) |
| Swap the current display list. | |
| void | ft8xx_copro_cmd_text (const struct device *dev, int16_t x, int16_t y, int16_t font, uint16_t options, const char *string) |
| Draw text. | |
| void | ft8xx_copro_cmd_number (const struct device *dev, int16_t x, int16_t y, int16_t font, uint16_t options, int32_t number) |
| Draw a decimal number. | |
| void | ft8xx_copro_cmd_calibrate (const struct device *dev, uint32_t *result) |
| Execute the touch screen calibration routine. | |
FT8XX coprocessor functions.