SAMA5 ADC and touchscreen: Drivers are code complete and ready for test

This commit is contained in:
Gregory Nutt 2013-10-03 10:06:14 -06:00
parent 8b8523f935
commit db6d76baf5
2 changed files with 726 additions and 104 deletions

View File

@ -308,6 +308,8 @@
#define ADC_INT_NOPEN (1 << 30) /* Bit 30: No Pen Contact Interrupt */
#define ADC_SR_PENS (1 << 31) /* Bit 31: Pen detect Status (SR only) */
#define ADC_INT_ALL (0xe7f00fff)
/* Overrun Status Register */
#define ADC_OVER_OVRE(n) (1 << (n))
@ -396,6 +398,7 @@
#define ADC_COR_OFF9 (1 << 9) /* Bit 9: Offset for channel 9 */
#define ADC_COR_OFF10 (1 << 10) /* Bit 10: Offset for channel 10 */
#define ADC_COR_OFF11 (1 << 11) /* Bit 11: Offset for channel 11 */
#define ADC_COR_DIFF(n) (1 << ((n)+16))
#define ADC_COR_DIFF0 (1 << 16) /* Bit 16: Offset for channel 0 */
#define ADC_COR_DIFF1 (1 << 17) /* Bit 17: Offset for channel 1 */

File diff suppressed because it is too large Load Diff