53 #define d4dtchhw_s08_adc_ID 1
58 #if (D4D_MK_STR(D4D_LLD_TCH_HW) == d4dtchhw_s08_adc_ID)
71 static unsigned char D4DTCHHW_Init_S08_adc(
void);
72 static unsigned char D4DTCHHW_DeInit_S08_adc(
void);
73 static unsigned short D4DTCHHW_ReadTouchAxis_S08_adc(
D4DTCHHW_PINS pinId);
88 D4DTCHHW_Init_S08_adc,
89 D4DTCHHW_ReadTouchAxis_S08_adc,
90 D4DTCHHW_GetRawLimits_S08_adc,
91 D4DTCHHW_PinCtl_S08_adc,
92 D4DTCHHW_DeInit_S08_adc
128 static unsigned char D4DTCHHW_Init_S08_adc(
void)
135 #ifdef D4DTCHHW_MCU_USER_INIT
136 D4DTCHHW_MCU_USER_INIT
152 static unsigned char D4DTCHHW_DeInit_S08_adc(
void)
167 static unsigned short D4DTCHHW_ReadTouchAxis_S08_adc(
D4DTCHHW_PINS pinId)
238 INPUT(D4DTCH_X_PLUS);
261 INPUT(D4DTCH_X_MINUS);
267 D4DTCH_RESET_X_MINUS;
278 INPUT(D4DTCH_Y_PLUS);
301 INPUT(D4DTCH_Y_MINUS);
307 D4DTCH_RESET_Y_MINUS;
316 #endif //(D4D_MK_STR(D4D_LLD_TCH) == d4dtchhw_s08_adc_ID)
Switch on the pin for read by ADC.
#define D4DTCH_Y_PLUS_ADCH_PIN_DISABLE
#define D4DTCH_Y_TOUCH_OFFMAX
Analog touch screen X- signal.
#define D4DTCH_FULL_SCALE
D4DTCHHW_PINS
D4D low level MCU types definition for analog resistive touch screen signals.
#define D4DTCH_Y_TOUCH_MIN
D4D Driver main header file.
D4DHW_PIN_STATE
D4D low level MCU pin state enumeration type.
D4D Driver private header file.
#define D4DTCH_X_TOUCH_OFFMAX
Switch pin to input mode (equivalent to high-Z)
D4D low level touch screen limitation structure.
Switch pin to output mode.
#define D4DTCH_X_PLUS_ADCH_PIN_ENABLE
Set pin output register to logic 1.
Switch off the pin for read by ADC.
#define D4D_TCHHW_ADCSC2_ADACT
Analog touch screen X+ signal.
#define D4DTCH_X_TOUCH_MIN
Set pin output register to logic 0.
D4D driver - resistive touch screen driver function header file.
D4D driver - low level driver of ADC and gpio for resistive touch screen header file.
D4D low level touch screen hardware interface API structure.
#define D4D_TCHHW_ADCSC1_COCO
#define D4DTCH_X_PLUS_ADCH_PIN_DISABLE
#define D4DTCH_Y_PLUS_ADCH_PIN_ENABLE
#define D4D_TCHHW_ADC_INIT
Analog touch screen Y- signal.
Analog touch screen Y+ signal.