38 lines
770 B
C
38 lines
770 B
C
|
/**************************************************************************//**
|
||
|
*
|
||
|
* @copyright (C) 2019 Nuvoton Technology Corp. All rights reserved.
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2022-2-21 Wayne First version
|
||
|
*
|
||
|
******************************************************************************/
|
||
|
|
||
|
#ifndef __ADC_TOUCH_CALIBRATE_H__
|
||
|
#define __ADC_TOUCH_CALIBRATE_H__
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#define DEF_CAL_POINT_NUM 5
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
int32_t x;
|
||
|
int32_t y;
|
||
|
} S_COORDINATE_POINT;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
int32_t a;
|
||
|
int32_t b;
|
||
|
int32_t c;
|
||
|
int32_t d;
|
||
|
int32_t e;
|
||
|
int32_t f;
|
||
|
int32_t div;
|
||
|
} S_CALIBRATION_MATRIX;
|
||
|
|
||
|
#endif /* __ADC_TOUCH_CALIBRATE_H__ */
|