summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sama5/sam_touchscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/sama5/sam_touchscreen.h')
-rw-r--r--nuttx/arch/arm/src/sama5/sam_touchscreen.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_touchscreen.h b/nuttx/arch/arm/src/sama5/sam_touchscreen.h
index 8a68f2206..eebf32a93 100644
--- a/nuttx/arch/arm/src/sama5/sam_touchscreen.h
+++ b/nuttx/arch/arm/src/sama5/sam_touchscreen.h
@@ -79,7 +79,8 @@ extern "C"
* /dev/inputN where N is the minor device number
*
* Input Parameters:
- * minor - The input device minor number
+ * dev - The ADC device handle received from sam_adc_initialize()
+ * minor - The input device minor number
*
* Returned Value:
* Zero is returned on success. Otherwise, a negated errno value is
@@ -87,7 +88,7 @@ extern "C"
*
****************************************************************************/
-int sam_tsd_register(int minor);
+int sam_tsd_register(FAR struct adc_dev_s *dev, int minor);
/****************************************************************************
* Interfaces exported from the touchscreen to the ADC driver
@@ -99,14 +100,14 @@ int sam_tsd_register(int minor);
* Handles ADC interrupts associated with touchscreen channels
*
* Input parmeters:
- * None
+ * pending - Current set of pending interrupts being handled
*
* Returned Value:
* None
- *
+ *
****************************************************************************/
-void sam_tsd_interrupt(void);
+void sam_tsd_interrupt(uint32_t pending);
#undef EXTERN
#ifdef __cplusplus