123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460 |
- /* SPDX-License-Identifier: GPL-2.0-only */
- /*
- * Copyright (C) 2010 - 2018 Novatek, Inc.
- *
- * $Revision: 46179 $
- * $Date: 2019-06-14 13:47:17 +0800 (Fri, 14 Jun 2019) $
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- */
- #if NVT_TOUCH_MP
- static uint32_t IC_X_CFG_SIZE = 18;
- static uint32_t IC_Y_CFG_SIZE = 36;
- static uint32_t IC_KEY_CFG_SIZE = 4;
- static uint32_t X_Channel = 18;
- static uint32_t Y_Channel = 36;
- static uint32_t Key_Channel = TOUCH_KEY_NUM;
- static uint8_t AIN_X[40] =
- {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
- static uint8_t AIN_Y[40] =
- {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35};
- #if TOUCH_KEY_NUM > 0
- static uint8_t AIN_KEY[8] = {0, 1, 2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
- #endif /* #if TOUCH_KEY_NUM > 0 */
- static int32_t PS_Config_Lmt_Short_Rawdata_P[40 * 40] = {
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- 14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,14008,
- #if TOUCH_KEY_NUM > 0
- 14008,14008,14008,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_Short_Rawdata_N[40 * 40] = {
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,
- #if TOUCH_KEY_NUM > 0
- 10000,10000,10000,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_Open_Rawdata_P[40 * 40] = {
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- 5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,5120,
- #if TOUCH_KEY_NUM > 0
- 5120,5120,5120,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_Open_Rawdata_N[40 * 40] = {
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,
- #if TOUCH_KEY_NUM > 0
- 50,50,50,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_FW_Rawdata_P[40 * 40] = {
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- 2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,2560,
- #if TOUCH_KEY_NUM > 0
- 2560,2560,2560,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_FW_Rawdata_N[40 * 40] = {
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- 240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,
- #if TOUCH_KEY_NUM > 0
- 240,240,240,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_FW_CC_P[40 * 40] = {
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- 314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,314,
- #if TOUCH_KEY_NUM > 0
- 314,314,314,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_FW_CC_N[40 * 40] = {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- #if TOUCH_KEY_NUM > 0
- 0,0,0,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_FW_Diff_P[40 * 40] = {
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- 75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,
- #if TOUCH_KEY_NUM > 0
- 75,75,75,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Lmt_FW_Diff_N[40 *40] = {
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- -75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,-75,
- #if TOUCH_KEY_NUM > 0
- -75,-75,-75,
- #endif /* #if TOUCH_KEY_NUM > 0 */
- };
- static int32_t PS_Config_Diff_Test_Frame = 50;
- #endif /* #if NVT_TOUCH_MP */
|