1 /*! 2 * @file tsc_dxs.h 3 * 4 * @brief This file contains external declarations of the tsc_dxs.c file. 5 * 6 * @version V1.0.1 7 * 8 * @date 2022-09-20 9 * 10 * @attention 11 * 12 * Copyright (C) 2020-2022 Geehy Semiconductor 13 * 14 * You may not use this file except in compliance with the 15 * GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE). 16 * 17 * The program is only for reference, which is distributed in the hope 18 * that it will be useful and instructional for customers to develop 19 * their software. Unless required by applicable law or agreed to in 20 * writing, the program is distributed on an "AS IS" BASIS, WITHOUT 21 * ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied. 22 * See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions 23 * and limitations under the License. 24 */ 25 26 /* Define to prevent recursive inclusion */ 27 #ifndef __TOUCH_DXS_H 28 #define __TOUCH_DXS_H 29 30 #ifdef __cplusplus 31 extern "C" { 32 #endif 33 34 /* Includes */ 35 #include "tsc_object.h" 36 37 /** @addtogroup TSC_Driver_Library TSC Driver Library 38 @{ 39 */ 40 41 /** @addtogroup TSC_DXS_Driver TSC DXS Driver 42 @{ 43 */ 44 45 /** @defgroup TSC_DXS_Macros Macros 46 @{ 47 */ 48 49 #define FOR_OBJ_TYPE TSC_Globals.For_Obj->Type 50 51 #define FOR_KEY TSC_Globals.For_Key 52 #define FOR_KEY_STATEID TSC_Globals.For_Key->p_Data->StateId 53 #define FOR_KEY_DXSLOCK TSC_Globals.For_Key->p_Data->DxsLock 54 #define FOR_KEY_CHANGE TSC_Globals.For_Key->p_Data->Change 55 56 #define FOR_LINROT TSC_Globals.For_LinRot 57 #define FOR_LINROT_STATEID TSC_Globals.For_LinRot->p_Data->StateId 58 #define FOR_LINROT_DXSLOCK TSC_Globals.For_LinRot->p_Data->DxsLock 59 #define FOR_LINROT_CHANGE TSC_Globals.For_LinRot->p_Data->Change 60 61 /**@} end of group TSC_DXS_Macros */ 62 63 /** @defgroup TSC_DXS_Enumerations Enumerations 64 @{ 65 */ 66 67 /**@} end of group TSC_DXS_Enumerations */ 68 69 /** @defgroup TSC_DXS_Structures Structures 70 @{ 71 */ 72 73 /**@} end of group TSC_DXS_Structures */ 74 75 /** @defgroup TSC_DXS_Variables Variables 76 @{ 77 */ 78 79 /**@} end of group TSC_DXS_Variables */ 80 81 /** @defgroup TSC_DXS_Functions Functions 82 @{ 83 */ 84 85 void TSC_Dxs_FirstObj(CONST TSC_ObjectGroup_T* objgrp); 86 87 #ifdef __cplusplus 88 } 89 #endif 90 91 #endif /* __TSC_DXS_H */ 92 93 /**@} end of group TSC_DXS_Functions */ 94 /**@} end of group TSC_DXS_Driver */ 95 /**@} end of group TSC_Driver_Library */ 96