Integrate the STMPE11 driver into the STM3240G-EVAL board logic

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4714 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-05-08 15:07:53 +00:00
parent 58688272d3
commit 7cc9218389
11 changed files with 479 additions and 15 deletions
+2 -4
View File
@@ -453,7 +453,7 @@ struct stmpe11_config_s
* be provided for each so that their interrupts can be distinguished.
*/
#ifndef CONFIG_STMPE11_MULTIPLE
#ifdef CONFIG_STMPE11_MULTIPLE
int irq; /* IRQ number received by interrupt handler. */
#endif
@@ -469,9 +469,7 @@ struct stmpe11_config_s
/* IRQ/GPIO access callbacks. These operations all hidden behind
* callbacks to isolate the STMPE11 driver from differences in GPIO
* interrupt handling by varying boards and MCUs. If possible,
* interrupts should be configured on both rising and falling edges
* so that contact and loss-of-contact events can be detected.
* interrupt handling by varying boards and MCUs.
*
* attach - Attach the STMPE11 interrupt handler to the GPIO interrupt
* enable - Enable or disable the GPIO interrupt