Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ft8xx_copro.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Hubert Miś
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COPRO_H_
13#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COPRO_H_
14
15#include <stdint.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
29#define FT8XX_OPT_3D 0
31#define FT8XX_OPT_RGB565 0
33#define FT8XX_OPT_MONO 1
35#define FT8XX_OPT_NODL 2
37#define FT8XX_OPT_FLAT 256
39#define FT8XX_OPT_SIGNED 256
41#define FT8XX_OPT_CENTERX 512
43#define FT8XX_OPT_CENTERY 1024
45#define FT8XX_OPT_CENTER 1536
47#define FT8XX_OPT_RIGHTX 2048
49#define FT8XX_OPT_NOBACK 4096
53#define FT8XX_OPT_NOTICKS 8192
57#define FT8XX_OPT_NOHM 16384
59#define FT8XX_OPT_NOPOINTER 16384
61#define FT8XX_OPT_NOSECS 32768
63#define FT8XX_OPT_NOHANDS 49152
64
71
76
81
98 int16_t y,
99 int16_t font,
100 uint16_t options,
101 const char *s);
102
123 int16_t y,
124 int16_t font,
125 uint16_t options,
126 int32_t n);
127
140
145#ifdef __cplusplus
146}
147#endif
148
149#endif /* ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COPRO_H_ */
irp nz macro MOVR cc s mov cc s endm endr irp aw macro LDR aa s
Definition asm-macro-32-bit-gnu.h:17
void ft8xx_copro_cmd_dlstart(void)
Start a new display list.
void ft8xx_copro_cmd_number(int16_t x, int16_t y, int16_t font, uint16_t options, int32_t n)
Draw a decimal number.
void ft8xx_copro_cmd_calibrate(uint32_t *result)
Execute the touch screen calibration routine.
void ft8xx_copro_cmd_swap(void)
Swap the current display list.
void ft8xx_copro_cmd_text(int16_t x, int16_t y, int16_t font, uint16_t options, const char *s)
Draw text.
void ft8xx_copro_cmd(uint32_t cmd)
Execute a display list command by co-processor engine.
static void cmd(uint32_t command)
Execute a display list command by co-processor engine.
Definition ft8xx_reference_api.h:153
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
__INT16_TYPE__ int16_t
Definition stdint.h:73
Definition errno.c:37