Add dap and bmda to alpha command files
[processor-sdk/performance-audio-sr.git] / processor_audio_sdk_1_00_00_00 / tools / alpha / bmda_a.h
1 //
2 //  Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ 
3 //  ALL RIGHTS RESERVED 
4 //
6 #ifndef _BMDA_A
7   #define _BMDA_A
9 #include <acpbeta.h>
11 #define  readBMDAMode             0xc200+STD_BETA_BMDA,0x0400
12 #define writeBMDAModeDisable      0xca00+STD_BETA_BMDA,0x0400
13 #define writeBMDAModeEnable       0xca00+STD_BETA_BMDA,0x0401
15 /* speaker size configuration: 
16    PAF_SYS_SPEAKERSIZE_NONE  = 0x00
17    PAF_SYS_SPEAKERSIZE_SMALL = 0x20
18    PAF_SYS_SPEAKERSIZE_LARGE = 0x30      */
20 #define  readBMDAspeakerMain                0xc200+STD_BETA_BMDA,0x0800
21 #define writeBMDAspeakerMainSmall           0xca00+STD_BETA_BMDA,0x0820
22 #define writeBMDAspeakerMainLarge           0xca00+STD_BETA_BMDA,0x0830
23 #define writeBMDAspeakerMainNone            0xca00+STD_BETA_BMDA,0x0800
25 #define  readBMDAspeakerCntr                0xc200+STD_BETA_BMDA,0x0900
26 #define writeBMDAspeakerCntrSmall           0xca00+STD_BETA_BMDA,0x0920
27 #define writeBMDAspeakerCntrLarge           0xca00+STD_BETA_BMDA,0x0930
28 //#define writeBMDAspeakerCntrNone            0xc200+STD_BETA_BMDA,0x0900
29 #define writeBMDAspeakerCntrNone            0xca00+STD_BETA_BMDA,0x0900   // Typo corrected 0xc2200 to 0xca200
31 #define  readBMDAspeakerSurr                0xc200+STD_BETA_BMDA,0x0a00
32 #define writeBMDAspeakerSurrSmall           0xca00+STD_BETA_BMDA,0x0a20
33 #define writeBMDAspeakerSurrLarge           0xca00+STD_BETA_BMDA,0x0a30
34 #define writeBMDAspeakerSurrNone            0xca00+STD_BETA_BMDA,0x0a00
36 #define  readBMDAspeakerBack                0xc200+STD_BETA_BMDA,0x0b00
37 #define writeBMDAspeakerBackSmall           0xca00+STD_BETA_BMDA,0x0b20
38 #define writeBMDAspeakerBackLarge           0xca00+STD_BETA_BMDA,0x0b30
39 #define writeBMDAspeakerBackNone            0xca00+STD_BETA_BMDA,0x0b00
41 #define  readBMDAspeakerSubw                0xc200+STD_BETA_BMDA,0x0c00
42 #define writeBMDAspeakerSubwSmall           0xca00+STD_BETA_BMDA,0x0c20
43 #define writeBMDAspeakerSubwLarge           0xca00+STD_BETA_BMDA,0x0c30
44 #define writeBMDAspeakerSubwNone            0xca00+STD_BETA_BMDA,0x0c00
46 #define  readBMDAspeakerWide                0xc200+STD_BETA_BMDA,0x0d00
47 #define writeBMDAspeakerWideSmall           0xca00+STD_BETA_BMDA,0x0d20
48 #define writeBMDAspeakerWideLarge           0xca00+STD_BETA_BMDA,0x0d30
49 #define writeBMDAspeakerWideNone            0xca00+STD_BETA_BMDA,0x0d00
51 #define  readBMDAspeakerHead                0xc200+STD_BETA_BMDA,0x0e00
52 #define writeBMDAspeakerHeadSmall           0xca00+STD_BETA_BMDA,0x0e20
53 #define writeBMDAspeakerHeadLarge           0xca00+STD_BETA_BMDA,0x0e30
54 #define writeBMDAspeakerHeadNone            0xca00+STD_BETA_BMDA,0x0e00
56 #define  readBMDAspeakerTopfront            0xc200+STD_BETA_BMDA,0x0f00
57 #define writeBMDAspeakerTopfrontSmall       0xca00+STD_BETA_BMDA,0x0f20
58 #define writeBMDAspeakerTopfrontLarge       0xca00+STD_BETA_BMDA,0x0f30
59 #define writeBMDAspeakerTopfrontNone        0xca00+STD_BETA_BMDA,0x0f00
61 #define  readBMDAspeakerToprear             0xc200+STD_BETA_BMDA,0x1000
62 #define writeBMDAspeakerToprearSmall        0xca00+STD_BETA_BMDA,0x1020
63 #define writeBMDAspeakerToprearLarge        0xca00+STD_BETA_BMDA,0x1030
64 #define writeBMDAspeakerToprearNone         0xca00+STD_BETA_BMDA,0x1000
66 #define  readBMDAspeakerTopmiddle           0xc200+STD_BETA_BMDA,0x1100
67 #define writeBMDAspeakerTopmiddleSmall      0xca00+STD_BETA_BMDA,0x1120
68 #define writeBMDAspeakerTopmiddleLarge      0xca00+STD_BETA_BMDA,0x1130
69 #define writeBMDAspeakerTopmiddleNone       0xca00+STD_BETA_BMDA,0x1100
71 #define  readBMDAspeakerFrontheight         0xc200+STD_BETA_BMDA,0x1200
72 #define writeBMDAspeakerFrontheightSmall    0xca00+STD_BETA_BMDA,0x1220
73 #define writeBMDAspeakerFrontheightLarge    0xca00+STD_BETA_BMDA,0x1230
74 #define writeBMDAspeakerFrontheightNone     0xca00+STD_BETA_BMDA,0x1200
76 #define  readBMDAspeakerRearheight          0xc200+STD_BETA_BMDA,0x1300
77 #define writeBMDAspeakerRearheightSmall     0xca00+STD_BETA_BMDA,0x1320
78 #define writeBMDAspeakerRearheightLarge     0xca00+STD_BETA_BMDA,0x1330
79 #define writeBMDAspeakerRearheightNone      0xca00+STD_BETA_BMDA,0x1300
81 #define  readBMDAspeakerLSCRSC              0xc200+STD_BETA_BMDA,0x1400
82 #define writeBMDAspeakerLSCRSCSmall         0xca00+STD_BETA_BMDA,0x1420
83 #define writeBMDAspeakerLSCRSCLarge         0xca00+STD_BETA_BMDA,0x1430
84 #define writeBMDAspeakerLSCRSCNone          0xca00+STD_BETA_BMDA,0x1400
86 #define  readBMDAspeakerSurr1               0xc200+STD_BETA_BMDA,0x1500
87 #define writeBMDAspeakerSurr1Small          0xca00+STD_BETA_BMDA,0x1520
88 #define writeBMDAspeakerSurr1Large         0xca00+STD_BETA_BMDA,0x1530
89 #define writeBMDAspeakerSurr1None          0xca00+STD_BETA_BMDA,0x1500
91 #define  readBMDAspeakerSurr2               0xc200+STD_BETA_BMDA,0x1600
92 #define writeBMDAspeakerSurr2Small          0xca00+STD_BETA_BMDA,0x1620
93 #define writeBMDAspeakerSurr2Large          0xca00+STD_BETA_BMDA,0x1630
94 #define writeBMDAspeakerSurr2None           0xca00+STD_BETA_BMDA,0x1600
96 #define  readBMDAspeakerRearSurr1           0xc200+STD_BETA_BMDA,0x1700
97 #define writeBMDAspeakerRearSurr1Small      0xca00+STD_BETA_BMDA,0x1720
98 #define writeBMDAspeakerRearSurr1Large      0xca00+STD_BETA_BMDA,0x1730
99 #define writeBMDAspeakerRearSurr1None       0xca00+STD_BETA_BMDA,0x1700
101 #define  readBMDAspeakerRearSurr2           0xc200+STD_BETA_BMDA,0x1800
102 #define writeBMDAspeakerRearSurr2Small      0xca00+STD_BETA_BMDA,0x1820
103 #define writeBMDAspeakerRearSurr2Large      0xca00+STD_BETA_BMDA,0x1830
104 #define writeBMDAspeakerRearSurr2None       0xca00+STD_BETA_BMDA,0x1800
106 #define  readBMDAspeakerCS                  0xc200+STD_BETA_BMDA,0x1900
107 #define writeBMDAspeakerCSSmall             0xca00+STD_BETA_BMDA,0x1920
108 #define writeBMDAspeakerCSLarge             0xca00+STD_BETA_BMDA,0x1930
109 #define writeBMDAspeakerCSNone              0xca00+STD_BETA_BMDA,0x1900
111 #define  readBMDAspeakerLCSRC               0xc200+STD_BETA_BMDA,0x1a00
112 #define writeBMDAspeakerLCSRCSSmall         0xca00+STD_BETA_BMDA,0x1a20
113 #define writeBMDAspeakerLCSRCSLarge         0xca00+STD_BETA_BMDA,0x1a30
114 #define writeBMDAspeakerLCSRCSNone          0xca00+STD_BETA_BMDA,0x1a00
116 #define  readBMDAspeakerLCRC                0xc200+STD_BETA_BMDA,0x1b00
117 #define writeBMDAspeakerLCRCSmall           0xca00+STD_BETA_BMDA,0x1b20
118 #define writeBMDAspeakerLCRCLarge           0xca00+STD_BETA_BMDA,0x1b30
119 #define writeBMDAspeakerLCRCNone            0xca00+STD_BETA_BMDA,0x1b00
121 #define  readBMDAspeakerCvh                 0xc200+STD_BETA_BMDA,0x1c00
122 #define writeBMDAspeakerCvhSmall            0xca00+STD_BETA_BMDA,0x1c20
123 #define writeBMDAspeakerCvhLarge            0xca00+STD_BETA_BMDA,0x1c30
124 #define writeBMDAspeakerCvhNone             0xca00+STD_BETA_BMDA,0x1c00
126 #define  readBMDAspeakerTs                  0xc200+STD_BETA_BMDA,0x1d00
127 #define writeBMDAspeakerTsSmall             0xca00+STD_BETA_BMDA,0x1d20
128 #define writeBMDAspeakerTsLarge             0xca00+STD_BETA_BMDA,0x1d30
129 #define writeBMDAspeakerTsNone              0xca00+STD_BETA_BMDA,0x1d00
131 #define  readBMDAspeakerLhsRhs              0xc200+STD_BETA_BMDA,0x1e00
132 #define writeBMDAspeakerLhsRhsSmall         0xca00+STD_BETA_BMDA,0x1e20
133 #define writeBMDAspeakerLhsRhsCLarge        0xca00+STD_BETA_BMDA,0x1e30
134 #define writeBMDAspeakerLhsRhsCNone         0xca00+STD_BETA_BMDA,0x1e00
136 #define  readBMDAspeakerChr                 0xc200+STD_BETA_BMDA,0x1f00
137 #define writeBMDAspeakerChrSmall            0xca00+STD_BETA_BMDA,0x1f20
138 #define writeBMDAspeakerChrCLarge           0xca00+STD_BETA_BMDA,0x1f30
139 #define writeBMDAspeakerChrCNone            0xca00+STD_BETA_BMDA,0x1f00
141 #define   readBMDAStatus 0xc508,STD_BETA_BMDA
142 #define   readBMDAControl \
143           readBMDAMode, \
144           readBMDAspeakerMain, \
145           readBMDAspeakerCntr, \
146           readBMDAspeakerSurr, \
147           readBMDAspeakerBack, \
148           readBMDAspeakerSubw, \
149           readBMDAspeakerWide, \
150           readBMDAspeakerHead, \
151           readBMDAspeakerTopfront, \
152           readBMDAspeakerToprear, \
153           readBMDAspeakerTopmiddle, \
154           readBMDAspeakerFrontheight, \
155           readBMDAspeakerRearheight, \
156           readBMDAspeakerLSCRSC, \
157           readBMDAspeakerSurr1, \
158           readBMDAspeakerSurr2, \
159           readBMDAspeakerRearSurr1, \
160           readBMDAspeakerRearSurr2, \
161           readBMDAspeakerCS, \
162           readBMDAspeakerLCRC, \
163           readBMDAspeakerCvh, \
164           readBMDAspeakerTs, \
165           readBMDAspeakerLhsRhs, \
166           readBMDAspeakerChr
168 #endif /* _BMDA_A */