1 /**************************************************************************//** 2 * 3 * @copyright (C) 2019 Nuvoton Technology Corp. All rights reserved. 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 * 7 * Change Logs: 8 * Date Author Notes 9 * 2022-2-21 Wayne First version 10 * 11 ******************************************************************************/ 12 13 #ifndef __ADC_TOUCH_CALIBRATE_H__ 14 #define __ADC_TOUCH_CALIBRATE_H__ 15 16 #include <stdint.h> 17 18 #define DEF_CAL_POINT_NUM 5 19 20 typedef struct 21 { 22 int32_t x; 23 int32_t y; 24 } S_COORDINATE_POINT; 25 26 typedef struct 27 { 28 int32_t a; 29 int32_t b; 30 int32_t c; 31 int32_t d; 32 int32_t e; 33 int32_t f; 34 int32_t div; 35 } S_CALIBRATION_MATRIX; 36 37 #endif /* __ADC_TOUCH_CALIBRATE_H__ */ 38