Searched refs:TP_RST_PIN (Results 1 – 2 of 2) sorted by relevance
| /bsp/allwinner/libraries/drivers/touch/ |
| A D | drv_touch_gt9xx.c | 27 #define TP_RST_PIN GET_PIN(GPIO_PORT_E, GPIO_PIN_11) /* GPIO_PORT_E GPIO_PIN_11 */ 31 #define TP_RST_PIN GET_PIN(GPIO_PORT_G, GPIO_PIN_11) /* GPIO_PORT_G GPIO_PIN_11 */ macro 34 #define TP_RST_PIN GET_PIN(GPIO_PORT_G, GPIO_PIN_12) /* GPIO_PORT_G GPIO_PIN_12 */ macro 41 #ifndef TP_RST_PIN 72 rt_pin_mode(TP_RST_PIN, PIN_MODE_OUTPUT); in gt9xx_hw_reset() 77 rt_pin_write(TP_RST_PIN, PIN_LOW); in gt9xx_hw_reset() 80 rt_pin_write(TP_RST_PIN, PIN_HIGH); in gt9xx_hw_reset() 89 rt_pin_write(TP_RST_PIN, PIN_LOW); in gt9xx_hw_reset() 92 rt_pin_write(TP_RST_PIN, PIN_HIGH); in gt9xx_hw_reset()
|
| /bsp/loongson/ls1cdev/drivers/ |
| A D | drv_touch_gt9xx.c | 21 #define TP_RST_PIN 87 macro 26 #ifndef TP_RST_PIN 58 rt_pin_mode(TP_RST_PIN, PIN_MODE_OUTPUT); in gt9xx_hw_reset() 63 rt_pin_write(TP_RST_PIN, PIN_LOW); in gt9xx_hw_reset() 66 rt_pin_write(TP_RST_PIN, PIN_HIGH); in gt9xx_hw_reset() 75 rt_pin_write(TP_RST_PIN, PIN_LOW); in gt9xx_hw_reset() 78 rt_pin_write(TP_RST_PIN, PIN_HIGH); in gt9xx_hw_reset()
|
Completed in 4 milliseconds