18 Jan
2013
18 Jan
'13
7:17 a.m.
On Thu, Jan 17, 2013 at 01:11:46PM +0000, Chris Rattray wrote:
#define ADSP1_CONTROL_30 0x24 #define ADSP1_CONTROL_31 0x26
+#define ADSP1_CLOCKING 38
+/*
- ADSP1 Control 31
- */
+#define ADSP1_CLK_SEL_MASK 0x0007 /* CLK_SEL_ENA */ +#define ADSP1_CLK_SEL_SHIFT 0 /* CLK_SEL_ENA */ +#define ADSP1_CLK_SEL_WIDTH 3 /* CLK_SEL_ENA */
You just called this ADSP1_CLOCKING above, using a different style to the other register #defines too (and of course there's already one for the helpfully named ADSP1 Control 31...).