Home
last modified time | relevance | path

Searched refs:touch_write (Results 1 – 1 of 1) sorted by relevance

/bsp/stm32/stm32f429-st-disco/board/ports/touch/
A Ddrv_touch.c67 static int32_t touch_write(uint8_t reg, uint8_t val) in touch_write() function
103 touch_write(STMPE811_SYS_CTRL1, 0x02); /* Reset Touch-screen controller */ in stmpe811_touch_init()
107 touch_write(STMPE811_SYS_CTRL2, 0x0C); /* Enable TSC and ADC */ in stmpe811_touch_init()
108 touch_write(STMPE811_ADC_CTRL1, 0x68); /* Set sample time , 12-bit mode */ in stmpe811_touch_init()
111 touch_write(STMPE811_ADC_CTRL2, 0x01); /* ADC frequency 3.25 MHz */ in stmpe811_touch_init()
112 touch_write(STMPE811_TSC_CFG, 0xC2); /* Detect delay 10us, in stmpe811_touch_init()
114 touch_write(STMPE811_FIFO_TH, 0x01); /* Threshold for FIFO */ in stmpe811_touch_init()
115 touch_write(STMPE811_FIFO_STA, 0x01); /* FIFO reset */ in stmpe811_touch_init()
133 touch_write(STMPE811_SYS_CTRL1, 0x02); /* Reset Touch-screen controller */ in touch_uninitialize()
190 touch_write(STMPE811_FIFO_STA, 0x1); in touch_get_state()
[all …]

Completed in 5 milliseconds