Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ft8xx.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_H_
13#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_H_
14
15#include <stdint.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
42
49typedef void (*ft8xx_int_callback)(void);
50
65
76
83
97
102#ifdef __cplusplus
103}
104#endif
105
106#endif /* ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_H_ */
void ft8xx_register_int(ft8xx_int_callback callback)
Set callback executed when FT8xx triggers interrupt.
void(* ft8xx_int_callback)(void)
Callback API to inform API user that FT8xx triggered interrupt.
Definition ft8xx.h:49
int ft8xx_get_touch_tag(void)
Get tag of recently touched element.
void ft8xx_calibrate(struct ft8xx_touch_transform *data)
Calibrate touchscreen.
void ft8xx_touch_transform_set(const struct ft8xx_touch_transform *data)
Set touchscreen calibration data.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Structure holding touchscreen calibration data.
Definition ft8xx.h:34
uint32_t b
Definition ft8xx.h:36
uint32_t e
Definition ft8xx.h:39
uint32_t f
Definition ft8xx.h:40
uint32_t c
Definition ft8xx.h:37
uint32_t a
Definition ft8xx.h:35
uint32_t d
Definition ft8xx.h:38
static fdata_t data[2]
Definition test_fifo_contexts.c:15