mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -70,6 +70,16 @@
|
||||
# define CONFIG_ADS7843E_SPIMODE SPIDEV_MODE0
|
||||
#endif
|
||||
|
||||
/* Thresholds */
|
||||
|
||||
#ifndef CONFIG_ADS7843E_THRESHX
|
||||
# define CONFIG_ADS7843E_THRESHX 12
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ADS7843E_THRESHY
|
||||
# define CONFIG_ADS7843E_THRESHY 12
|
||||
#endif
|
||||
|
||||
/* Check for some required settings. This can save the user a lot of time
|
||||
* in getting the right configuration.
|
||||
*/
|
||||
@@ -149,7 +159,7 @@ extern "C" {
|
||||
* number
|
||||
*
|
||||
* Input Parameters:
|
||||
* dev - An SPI driver instance
|
||||
* spi - An SPI driver instance
|
||||
* config - Persistent board configuration data
|
||||
* minor - The input device minor number
|
||||
*
|
||||
@@ -159,7 +169,7 @@ extern "C" {
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN int ads7843e_register(FAR struct spi_dev_s *dev,
|
||||
EXTERN int ads7843e_register(FAR struct spi_dev_s *spi,
|
||||
FAR struct ads7843e_config_s *config,
|
||||
int minor);
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
* CONFIG_STMPE811_TEMP_DISABLE
|
||||
* Disable driver temperature sensor functionality.
|
||||
* CONFIG_STMPE811_REGDEBUG
|
||||
* Enabled very low register-level debug output. Requires CONFIG_DEBUG.
|
||||
* Enable very low register-level debug output. Requires CONFIG_DEBUG.
|
||||
* CONFIG_STMPE811_THRESHX and CONFIG_STMPE811_THRESHY
|
||||
* STMPE811 touchscreen data comes in a a very high rate. New touch positions
|
||||
* will only be reported when the X or Y data changes by these thresholds.
|
||||
|
||||
Reference in New Issue
Block a user