summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-29 19:48:18 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-29 19:48:18 +0000
commit17eca7bfa0cb7af7cf432463c772ff572ebb7018 (patch)
treee96c0651169d9f17730f359823edcc7ac193dbc2 /firmware/export
parent10023adf727391cd165be7b5290e83a4710d0129 (diff)
downloadrockbox-17eca7bfa0cb7af7cf432463c772ff572ebb7018.tar.gz
rockbox-17eca7bfa0cb7af7cf432463c772ff572ebb7018.zip
as3525v2: FM playback (only tested on Clip+)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25383 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3514.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index c7353a2e97..afc982da39 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -102,10 +102,17 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
102 102
103/* HPH_OUT_R (0x02) */ 103/* HPH_OUT_R (0x02) */
104#define HPH_OUT_R_HP_OVC_TO (0x3 << 6) 104#define HPH_OUT_R_HP_OVC_TO (0x3 << 6)
105 /* AS3514/AS3517 */
105 #define HPH_OUT_R_HP_OVC_TO_0MS (0x3 << 6) 106 #define HPH_OUT_R_HP_OVC_TO_0MS (0x3 << 6)
106 #define HPH_OUT_R_HP_OVC_TO_128MS (0x1 << 6) 107 #define HPH_OUT_R_HP_OVC_TO_128MS (0x1 << 6)
107 #define HPH_OUT_R_HP_OVC_TO_256MS (0x0 << 6) 108 #define HPH_OUT_R_HP_OVC_TO_256MS (0x0 << 6)
108 #define HPH_OUT_R_HP_OVC_TO_512MS (0x2 << 6) 109 #define HPH_OUT_R_HP_OVC_TO_512MS (0x2 << 6)
110 /* AS3543 */
111 #define HPH_OUT_R_HP_OUT_SUM (0x0 << 5)
112 #define HPH_OUT_R_HP_OUT_DAC (0x1 << 5)
113 #define HPH_OUT_R_HP_OUT_LINE (0x2 << 5)
114 #define HPH_OUT_R_HP_OUT_MIC (0x3 << 5)
115 #define HPH_OUT_R_HP_OUT_MASK (0x3 << 5)
109/* Use AS3514_VOL_MASK */ 116/* Use AS3514_VOL_MASK */
110 117
111/* HPH_OUT_L (0x03) */ 118/* HPH_OUT_L (0x03) */