diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-29 20:12:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-29 20:12:14 +0000 |
commit | f46f746f97c06a54a6f1d9c7e4f15389c13a5545 (patch) | |
tree | 9615de4a46ace601f513dae283b9960009833f9d /nuttx/include | |
parent | ee8740ba0d2a6af731d9bcb1e485c95ec3886718 (diff) | |
download | px4-nuttx-f46f746f97c06a54a6f1d9c7e4f15389c13a5545.tar.gz px4-nuttx-f46f746f97c06a54a6f1d9c7e4f15389c13a5545.tar.bz2 px4-nuttx-f46f746f97c06a54a6f1d9c7e4f15389c13a5545.zip |
Add TSC2007 register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3828 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/input/tsc2007.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/input/tsc2007.h b/nuttx/include/nuttx/input/tsc2007.h index d6bb400ca..75053e005 100644 --- a/nuttx/include/nuttx/input/tsc2007.h +++ b/nuttx/include/nuttx/input/tsc2007.h @@ -4,6 +4,11 @@ * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * + * References: + * "1.2V to 3.6V, 12-Bit, Nanopower, 4-Wire Micro TOUCH SCREEN CONTROLLER + * with I2C Interface," SBAS405A March 2007, Revised, March 2009, Texas + * Instruments Incorporated + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -43,6 +48,8 @@ #include <nuttx/config.h> #include <nuttx/i2c.h> +#if defined(CONFIG_INPUT) && defined(CONFIG_INPUT_TSC2007) + /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ @@ -89,4 +96,5 @@ EXTERN int tsc2007_register(FAR struct i2c_dev_s *dev, int minor); } #endif +#endief /* CONFIG_INPUT && CONFIG_INPUT_TSC2007 */ #endif /* __INCLUDE_NUTTX_INPUT_TSC2007_H */ |