diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-02 08:30:30 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-02 08:30:30 +0000 |
commit | b6dab33dfdf32d32b27ed363f5f29b3db14af743 (patch) | |
tree | 58a8b74cb02f1d8e79149089806ba2bcacf55038 /firmware/export/wm8721.h | |
parent | c9f699432d0c2b0b743a9b1df197c30692a94bda (diff) |
Ok. Really fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14951 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/wm8721.h')
-rw-r--r-- | firmware/export/wm8721.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/firmware/export/wm8721.h b/firmware/export/wm8721.h index fb9cc535ab..223c3e1a0e 100644 --- a/firmware/export/wm8721.h +++ b/firmware/export/wm8721.h @@ -61,23 +61,23 @@ extern void audiohw_set_sample_rate(int sampling_control); #define PDCTRL_POWEROFF (1 << 7) #define AINTFCE 0x07 -#define AINTFCE_FORMAT_MSB_RJUST(0 << 0) -#define AINTFCE_FORMAT_MSB_LJUST(1 << 0) -#define AINTFCE_FORMAT_I2S (2 << 0) -#define AINTFCE_FORMAT_DSP (3 << 0) -#define AINTFCE_FORMAT_MASK (3 << 0) -#define AINTFCE_IWL_16BIT (0 << 2) -#define AINTFCE_IWL_20BIT (1 << 2) -#define AINTFCE_IWL_24BIT (2 << 2) -#define AINTFCE_IWL_32BIT (3 << 2) -#define AINTFCE_IWL_MASK (3 << 2) -#define AINTFCE_LRP_I2S_RLO (0 << 4) -#define AINTFCE_LRP_I2S_RHI (1 << 4) -#define AINTFCE_DSP_MODE_A (0 << 4) -#define AINTFCE_DSP_MODE_B (1 << 4) -#define AINTFCE_LRSWAP (1 << 5) -#define AINTFCE_MS (1 << 6) -#define AINTFCE_BCLKINV (1 << 7) +#define AINTFCE_FORMAT_MSB_RJUST (0 << 0) +#define AINTFCE_FORMAT_MSB_LJUST (1 << 0) +#define AINTFCE_FORMAT_I2S (2 << 0) +#define AINTFCE_FORMAT_DSP (3 << 0) +#define AINTFCE_FORMAT_MASK (3 << 0) +#define AINTFCE_IWL_16BIT (0 << 2) +#define AINTFCE_IWL_20BIT (1 << 2) +#define AINTFCE_IWL_24BIT (2 << 2) +#define AINTFCE_IWL_32BIT (3 << 2) +#define AINTFCE_IWL_MASK (3 << 2) +#define AINTFCE_LRP_I2S_RLO (0 << 4) +#define AINTFCE_LRP_I2S_RHI (1 << 4) +#define AINTFCE_DSP_MODE_A (0 << 4) +#define AINTFCE_DSP_MODE_B (1 << 4) +#define AINTFCE_LRSWAP (1 << 5) +#define AINTFCE_MS (1 << 6) +#define AINTFCE_BCLKINV (1 << 7) #define SAMPCTRL 0x08 #define SAMPCTRL_USB (1 << 0) @@ -86,7 +86,7 @@ extern void audiohw_set_sample_rate(int sampling_control); #define SAMPCTRL_BOSR_USB_250fs (0 << 1) #define SAMPCTRL_BOSR_USB_272fs (1 << 1) /* Bits 2-5: - * Sample rate setting are device-specific. See WM8731(L) datasheet + * Sample rate setting are device-specific. See WM8721 datasheet * for proper settings for the device's clocking */ #define SAMPCTRL_SR_MASK (0xf << 2) #define SAMPCTRL_CLKIDIV2 (1 << 6) |