diff --git a/include/ChangeLog b/include/ChangeLog index 2ac48aaa..6f306c63 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2002-11-20 Marcel Telka + + * ucb1400.h: Added UCB1400_ADCC_AI_* declarations (suggested by Juraj Fabo). + 2002-11-09 Marcel Telka * arm/pxa2x0/dma.h: Added DINT register bits. diff --git a/include/NEWS b/include/NEWS index 9ae95c69..a8f106fc 100644 --- a/include/NEWS +++ b/include/NEWS @@ -2,6 +2,7 @@ Changes in include since version 0.2: * Changes in PXA2X0 support: - added DINT register bits + * Added UCB1400_ADCC_AI_* declarations for UCB1400 (suggested by Juraj Fabo) include-0.2 (2002-11-08): diff --git a/include/ucb1400.h b/include/ucb1400.h index f8438df4..e9d8c39b 100644 --- a/include/ucb1400.h +++ b/include/ucb1400.h @@ -103,6 +103,15 @@ #define UCB1400_ADCC_VREFB bit(1) #define UCB1400_ADCC_ASE bit(0) +#define UCB1400_ADCC_AI_TSPX UCB1400_ADCC_AI(0x0) +#define UCB1400_ADCC_AI_TSMX UCB1400_ADCC_AI(0x1) +#define UCB1400_ADCC_AI_TSPY UCB1400_ADCC_AI(0x2) +#define UCB1400_ADCC_AI_TSMY UCB1400_ADCC_AI(0x3) +#define UCB1400_ADCC_AI_AD0 UCB1400_ADCC_AI(0x4) +#define UCB1400_ADCC_AI_AD1 UCB1400_ADCC_AI(0x5) +#define UCB1400_ADCC_AI_AD2 UCB1400_ADCC_AI(0x6) +#define UCB1400_ADCC_AI_AD3 UCB1400_ADCC_AI(0x7) + /* UCB1400_ADC_Data bits - see 12.18 in [1] */ #define UCB1400_ADCD_ADV bit(15)