mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
drivers/ft5x06: Add a polled mode of operation for the FT5x06 in attempt to work around the fact that the LPCXpresso-LPC54628 chose a non-interrupt pin for the FT5x06 interrupt. Driver is still not yet functional.
This commit is contained in:
@@ -116,10 +116,12 @@ struct ft5x06_config_s
|
||||
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_FT5X06_POLLMODE
|
||||
int (*attach)(FAR const struct ft5x06_config_s *config, xcpt_t isr,
|
||||
FAR void *arg);
|
||||
void (*enable)(FAR const struct ft5x06_config_s *config, bool enable);
|
||||
void (*clear)(FAR const struct ft5x06_config_s *config);
|
||||
#endif
|
||||
void (*wakeup)(FAR const struct ft5x06_config_s *config);
|
||||
void (*nreset)(FAR const struct ft5x06_config_s *config,
|
||||
bool state);
|
||||
|
||||
Reference in New Issue
Block a user