EFR32 Mighty Gecko 13 Software Documentation  efr32mg13-doc-5.1.2
efr32mg13p_lesense.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t CTRL;
44  __IOM uint32_t TIMCTRL;
45  __IOM uint32_t PERCTRL;
46  __IOM uint32_t DECCTRL;
47  __IOM uint32_t BIASCTRL;
48  __IOM uint32_t EVALCTRL;
49  __IOM uint32_t PRSCTRL;
50  __IOM uint32_t CMD;
51  __IOM uint32_t CHEN;
52  __IOM uint32_t SCANRES;
53  __IM uint32_t STATUS;
54  __IM uint32_t PTR;
55  __IM uint32_t BUFDATA;
56  __IM uint32_t CURCH;
57  __IOM uint32_t DECSTATE;
58  __IOM uint32_t SENSORSTATE;
59  __IOM uint32_t IDLECONF;
60  __IOM uint32_t ALTEXCONF;
61  uint32_t RESERVED0[2];
62  __IM uint32_t IF;
63  __IOM uint32_t IFS;
64  __IOM uint32_t IFC;
65  __IOM uint32_t IEN;
66  __IM uint32_t SYNCBUSY;
67  __IOM uint32_t ROUTEPEN;
69  uint32_t RESERVED1[38];
77 /**************************************************************************/
82 /* Bit fields for LESENSE CTRL */
83 #define _LESENSE_CTRL_RESETVALUE 0x00000000UL
84 #define _LESENSE_CTRL_MASK 0x007B29BFUL
85 #define _LESENSE_CTRL_SCANMODE_SHIFT 0
86 #define _LESENSE_CTRL_SCANMODE_MASK 0x3UL
87 #define _LESENSE_CTRL_SCANMODE_DEFAULT 0x00000000UL
88 #define _LESENSE_CTRL_SCANMODE_PERIODIC 0x00000000UL
89 #define _LESENSE_CTRL_SCANMODE_ONESHOT 0x00000001UL
90 #define _LESENSE_CTRL_SCANMODE_PRS 0x00000002UL
91 #define LESENSE_CTRL_SCANMODE_DEFAULT (_LESENSE_CTRL_SCANMODE_DEFAULT << 0)
92 #define LESENSE_CTRL_SCANMODE_PERIODIC (_LESENSE_CTRL_SCANMODE_PERIODIC << 0)
93 #define LESENSE_CTRL_SCANMODE_ONESHOT (_LESENSE_CTRL_SCANMODE_ONESHOT << 0)
94 #define LESENSE_CTRL_SCANMODE_PRS (_LESENSE_CTRL_SCANMODE_PRS << 0)
95 #define _LESENSE_CTRL_PRSSEL_SHIFT 2
96 #define _LESENSE_CTRL_PRSSEL_MASK 0x3CUL
97 #define _LESENSE_CTRL_PRSSEL_DEFAULT 0x00000000UL
98 #define _LESENSE_CTRL_PRSSEL_PRSCH0 0x00000000UL
99 #define _LESENSE_CTRL_PRSSEL_PRSCH1 0x00000001UL
100 #define _LESENSE_CTRL_PRSSEL_PRSCH2 0x00000002UL
101 #define _LESENSE_CTRL_PRSSEL_PRSCH3 0x00000003UL
102 #define _LESENSE_CTRL_PRSSEL_PRSCH4 0x00000004UL
103 #define _LESENSE_CTRL_PRSSEL_PRSCH5 0x00000005UL
104 #define _LESENSE_CTRL_PRSSEL_PRSCH6 0x00000006UL
105 #define _LESENSE_CTRL_PRSSEL_PRSCH7 0x00000007UL
106 #define _LESENSE_CTRL_PRSSEL_PRSCH8 0x00000008UL
107 #define _LESENSE_CTRL_PRSSEL_PRSCH9 0x00000009UL
108 #define _LESENSE_CTRL_PRSSEL_PRSCH10 0x0000000AUL
109 #define _LESENSE_CTRL_PRSSEL_PRSCH11 0x0000000BUL
110 #define LESENSE_CTRL_PRSSEL_DEFAULT (_LESENSE_CTRL_PRSSEL_DEFAULT << 2)
111 #define LESENSE_CTRL_PRSSEL_PRSCH0 (_LESENSE_CTRL_PRSSEL_PRSCH0 << 2)
112 #define LESENSE_CTRL_PRSSEL_PRSCH1 (_LESENSE_CTRL_PRSSEL_PRSCH1 << 2)
113 #define LESENSE_CTRL_PRSSEL_PRSCH2 (_LESENSE_CTRL_PRSSEL_PRSCH2 << 2)
114 #define LESENSE_CTRL_PRSSEL_PRSCH3 (_LESENSE_CTRL_PRSSEL_PRSCH3 << 2)
115 #define LESENSE_CTRL_PRSSEL_PRSCH4 (_LESENSE_CTRL_PRSSEL_PRSCH4 << 2)
116 #define LESENSE_CTRL_PRSSEL_PRSCH5 (_LESENSE_CTRL_PRSSEL_PRSCH5 << 2)
117 #define LESENSE_CTRL_PRSSEL_PRSCH6 (_LESENSE_CTRL_PRSSEL_PRSCH6 << 2)
118 #define LESENSE_CTRL_PRSSEL_PRSCH7 (_LESENSE_CTRL_PRSSEL_PRSCH7 << 2)
119 #define LESENSE_CTRL_PRSSEL_PRSCH8 (_LESENSE_CTRL_PRSSEL_PRSCH8 << 2)
120 #define LESENSE_CTRL_PRSSEL_PRSCH9 (_LESENSE_CTRL_PRSSEL_PRSCH9 << 2)
121 #define LESENSE_CTRL_PRSSEL_PRSCH10 (_LESENSE_CTRL_PRSSEL_PRSCH10 << 2)
122 #define LESENSE_CTRL_PRSSEL_PRSCH11 (_LESENSE_CTRL_PRSSEL_PRSCH11 << 2)
123 #define _LESENSE_CTRL_SCANCONF_SHIFT 7
124 #define _LESENSE_CTRL_SCANCONF_MASK 0x180UL
125 #define _LESENSE_CTRL_SCANCONF_DEFAULT 0x00000000UL
126 #define _LESENSE_CTRL_SCANCONF_DIRMAP 0x00000000UL
127 #define _LESENSE_CTRL_SCANCONF_INVMAP 0x00000001UL
128 #define _LESENSE_CTRL_SCANCONF_TOGGLE 0x00000002UL
129 #define _LESENSE_CTRL_SCANCONF_DECDEF 0x00000003UL
130 #define LESENSE_CTRL_SCANCONF_DEFAULT (_LESENSE_CTRL_SCANCONF_DEFAULT << 7)
131 #define LESENSE_CTRL_SCANCONF_DIRMAP (_LESENSE_CTRL_SCANCONF_DIRMAP << 7)
132 #define LESENSE_CTRL_SCANCONF_INVMAP (_LESENSE_CTRL_SCANCONF_INVMAP << 7)
133 #define LESENSE_CTRL_SCANCONF_TOGGLE (_LESENSE_CTRL_SCANCONF_TOGGLE << 7)
134 #define LESENSE_CTRL_SCANCONF_DECDEF (_LESENSE_CTRL_SCANCONF_DECDEF << 7)
135 #define LESENSE_CTRL_ALTEXMAP (0x1UL << 11)
136 #define _LESENSE_CTRL_ALTEXMAP_SHIFT 11
137 #define _LESENSE_CTRL_ALTEXMAP_MASK 0x800UL
138 #define _LESENSE_CTRL_ALTEXMAP_DEFAULT 0x00000000UL
139 #define _LESENSE_CTRL_ALTEXMAP_ALTEX 0x00000000UL
140 #define _LESENSE_CTRL_ALTEXMAP_CH 0x00000001UL
141 #define LESENSE_CTRL_ALTEXMAP_DEFAULT (_LESENSE_CTRL_ALTEXMAP_DEFAULT << 11)
142 #define LESENSE_CTRL_ALTEXMAP_ALTEX (_LESENSE_CTRL_ALTEXMAP_ALTEX << 11)
143 #define LESENSE_CTRL_ALTEXMAP_CH (_LESENSE_CTRL_ALTEXMAP_CH << 11)
144 #define LESENSE_CTRL_DUALSAMPLE (0x1UL << 13)
145 #define _LESENSE_CTRL_DUALSAMPLE_SHIFT 13
146 #define _LESENSE_CTRL_DUALSAMPLE_MASK 0x2000UL
147 #define _LESENSE_CTRL_DUALSAMPLE_DEFAULT 0x00000000UL
148 #define LESENSE_CTRL_DUALSAMPLE_DEFAULT (_LESENSE_CTRL_DUALSAMPLE_DEFAULT << 13)
149 #define LESENSE_CTRL_BUFOW (0x1UL << 16)
150 #define _LESENSE_CTRL_BUFOW_SHIFT 16
151 #define _LESENSE_CTRL_BUFOW_MASK 0x10000UL
152 #define _LESENSE_CTRL_BUFOW_DEFAULT 0x00000000UL
153 #define LESENSE_CTRL_BUFOW_DEFAULT (_LESENSE_CTRL_BUFOW_DEFAULT << 16)
154 #define LESENSE_CTRL_STRSCANRES (0x1UL << 17)
155 #define _LESENSE_CTRL_STRSCANRES_SHIFT 17
156 #define _LESENSE_CTRL_STRSCANRES_MASK 0x20000UL
157 #define _LESENSE_CTRL_STRSCANRES_DEFAULT 0x00000000UL
158 #define LESENSE_CTRL_STRSCANRES_DEFAULT (_LESENSE_CTRL_STRSCANRES_DEFAULT << 17)
159 #define LESENSE_CTRL_BUFIDL (0x1UL << 19)
160 #define _LESENSE_CTRL_BUFIDL_SHIFT 19
161 #define _LESENSE_CTRL_BUFIDL_MASK 0x80000UL
162 #define _LESENSE_CTRL_BUFIDL_DEFAULT 0x00000000UL
163 #define _LESENSE_CTRL_BUFIDL_HALFFULL 0x00000000UL
164 #define _LESENSE_CTRL_BUFIDL_FULL 0x00000001UL
165 #define LESENSE_CTRL_BUFIDL_DEFAULT (_LESENSE_CTRL_BUFIDL_DEFAULT << 19)
166 #define LESENSE_CTRL_BUFIDL_HALFFULL (_LESENSE_CTRL_BUFIDL_HALFFULL << 19)
167 #define LESENSE_CTRL_BUFIDL_FULL (_LESENSE_CTRL_BUFIDL_FULL << 19)
168 #define _LESENSE_CTRL_DMAWU_SHIFT 20
169 #define _LESENSE_CTRL_DMAWU_MASK 0x300000UL
170 #define _LESENSE_CTRL_DMAWU_DEFAULT 0x00000000UL
171 #define _LESENSE_CTRL_DMAWU_DISABLE 0x00000000UL
172 #define _LESENSE_CTRL_DMAWU_BUFDATAV 0x00000001UL
173 #define _LESENSE_CTRL_DMAWU_BUFLEVEL 0x00000002UL
174 #define LESENSE_CTRL_DMAWU_DEFAULT (_LESENSE_CTRL_DMAWU_DEFAULT << 20)
175 #define LESENSE_CTRL_DMAWU_DISABLE (_LESENSE_CTRL_DMAWU_DISABLE << 20)
176 #define LESENSE_CTRL_DMAWU_BUFDATAV (_LESENSE_CTRL_DMAWU_BUFDATAV << 20)
177 #define LESENSE_CTRL_DMAWU_BUFLEVEL (_LESENSE_CTRL_DMAWU_BUFLEVEL << 20)
178 #define LESENSE_CTRL_DEBUGRUN (0x1UL << 22)
179 #define _LESENSE_CTRL_DEBUGRUN_SHIFT 22
180 #define _LESENSE_CTRL_DEBUGRUN_MASK 0x400000UL
181 #define _LESENSE_CTRL_DEBUGRUN_DEFAULT 0x00000000UL
182 #define LESENSE_CTRL_DEBUGRUN_DEFAULT (_LESENSE_CTRL_DEBUGRUN_DEFAULT << 22)
184 /* Bit fields for LESENSE TIMCTRL */
185 #define _LESENSE_TIMCTRL_RESETVALUE 0x00000000UL
186 #define _LESENSE_TIMCTRL_MASK 0x10CFF773UL
187 #define _LESENSE_TIMCTRL_AUXPRESC_SHIFT 0
188 #define _LESENSE_TIMCTRL_AUXPRESC_MASK 0x3UL
189 #define _LESENSE_TIMCTRL_AUXPRESC_DEFAULT 0x00000000UL
190 #define _LESENSE_TIMCTRL_AUXPRESC_DIV1 0x00000000UL
191 #define _LESENSE_TIMCTRL_AUXPRESC_DIV2 0x00000001UL
192 #define _LESENSE_TIMCTRL_AUXPRESC_DIV4 0x00000002UL
193 #define _LESENSE_TIMCTRL_AUXPRESC_DIV8 0x00000003UL
194 #define LESENSE_TIMCTRL_AUXPRESC_DEFAULT (_LESENSE_TIMCTRL_AUXPRESC_DEFAULT << 0)
195 #define LESENSE_TIMCTRL_AUXPRESC_DIV1 (_LESENSE_TIMCTRL_AUXPRESC_DIV1 << 0)
196 #define LESENSE_TIMCTRL_AUXPRESC_DIV2 (_LESENSE_TIMCTRL_AUXPRESC_DIV2 << 0)
197 #define LESENSE_TIMCTRL_AUXPRESC_DIV4 (_LESENSE_TIMCTRL_AUXPRESC_DIV4 << 0)
198 #define LESENSE_TIMCTRL_AUXPRESC_DIV8 (_LESENSE_TIMCTRL_AUXPRESC_DIV8 << 0)
199 #define _LESENSE_TIMCTRL_LFPRESC_SHIFT 4
200 #define _LESENSE_TIMCTRL_LFPRESC_MASK 0x70UL
201 #define _LESENSE_TIMCTRL_LFPRESC_DEFAULT 0x00000000UL
202 #define _LESENSE_TIMCTRL_LFPRESC_DIV1 0x00000000UL
203 #define _LESENSE_TIMCTRL_LFPRESC_DIV2 0x00000001UL
204 #define _LESENSE_TIMCTRL_LFPRESC_DIV4 0x00000002UL
205 #define _LESENSE_TIMCTRL_LFPRESC_DIV8 0x00000003UL
206 #define _LESENSE_TIMCTRL_LFPRESC_DIV16 0x00000004UL
207 #define _LESENSE_TIMCTRL_LFPRESC_DIV32 0x00000005UL
208 #define _LESENSE_TIMCTRL_LFPRESC_DIV64 0x00000006UL
209 #define _LESENSE_TIMCTRL_LFPRESC_DIV128 0x00000007UL
210 #define LESENSE_TIMCTRL_LFPRESC_DEFAULT (_LESENSE_TIMCTRL_LFPRESC_DEFAULT << 4)
211 #define LESENSE_TIMCTRL_LFPRESC_DIV1 (_LESENSE_TIMCTRL_LFPRESC_DIV1 << 4)
212 #define LESENSE_TIMCTRL_LFPRESC_DIV2 (_LESENSE_TIMCTRL_LFPRESC_DIV2 << 4)
213 #define LESENSE_TIMCTRL_LFPRESC_DIV4 (_LESENSE_TIMCTRL_LFPRESC_DIV4 << 4)
214 #define LESENSE_TIMCTRL_LFPRESC_DIV8 (_LESENSE_TIMCTRL_LFPRESC_DIV8 << 4)
215 #define LESENSE_TIMCTRL_LFPRESC_DIV16 (_LESENSE_TIMCTRL_LFPRESC_DIV16 << 4)
216 #define LESENSE_TIMCTRL_LFPRESC_DIV32 (_LESENSE_TIMCTRL_LFPRESC_DIV32 << 4)
217 #define LESENSE_TIMCTRL_LFPRESC_DIV64 (_LESENSE_TIMCTRL_LFPRESC_DIV64 << 4)
218 #define LESENSE_TIMCTRL_LFPRESC_DIV128 (_LESENSE_TIMCTRL_LFPRESC_DIV128 << 4)
219 #define _LESENSE_TIMCTRL_PCPRESC_SHIFT 8
220 #define _LESENSE_TIMCTRL_PCPRESC_MASK 0x700UL
221 #define _LESENSE_TIMCTRL_PCPRESC_DEFAULT 0x00000000UL
222 #define _LESENSE_TIMCTRL_PCPRESC_DIV1 0x00000000UL
223 #define _LESENSE_TIMCTRL_PCPRESC_DIV2 0x00000001UL
224 #define _LESENSE_TIMCTRL_PCPRESC_DIV4 0x00000002UL
225 #define _LESENSE_TIMCTRL_PCPRESC_DIV8 0x00000003UL
226 #define _LESENSE_TIMCTRL_PCPRESC_DIV16 0x00000004UL
227 #define _LESENSE_TIMCTRL_PCPRESC_DIV32 0x00000005UL
228 #define _LESENSE_TIMCTRL_PCPRESC_DIV64 0x00000006UL
229 #define _LESENSE_TIMCTRL_PCPRESC_DIV128 0x00000007UL
230 #define LESENSE_TIMCTRL_PCPRESC_DEFAULT (_LESENSE_TIMCTRL_PCPRESC_DEFAULT << 8)
231 #define LESENSE_TIMCTRL_PCPRESC_DIV1 (_LESENSE_TIMCTRL_PCPRESC_DIV1 << 8)
232 #define LESENSE_TIMCTRL_PCPRESC_DIV2 (_LESENSE_TIMCTRL_PCPRESC_DIV2 << 8)
233 #define LESENSE_TIMCTRL_PCPRESC_DIV4 (_LESENSE_TIMCTRL_PCPRESC_DIV4 << 8)
234 #define LESENSE_TIMCTRL_PCPRESC_DIV8 (_LESENSE_TIMCTRL_PCPRESC_DIV8 << 8)
235 #define LESENSE_TIMCTRL_PCPRESC_DIV16 (_LESENSE_TIMCTRL_PCPRESC_DIV16 << 8)
236 #define LESENSE_TIMCTRL_PCPRESC_DIV32 (_LESENSE_TIMCTRL_PCPRESC_DIV32 << 8)
237 #define LESENSE_TIMCTRL_PCPRESC_DIV64 (_LESENSE_TIMCTRL_PCPRESC_DIV64 << 8)
238 #define LESENSE_TIMCTRL_PCPRESC_DIV128 (_LESENSE_TIMCTRL_PCPRESC_DIV128 << 8)
239 #define _LESENSE_TIMCTRL_PCTOP_SHIFT 12
240 #define _LESENSE_TIMCTRL_PCTOP_MASK 0xFF000UL
241 #define _LESENSE_TIMCTRL_PCTOP_DEFAULT 0x00000000UL
242 #define LESENSE_TIMCTRL_PCTOP_DEFAULT (_LESENSE_TIMCTRL_PCTOP_DEFAULT << 12)
243 #define _LESENSE_TIMCTRL_STARTDLY_SHIFT 22
244 #define _LESENSE_TIMCTRL_STARTDLY_MASK 0xC00000UL
245 #define _LESENSE_TIMCTRL_STARTDLY_DEFAULT 0x00000000UL
246 #define LESENSE_TIMCTRL_STARTDLY_DEFAULT (_LESENSE_TIMCTRL_STARTDLY_DEFAULT << 22)
247 #define LESENSE_TIMCTRL_AUXSTARTUP (0x1UL << 28)
248 #define _LESENSE_TIMCTRL_AUXSTARTUP_SHIFT 28
249 #define _LESENSE_TIMCTRL_AUXSTARTUP_MASK 0x10000000UL
250 #define _LESENSE_TIMCTRL_AUXSTARTUP_DEFAULT 0x00000000UL
251 #define _LESENSE_TIMCTRL_AUXSTARTUP_PREDEMAND 0x00000000UL
252 #define _LESENSE_TIMCTRL_AUXSTARTUP_ONDEMAND 0x00000001UL
253 #define LESENSE_TIMCTRL_AUXSTARTUP_DEFAULT (_LESENSE_TIMCTRL_AUXSTARTUP_DEFAULT << 28)
254 #define LESENSE_TIMCTRL_AUXSTARTUP_PREDEMAND (_LESENSE_TIMCTRL_AUXSTARTUP_PREDEMAND << 28)
255 #define LESENSE_TIMCTRL_AUXSTARTUP_ONDEMAND (_LESENSE_TIMCTRL_AUXSTARTUP_ONDEMAND << 28)
257 /* Bit fields for LESENSE PERCTRL */
258 #define _LESENSE_PERCTRL_RESETVALUE 0x00000000UL
259 #define _LESENSE_PERCTRL_MASK 0x3FF0014FUL
260 #define LESENSE_PERCTRL_DACCH0EN (0x1UL << 0)
261 #define _LESENSE_PERCTRL_DACCH0EN_SHIFT 0
262 #define _LESENSE_PERCTRL_DACCH0EN_MASK 0x1UL
263 #define _LESENSE_PERCTRL_DACCH0EN_DEFAULT 0x00000000UL
264 #define LESENSE_PERCTRL_DACCH0EN_DEFAULT (_LESENSE_PERCTRL_DACCH0EN_DEFAULT << 0)
265 #define LESENSE_PERCTRL_DACCH1EN (0x1UL << 1)
266 #define _LESENSE_PERCTRL_DACCH1EN_SHIFT 1
267 #define _LESENSE_PERCTRL_DACCH1EN_MASK 0x2UL
268 #define _LESENSE_PERCTRL_DACCH1EN_DEFAULT 0x00000000UL
269 #define LESENSE_PERCTRL_DACCH1EN_DEFAULT (_LESENSE_PERCTRL_DACCH1EN_DEFAULT << 1)
270 #define LESENSE_PERCTRL_DACCH0DATA (0x1UL << 2)
271 #define _LESENSE_PERCTRL_DACCH0DATA_SHIFT 2
272 #define _LESENSE_PERCTRL_DACCH0DATA_MASK 0x4UL
273 #define _LESENSE_PERCTRL_DACCH0DATA_DEFAULT 0x00000000UL
274 #define _LESENSE_PERCTRL_DACCH0DATA_DACDATA 0x00000000UL
275 #define _LESENSE_PERCTRL_DACCH0DATA_THRES 0x00000001UL
276 #define LESENSE_PERCTRL_DACCH0DATA_DEFAULT (_LESENSE_PERCTRL_DACCH0DATA_DEFAULT << 2)
277 #define LESENSE_PERCTRL_DACCH0DATA_DACDATA (_LESENSE_PERCTRL_DACCH0DATA_DACDATA << 2)
278 #define LESENSE_PERCTRL_DACCH0DATA_THRES (_LESENSE_PERCTRL_DACCH0DATA_THRES << 2)
279 #define LESENSE_PERCTRL_DACCH1DATA (0x1UL << 3)
280 #define _LESENSE_PERCTRL_DACCH1DATA_SHIFT 3
281 #define _LESENSE_PERCTRL_DACCH1DATA_MASK 0x8UL
282 #define _LESENSE_PERCTRL_DACCH1DATA_DEFAULT 0x00000000UL
283 #define _LESENSE_PERCTRL_DACCH1DATA_DACDATA 0x00000000UL
284 #define _LESENSE_PERCTRL_DACCH1DATA_THRES 0x00000001UL
285 #define LESENSE_PERCTRL_DACCH1DATA_DEFAULT (_LESENSE_PERCTRL_DACCH1DATA_DEFAULT << 3)
286 #define LESENSE_PERCTRL_DACCH1DATA_DACDATA (_LESENSE_PERCTRL_DACCH1DATA_DACDATA << 3)
287 #define LESENSE_PERCTRL_DACCH1DATA_THRES (_LESENSE_PERCTRL_DACCH1DATA_THRES << 3)
288 #define LESENSE_PERCTRL_DACSTARTUP (0x1UL << 6)
289 #define _LESENSE_PERCTRL_DACSTARTUP_SHIFT 6
290 #define _LESENSE_PERCTRL_DACSTARTUP_MASK 0x40UL
291 #define _LESENSE_PERCTRL_DACSTARTUP_DEFAULT 0x00000000UL
292 #define _LESENSE_PERCTRL_DACSTARTUP_FULLCYCLE 0x00000000UL
293 #define _LESENSE_PERCTRL_DACSTARTUP_HALFCYCLE 0x00000001UL
294 #define LESENSE_PERCTRL_DACSTARTUP_DEFAULT (_LESENSE_PERCTRL_DACSTARTUP_DEFAULT << 6)
295 #define LESENSE_PERCTRL_DACSTARTUP_FULLCYCLE (_LESENSE_PERCTRL_DACSTARTUP_FULLCYCLE << 6)
296 #define LESENSE_PERCTRL_DACSTARTUP_HALFCYCLE (_LESENSE_PERCTRL_DACSTARTUP_HALFCYCLE << 6)
297 #define LESENSE_PERCTRL_DACCONVTRIG (0x1UL << 8)
298 #define _LESENSE_PERCTRL_DACCONVTRIG_SHIFT 8
299 #define _LESENSE_PERCTRL_DACCONVTRIG_MASK 0x100UL
300 #define _LESENSE_PERCTRL_DACCONVTRIG_DEFAULT 0x00000000UL
301 #define _LESENSE_PERCTRL_DACCONVTRIG_CHANNELSTART 0x00000000UL
302 #define _LESENSE_PERCTRL_DACCONVTRIG_SCANSTART 0x00000001UL
303 #define LESENSE_PERCTRL_DACCONVTRIG_DEFAULT (_LESENSE_PERCTRL_DACCONVTRIG_DEFAULT << 8)
304 #define LESENSE_PERCTRL_DACCONVTRIG_CHANNELSTART (_LESENSE_PERCTRL_DACCONVTRIG_CHANNELSTART << 8)
305 #define LESENSE_PERCTRL_DACCONVTRIG_SCANSTART (_LESENSE_PERCTRL_DACCONVTRIG_SCANSTART << 8)
306 #define _LESENSE_PERCTRL_ACMP0MODE_SHIFT 20
307 #define _LESENSE_PERCTRL_ACMP0MODE_MASK 0x300000UL
308 #define _LESENSE_PERCTRL_ACMP0MODE_DEFAULT 0x00000000UL
309 #define _LESENSE_PERCTRL_ACMP0MODE_DISABLE 0x00000000UL
310 #define _LESENSE_PERCTRL_ACMP0MODE_MUX 0x00000001UL
311 #define _LESENSE_PERCTRL_ACMP0MODE_MUXTHRES 0x00000002UL
312 #define LESENSE_PERCTRL_ACMP0MODE_DEFAULT (_LESENSE_PERCTRL_ACMP0MODE_DEFAULT << 20)
313 #define LESENSE_PERCTRL_ACMP0MODE_DISABLE (_LESENSE_PERCTRL_ACMP0MODE_DISABLE << 20)
314 #define LESENSE_PERCTRL_ACMP0MODE_MUX (_LESENSE_PERCTRL_ACMP0MODE_MUX << 20)
315 #define LESENSE_PERCTRL_ACMP0MODE_MUXTHRES (_LESENSE_PERCTRL_ACMP0MODE_MUXTHRES << 20)
316 #define _LESENSE_PERCTRL_ACMP1MODE_SHIFT 22
317 #define _LESENSE_PERCTRL_ACMP1MODE_MASK 0xC00000UL
318 #define _LESENSE_PERCTRL_ACMP1MODE_DEFAULT 0x00000000UL
319 #define _LESENSE_PERCTRL_ACMP1MODE_DISABLE 0x00000000UL
320 #define _LESENSE_PERCTRL_ACMP1MODE_MUX 0x00000001UL
321 #define _LESENSE_PERCTRL_ACMP1MODE_MUXTHRES 0x00000002UL
322 #define LESENSE_PERCTRL_ACMP1MODE_DEFAULT (_LESENSE_PERCTRL_ACMP1MODE_DEFAULT << 22)
323 #define LESENSE_PERCTRL_ACMP1MODE_DISABLE (_LESENSE_PERCTRL_ACMP1MODE_DISABLE << 22)
324 #define LESENSE_PERCTRL_ACMP1MODE_MUX (_LESENSE_PERCTRL_ACMP1MODE_MUX << 22)
325 #define LESENSE_PERCTRL_ACMP1MODE_MUXTHRES (_LESENSE_PERCTRL_ACMP1MODE_MUXTHRES << 22)
326 #define LESENSE_PERCTRL_ACMP0INV (0x1UL << 24)
327 #define _LESENSE_PERCTRL_ACMP0INV_SHIFT 24
328 #define _LESENSE_PERCTRL_ACMP0INV_MASK 0x1000000UL
329 #define _LESENSE_PERCTRL_ACMP0INV_DEFAULT 0x00000000UL
330 #define LESENSE_PERCTRL_ACMP0INV_DEFAULT (_LESENSE_PERCTRL_ACMP0INV_DEFAULT << 24)
331 #define LESENSE_PERCTRL_ACMP1INV (0x1UL << 25)
332 #define _LESENSE_PERCTRL_ACMP1INV_SHIFT 25
333 #define _LESENSE_PERCTRL_ACMP1INV_MASK 0x2000000UL
334 #define _LESENSE_PERCTRL_ACMP1INV_DEFAULT 0x00000000UL
335 #define LESENSE_PERCTRL_ACMP1INV_DEFAULT (_LESENSE_PERCTRL_ACMP1INV_DEFAULT << 25)
336 #define LESENSE_PERCTRL_ACMP0HYSTEN (0x1UL << 26)
337 #define _LESENSE_PERCTRL_ACMP0HYSTEN_SHIFT 26
338 #define _LESENSE_PERCTRL_ACMP0HYSTEN_MASK 0x4000000UL
339 #define _LESENSE_PERCTRL_ACMP0HYSTEN_DEFAULT 0x00000000UL
340 #define LESENSE_PERCTRL_ACMP0HYSTEN_DEFAULT (_LESENSE_PERCTRL_ACMP0HYSTEN_DEFAULT << 26)
341 #define LESENSE_PERCTRL_ACMP1HYSTEN (0x1UL << 27)
342 #define _LESENSE_PERCTRL_ACMP1HYSTEN_SHIFT 27
343 #define _LESENSE_PERCTRL_ACMP1HYSTEN_MASK 0x8000000UL
344 #define _LESENSE_PERCTRL_ACMP1HYSTEN_DEFAULT 0x00000000UL
345 #define LESENSE_PERCTRL_ACMP1HYSTEN_DEFAULT (_LESENSE_PERCTRL_ACMP1HYSTEN_DEFAULT << 27)
346 #define _LESENSE_PERCTRL_WARMUPMODE_SHIFT 28
347 #define _LESENSE_PERCTRL_WARMUPMODE_MASK 0x30000000UL
348 #define _LESENSE_PERCTRL_WARMUPMODE_DEFAULT 0x00000000UL
349 #define _LESENSE_PERCTRL_WARMUPMODE_NORMAL 0x00000000UL
350 #define _LESENSE_PERCTRL_WARMUPMODE_KEEPACMPWARM 0x00000001UL
351 #define _LESENSE_PERCTRL_WARMUPMODE_KEEPDACWARM 0x00000002UL
352 #define _LESENSE_PERCTRL_WARMUPMODE_KEEPACMPDACWARM 0x00000003UL
353 #define LESENSE_PERCTRL_WARMUPMODE_DEFAULT (_LESENSE_PERCTRL_WARMUPMODE_DEFAULT << 28)
354 #define LESENSE_PERCTRL_WARMUPMODE_NORMAL (_LESENSE_PERCTRL_WARMUPMODE_NORMAL << 28)
355 #define LESENSE_PERCTRL_WARMUPMODE_KEEPACMPWARM (_LESENSE_PERCTRL_WARMUPMODE_KEEPACMPWARM << 28)
356 #define LESENSE_PERCTRL_WARMUPMODE_KEEPDACWARM (_LESENSE_PERCTRL_WARMUPMODE_KEEPDACWARM << 28)
357 #define LESENSE_PERCTRL_WARMUPMODE_KEEPACMPDACWARM (_LESENSE_PERCTRL_WARMUPMODE_KEEPACMPDACWARM << 28)
359 /* Bit fields for LESENSE DECCTRL */
360 #define _LESENSE_DECCTRL_RESETVALUE 0x00000000UL
361 #define _LESENSE_DECCTRL_MASK 0x1EF7BDFFUL
362 #define LESENSE_DECCTRL_DISABLE (0x1UL << 0)
363 #define _LESENSE_DECCTRL_DISABLE_SHIFT 0
364 #define _LESENSE_DECCTRL_DISABLE_MASK 0x1UL
365 #define _LESENSE_DECCTRL_DISABLE_DEFAULT 0x00000000UL
366 #define LESENSE_DECCTRL_DISABLE_DEFAULT (_LESENSE_DECCTRL_DISABLE_DEFAULT << 0)
367 #define LESENSE_DECCTRL_ERRCHK (0x1UL << 1)
368 #define _LESENSE_DECCTRL_ERRCHK_SHIFT 1
369 #define _LESENSE_DECCTRL_ERRCHK_MASK 0x2UL
370 #define _LESENSE_DECCTRL_ERRCHK_DEFAULT 0x00000000UL
371 #define LESENSE_DECCTRL_ERRCHK_DEFAULT (_LESENSE_DECCTRL_ERRCHK_DEFAULT << 1)
372 #define LESENSE_DECCTRL_INTMAP (0x1UL << 2)
373 #define _LESENSE_DECCTRL_INTMAP_SHIFT 2
374 #define _LESENSE_DECCTRL_INTMAP_MASK 0x4UL
375 #define _LESENSE_DECCTRL_INTMAP_DEFAULT 0x00000000UL
376 #define LESENSE_DECCTRL_INTMAP_DEFAULT (_LESENSE_DECCTRL_INTMAP_DEFAULT << 2)
377 #define LESENSE_DECCTRL_HYSTPRS0 (0x1UL << 3)
378 #define _LESENSE_DECCTRL_HYSTPRS0_SHIFT 3
379 #define _LESENSE_DECCTRL_HYSTPRS0_MASK 0x8UL
380 #define _LESENSE_DECCTRL_HYSTPRS0_DEFAULT 0x00000000UL
381 #define LESENSE_DECCTRL_HYSTPRS0_DEFAULT (_LESENSE_DECCTRL_HYSTPRS0_DEFAULT << 3)
382 #define LESENSE_DECCTRL_HYSTPRS1 (0x1UL << 4)
383 #define _LESENSE_DECCTRL_HYSTPRS1_SHIFT 4
384 #define _LESENSE_DECCTRL_HYSTPRS1_MASK 0x10UL
385 #define _LESENSE_DECCTRL_HYSTPRS1_DEFAULT 0x00000000UL
386 #define LESENSE_DECCTRL_HYSTPRS1_DEFAULT (_LESENSE_DECCTRL_HYSTPRS1_DEFAULT << 4)
387 #define LESENSE_DECCTRL_HYSTPRS2 (0x1UL << 5)
388 #define _LESENSE_DECCTRL_HYSTPRS2_SHIFT 5
389 #define _LESENSE_DECCTRL_HYSTPRS2_MASK 0x20UL
390 #define _LESENSE_DECCTRL_HYSTPRS2_DEFAULT 0x00000000UL
391 #define LESENSE_DECCTRL_HYSTPRS2_DEFAULT (_LESENSE_DECCTRL_HYSTPRS2_DEFAULT << 5)
392 #define LESENSE_DECCTRL_HYSTIRQ (0x1UL << 6)
393 #define _LESENSE_DECCTRL_HYSTIRQ_SHIFT 6
394 #define _LESENSE_DECCTRL_HYSTIRQ_MASK 0x40UL
395 #define _LESENSE_DECCTRL_HYSTIRQ_DEFAULT 0x00000000UL
396 #define LESENSE_DECCTRL_HYSTIRQ_DEFAULT (_LESENSE_DECCTRL_HYSTIRQ_DEFAULT << 6)
397 #define LESENSE_DECCTRL_PRSCNT (0x1UL << 7)
398 #define _LESENSE_DECCTRL_PRSCNT_SHIFT 7
399 #define _LESENSE_DECCTRL_PRSCNT_MASK 0x80UL
400 #define _LESENSE_DECCTRL_PRSCNT_DEFAULT 0x00000000UL
401 #define LESENSE_DECCTRL_PRSCNT_DEFAULT (_LESENSE_DECCTRL_PRSCNT_DEFAULT << 7)
402 #define LESENSE_DECCTRL_INPUT (0x1UL << 8)
403 #define _LESENSE_DECCTRL_INPUT_SHIFT 8
404 #define _LESENSE_DECCTRL_INPUT_MASK 0x100UL
405 #define _LESENSE_DECCTRL_INPUT_DEFAULT 0x00000000UL
406 #define _LESENSE_DECCTRL_INPUT_SENSORSTATE 0x00000000UL
407 #define _LESENSE_DECCTRL_INPUT_PRS 0x00000001UL
408 #define LESENSE_DECCTRL_INPUT_DEFAULT (_LESENSE_DECCTRL_INPUT_DEFAULT << 8)
409 #define LESENSE_DECCTRL_INPUT_SENSORSTATE (_LESENSE_DECCTRL_INPUT_SENSORSTATE << 8)
410 #define LESENSE_DECCTRL_INPUT_PRS (_LESENSE_DECCTRL_INPUT_PRS << 8)
411 #define _LESENSE_DECCTRL_PRSSEL0_SHIFT 10
412 #define _LESENSE_DECCTRL_PRSSEL0_MASK 0x3C00UL
413 #define _LESENSE_DECCTRL_PRSSEL0_DEFAULT 0x00000000UL
414 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH0 0x00000000UL
415 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH1 0x00000001UL
416 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH2 0x00000002UL
417 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH3 0x00000003UL
418 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH4 0x00000004UL
419 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH5 0x00000005UL
420 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH6 0x00000006UL
421 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH7 0x00000007UL
422 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH8 0x00000008UL
423 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH9 0x00000009UL
424 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH10 0x0000000AUL
425 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH11 0x0000000BUL
426 #define LESENSE_DECCTRL_PRSSEL0_DEFAULT (_LESENSE_DECCTRL_PRSSEL0_DEFAULT << 10)
427 #define LESENSE_DECCTRL_PRSSEL0_PRSCH0 (_LESENSE_DECCTRL_PRSSEL0_PRSCH0 << 10)
428 #define LESENSE_DECCTRL_PRSSEL0_PRSCH1 (_LESENSE_DECCTRL_PRSSEL0_PRSCH1 << 10)
429 #define LESENSE_DECCTRL_PRSSEL0_PRSCH2 (_LESENSE_DECCTRL_PRSSEL0_PRSCH2 << 10)
430 #define LESENSE_DECCTRL_PRSSEL0_PRSCH3 (_LESENSE_DECCTRL_PRSSEL0_PRSCH3 << 10)
431 #define LESENSE_DECCTRL_PRSSEL0_PRSCH4 (_LESENSE_DECCTRL_PRSSEL0_PRSCH4 << 10)
432 #define LESENSE_DECCTRL_PRSSEL0_PRSCH5 (_LESENSE_DECCTRL_PRSSEL0_PRSCH5 << 10)
433 #define LESENSE_DECCTRL_PRSSEL0_PRSCH6 (_LESENSE_DECCTRL_PRSSEL0_PRSCH6 << 10)
434 #define LESENSE_DECCTRL_PRSSEL0_PRSCH7 (_LESENSE_DECCTRL_PRSSEL0_PRSCH7 << 10)
435 #define LESENSE_DECCTRL_PRSSEL0_PRSCH8 (_LESENSE_DECCTRL_PRSSEL0_PRSCH8 << 10)
436 #define LESENSE_DECCTRL_PRSSEL0_PRSCH9 (_LESENSE_DECCTRL_PRSSEL0_PRSCH9 << 10)
437 #define LESENSE_DECCTRL_PRSSEL0_PRSCH10 (_LESENSE_DECCTRL_PRSSEL0_PRSCH10 << 10)
438 #define LESENSE_DECCTRL_PRSSEL0_PRSCH11 (_LESENSE_DECCTRL_PRSSEL0_PRSCH11 << 10)
439 #define _LESENSE_DECCTRL_PRSSEL1_SHIFT 15
440 #define _LESENSE_DECCTRL_PRSSEL1_MASK 0x78000UL
441 #define _LESENSE_DECCTRL_PRSSEL1_DEFAULT 0x00000000UL
442 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH0 0x00000000UL
443 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH1 0x00000001UL
444 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH2 0x00000002UL
445 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH3 0x00000003UL
446 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH4 0x00000004UL
447 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH5 0x00000005UL
448 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH6 0x00000006UL
449 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH7 0x00000007UL
450 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH8 0x00000008UL
451 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH9 0x00000009UL
452 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH10 0x0000000AUL
453 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH11 0x0000000BUL
454 #define LESENSE_DECCTRL_PRSSEL1_DEFAULT (_LESENSE_DECCTRL_PRSSEL1_DEFAULT << 15)
455 #define LESENSE_DECCTRL_PRSSEL1_PRSCH0 (_LESENSE_DECCTRL_PRSSEL1_PRSCH0 << 15)
456 #define LESENSE_DECCTRL_PRSSEL1_PRSCH1 (_LESENSE_DECCTRL_PRSSEL1_PRSCH1 << 15)
457 #define LESENSE_DECCTRL_PRSSEL1_PRSCH2 (_LESENSE_DECCTRL_PRSSEL1_PRSCH2 << 15)
458 #define LESENSE_DECCTRL_PRSSEL1_PRSCH3 (_LESENSE_DECCTRL_PRSSEL1_PRSCH3 << 15)
459 #define LESENSE_DECCTRL_PRSSEL1_PRSCH4 (_LESENSE_DECCTRL_PRSSEL1_PRSCH4 << 15)
460 #define LESENSE_DECCTRL_PRSSEL1_PRSCH5 (_LESENSE_DECCTRL_PRSSEL1_PRSCH5 << 15)
461 #define LESENSE_DECCTRL_PRSSEL1_PRSCH6 (_LESENSE_DECCTRL_PRSSEL1_PRSCH6 << 15)
462 #define LESENSE_DECCTRL_PRSSEL1_PRSCH7 (_LESENSE_DECCTRL_PRSSEL1_PRSCH7 << 15)
463 #define LESENSE_DECCTRL_PRSSEL1_PRSCH8 (_LESENSE_DECCTRL_PRSSEL1_PRSCH8 << 15)
464 #define LESENSE_DECCTRL_PRSSEL1_PRSCH9 (_LESENSE_DECCTRL_PRSSEL1_PRSCH9 << 15)
465 #define LESENSE_DECCTRL_PRSSEL1_PRSCH10 (_LESENSE_DECCTRL_PRSSEL1_PRSCH10 << 15)
466 #define LESENSE_DECCTRL_PRSSEL1_PRSCH11 (_LESENSE_DECCTRL_PRSSEL1_PRSCH11 << 15)
467 #define _LESENSE_DECCTRL_PRSSEL2_SHIFT 20
468 #define _LESENSE_DECCTRL_PRSSEL2_MASK 0xF00000UL
469 #define _LESENSE_DECCTRL_PRSSEL2_DEFAULT 0x00000000UL
470 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH0 0x00000000UL
471 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH1 0x00000001UL
472 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH2 0x00000002UL
473 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH3 0x00000003UL
474 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH4 0x00000004UL
475 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH5 0x00000005UL
476 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH6 0x00000006UL
477 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH7 0x00000007UL
478 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH8 0x00000008UL
479 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH9 0x00000009UL
480 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH10 0x0000000AUL
481 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH11 0x0000000BUL
482 #define LESENSE_DECCTRL_PRSSEL2_DEFAULT (_LESENSE_DECCTRL_PRSSEL2_DEFAULT << 20)
483 #define LESENSE_DECCTRL_PRSSEL2_PRSCH0 (_LESENSE_DECCTRL_PRSSEL2_PRSCH0 << 20)
484 #define LESENSE_DECCTRL_PRSSEL2_PRSCH1 (_LESENSE_DECCTRL_PRSSEL2_PRSCH1 << 20)
485 #define LESENSE_DECCTRL_PRSSEL2_PRSCH2 (_LESENSE_DECCTRL_PRSSEL2_PRSCH2 << 20)
486 #define LESENSE_DECCTRL_PRSSEL2_PRSCH3 (_LESENSE_DECCTRL_PRSSEL2_PRSCH3 << 20)
487 #define LESENSE_DECCTRL_PRSSEL2_PRSCH4 (_LESENSE_DECCTRL_PRSSEL2_PRSCH4 << 20)
488 #define LESENSE_DECCTRL_PRSSEL2_PRSCH5 (_LESENSE_DECCTRL_PRSSEL2_PRSCH5 << 20)
489 #define LESENSE_DECCTRL_PRSSEL2_PRSCH6 (_LESENSE_DECCTRL_PRSSEL2_PRSCH6 << 20)
490 #define LESENSE_DECCTRL_PRSSEL2_PRSCH7 (_LESENSE_DECCTRL_PRSSEL2_PRSCH7 << 20)
491 #define LESENSE_DECCTRL_PRSSEL2_PRSCH8 (_LESENSE_DECCTRL_PRSSEL2_PRSCH8 << 20)
492 #define LESENSE_DECCTRL_PRSSEL2_PRSCH9 (_LESENSE_DECCTRL_PRSSEL2_PRSCH9 << 20)
493 #define LESENSE_DECCTRL_PRSSEL2_PRSCH10 (_LESENSE_DECCTRL_PRSSEL2_PRSCH10 << 20)
494 #define LESENSE_DECCTRL_PRSSEL2_PRSCH11 (_LESENSE_DECCTRL_PRSSEL2_PRSCH11 << 20)
495 #define _LESENSE_DECCTRL_PRSSEL3_SHIFT 25
496 #define _LESENSE_DECCTRL_PRSSEL3_MASK 0x1E000000UL
497 #define _LESENSE_DECCTRL_PRSSEL3_DEFAULT 0x00000000UL
498 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH0 0x00000000UL
499 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH1 0x00000001UL
500 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH2 0x00000002UL
501 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH3 0x00000003UL
502 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH4 0x00000004UL
503 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH5 0x00000005UL
504 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH6 0x00000006UL
505 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH7 0x00000007UL
506 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH8 0x00000008UL
507 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH9 0x00000009UL
508 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH10 0x0000000AUL
509 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH11 0x0000000BUL
510 #define LESENSE_DECCTRL_PRSSEL3_DEFAULT (_LESENSE_DECCTRL_PRSSEL3_DEFAULT << 25)
511 #define LESENSE_DECCTRL_PRSSEL3_PRSCH0 (_LESENSE_DECCTRL_PRSSEL3_PRSCH0 << 25)
512 #define LESENSE_DECCTRL_PRSSEL3_PRSCH1 (_LESENSE_DECCTRL_PRSSEL3_PRSCH1 << 25)
513 #define LESENSE_DECCTRL_PRSSEL3_PRSCH2 (_LESENSE_DECCTRL_PRSSEL3_PRSCH2 << 25)
514 #define LESENSE_DECCTRL_PRSSEL3_PRSCH3 (_LESENSE_DECCTRL_PRSSEL3_PRSCH3 << 25)
515 #define LESENSE_DECCTRL_PRSSEL3_PRSCH4 (_LESENSE_DECCTRL_PRSSEL3_PRSCH4 << 25)
516 #define LESENSE_DECCTRL_PRSSEL3_PRSCH5 (_LESENSE_DECCTRL_PRSSEL3_PRSCH5 << 25)
517 #define LESENSE_DECCTRL_PRSSEL3_PRSCH6 (_LESENSE_DECCTRL_PRSSEL3_PRSCH6 << 25)
518 #define LESENSE_DECCTRL_PRSSEL3_PRSCH7 (_LESENSE_DECCTRL_PRSSEL3_PRSCH7 << 25)
519 #define LESENSE_DECCTRL_PRSSEL3_PRSCH8 (_LESENSE_DECCTRL_PRSSEL3_PRSCH8 << 25)
520 #define LESENSE_DECCTRL_PRSSEL3_PRSCH9 (_LESENSE_DECCTRL_PRSSEL3_PRSCH9 << 25)
521 #define LESENSE_DECCTRL_PRSSEL3_PRSCH10 (_LESENSE_DECCTRL_PRSSEL3_PRSCH10 << 25)
522 #define LESENSE_DECCTRL_PRSSEL3_PRSCH11 (_LESENSE_DECCTRL_PRSSEL3_PRSCH11 << 25)
524 /* Bit fields for LESENSE BIASCTRL */
525 #define _LESENSE_BIASCTRL_RESETVALUE 0x00000000UL
526 #define _LESENSE_BIASCTRL_MASK 0x00000003UL
527 #define _LESENSE_BIASCTRL_BIASMODE_SHIFT 0
528 #define _LESENSE_BIASCTRL_BIASMODE_MASK 0x3UL
529 #define _LESENSE_BIASCTRL_BIASMODE_DEFAULT 0x00000000UL
530 #define _LESENSE_BIASCTRL_BIASMODE_DONTTOUCH 0x00000000UL
531 #define _LESENSE_BIASCTRL_BIASMODE_DUTYCYCLE 0x00000001UL
532 #define _LESENSE_BIASCTRL_BIASMODE_HIGHACC 0x00000002UL
533 #define LESENSE_BIASCTRL_BIASMODE_DEFAULT (_LESENSE_BIASCTRL_BIASMODE_DEFAULT << 0)
534 #define LESENSE_BIASCTRL_BIASMODE_DONTTOUCH (_LESENSE_BIASCTRL_BIASMODE_DONTTOUCH << 0)
535 #define LESENSE_BIASCTRL_BIASMODE_DUTYCYCLE (_LESENSE_BIASCTRL_BIASMODE_DUTYCYCLE << 0)
536 #define LESENSE_BIASCTRL_BIASMODE_HIGHACC (_LESENSE_BIASCTRL_BIASMODE_HIGHACC << 0)
538 /* Bit fields for LESENSE EVALCTRL */
539 #define _LESENSE_EVALCTRL_RESETVALUE 0x00000000UL
540 #define _LESENSE_EVALCTRL_MASK 0x0000FFFFUL
541 #define _LESENSE_EVALCTRL_WINSIZE_SHIFT 0
542 #define _LESENSE_EVALCTRL_WINSIZE_MASK 0xFFFFUL
543 #define _LESENSE_EVALCTRL_WINSIZE_DEFAULT 0x00000000UL
544 #define LESENSE_EVALCTRL_WINSIZE_DEFAULT (_LESENSE_EVALCTRL_WINSIZE_DEFAULT << 0)
546 /* Bit fields for LESENSE PRSCTRL */
547 #define _LESENSE_PRSCTRL_RESETVALUE 0x00000000UL
548 #define _LESENSE_PRSCTRL_MASK 0x00011F1FUL
549 #define _LESENSE_PRSCTRL_DECCMPVAL_SHIFT 0
550 #define _LESENSE_PRSCTRL_DECCMPVAL_MASK 0x1FUL
551 #define _LESENSE_PRSCTRL_DECCMPVAL_DEFAULT 0x00000000UL
552 #define LESENSE_PRSCTRL_DECCMPVAL_DEFAULT (_LESENSE_PRSCTRL_DECCMPVAL_DEFAULT << 0)
553 #define _LESENSE_PRSCTRL_DECCMPMASK_SHIFT 8
554 #define _LESENSE_PRSCTRL_DECCMPMASK_MASK 0x1F00UL
555 #define _LESENSE_PRSCTRL_DECCMPMASK_DEFAULT 0x00000000UL
556 #define LESENSE_PRSCTRL_DECCMPMASK_DEFAULT (_LESENSE_PRSCTRL_DECCMPMASK_DEFAULT << 8)
557 #define LESENSE_PRSCTRL_DECCMPEN (0x1UL << 16)
558 #define _LESENSE_PRSCTRL_DECCMPEN_SHIFT 16
559 #define _LESENSE_PRSCTRL_DECCMPEN_MASK 0x10000UL
560 #define _LESENSE_PRSCTRL_DECCMPEN_DEFAULT 0x00000000UL
561 #define LESENSE_PRSCTRL_DECCMPEN_DEFAULT (_LESENSE_PRSCTRL_DECCMPEN_DEFAULT << 16)
563 /* Bit fields for LESENSE CMD */
564 #define _LESENSE_CMD_RESETVALUE 0x00000000UL
565 #define _LESENSE_CMD_MASK 0x0000000FUL
566 #define LESENSE_CMD_START (0x1UL << 0)
567 #define _LESENSE_CMD_START_SHIFT 0
568 #define _LESENSE_CMD_START_MASK 0x1UL
569 #define _LESENSE_CMD_START_DEFAULT 0x00000000UL
570 #define LESENSE_CMD_START_DEFAULT (_LESENSE_CMD_START_DEFAULT << 0)
571 #define LESENSE_CMD_STOP (0x1UL << 1)
572 #define _LESENSE_CMD_STOP_SHIFT 1
573 #define _LESENSE_CMD_STOP_MASK 0x2UL
574 #define _LESENSE_CMD_STOP_DEFAULT 0x00000000UL
575 #define LESENSE_CMD_STOP_DEFAULT (_LESENSE_CMD_STOP_DEFAULT << 1)
576 #define LESENSE_CMD_DECODE (0x1UL << 2)
577 #define _LESENSE_CMD_DECODE_SHIFT 2
578 #define _LESENSE_CMD_DECODE_MASK 0x4UL
579 #define _LESENSE_CMD_DECODE_DEFAULT 0x00000000UL
580 #define LESENSE_CMD_DECODE_DEFAULT (_LESENSE_CMD_DECODE_DEFAULT << 2)
581 #define LESENSE_CMD_CLEARBUF (0x1UL << 3)
582 #define _LESENSE_CMD_CLEARBUF_SHIFT 3
583 #define _LESENSE_CMD_CLEARBUF_MASK 0x8UL
584 #define _LESENSE_CMD_CLEARBUF_DEFAULT 0x00000000UL
585 #define LESENSE_CMD_CLEARBUF_DEFAULT (_LESENSE_CMD_CLEARBUF_DEFAULT << 3)
587 /* Bit fields for LESENSE CHEN */
588 #define _LESENSE_CHEN_RESETVALUE 0x00000000UL
589 #define _LESENSE_CHEN_MASK 0x0000FFFFUL
590 #define _LESENSE_CHEN_CHEN_SHIFT 0
591 #define _LESENSE_CHEN_CHEN_MASK 0xFFFFUL
592 #define _LESENSE_CHEN_CHEN_DEFAULT 0x00000000UL
593 #define LESENSE_CHEN_CHEN_DEFAULT (_LESENSE_CHEN_CHEN_DEFAULT << 0)
595 /* Bit fields for LESENSE SCANRES */
596 #define _LESENSE_SCANRES_RESETVALUE 0x00000000UL
597 #define _LESENSE_SCANRES_MASK 0xFFFFFFFFUL
598 #define _LESENSE_SCANRES_SCANRES_SHIFT 0
599 #define _LESENSE_SCANRES_SCANRES_MASK 0xFFFFUL
600 #define _LESENSE_SCANRES_SCANRES_DEFAULT 0x00000000UL
601 #define LESENSE_SCANRES_SCANRES_DEFAULT (_LESENSE_SCANRES_SCANRES_DEFAULT << 0)
602 #define _LESENSE_SCANRES_STEPDIR_SHIFT 16
603 #define _LESENSE_SCANRES_STEPDIR_MASK 0xFFFF0000UL
604 #define _LESENSE_SCANRES_STEPDIR_DEFAULT 0x00000000UL
605 #define LESENSE_SCANRES_STEPDIR_DEFAULT (_LESENSE_SCANRES_STEPDIR_DEFAULT << 16)
607 /* Bit fields for LESENSE STATUS */
608 #define _LESENSE_STATUS_RESETVALUE 0x00000000UL
609 #define _LESENSE_STATUS_MASK 0x0000003FUL
610 #define LESENSE_STATUS_BUFDATAV (0x1UL << 0)
611 #define _LESENSE_STATUS_BUFDATAV_SHIFT 0
612 #define _LESENSE_STATUS_BUFDATAV_MASK 0x1UL
613 #define _LESENSE_STATUS_BUFDATAV_DEFAULT 0x00000000UL
614 #define LESENSE_STATUS_BUFDATAV_DEFAULT (_LESENSE_STATUS_BUFDATAV_DEFAULT << 0)
615 #define LESENSE_STATUS_BUFHALFFULL (0x1UL << 1)
616 #define _LESENSE_STATUS_BUFHALFFULL_SHIFT 1
617 #define _LESENSE_STATUS_BUFHALFFULL_MASK 0x2UL
618 #define _LESENSE_STATUS_BUFHALFFULL_DEFAULT 0x00000000UL
619 #define LESENSE_STATUS_BUFHALFFULL_DEFAULT (_LESENSE_STATUS_BUFHALFFULL_DEFAULT << 1)
620 #define LESENSE_STATUS_BUFFULL (0x1UL << 2)
621 #define _LESENSE_STATUS_BUFFULL_SHIFT 2
622 #define _LESENSE_STATUS_BUFFULL_MASK 0x4UL
623 #define _LESENSE_STATUS_BUFFULL_DEFAULT 0x00000000UL
624 #define LESENSE_STATUS_BUFFULL_DEFAULT (_LESENSE_STATUS_BUFFULL_DEFAULT << 2)
625 #define LESENSE_STATUS_RUNNING (0x1UL << 3)
626 #define _LESENSE_STATUS_RUNNING_SHIFT 3
627 #define _LESENSE_STATUS_RUNNING_MASK 0x8UL
628 #define _LESENSE_STATUS_RUNNING_DEFAULT 0x00000000UL
629 #define LESENSE_STATUS_RUNNING_DEFAULT (_LESENSE_STATUS_RUNNING_DEFAULT << 3)
630 #define LESENSE_STATUS_SCANACTIVE (0x1UL << 4)
631 #define _LESENSE_STATUS_SCANACTIVE_SHIFT 4
632 #define _LESENSE_STATUS_SCANACTIVE_MASK 0x10UL
633 #define _LESENSE_STATUS_SCANACTIVE_DEFAULT 0x00000000UL
634 #define LESENSE_STATUS_SCANACTIVE_DEFAULT (_LESENSE_STATUS_SCANACTIVE_DEFAULT << 4)
635 #define LESENSE_STATUS_DACACTIVE (0x1UL << 5)
636 #define _LESENSE_STATUS_DACACTIVE_SHIFT 5
637 #define _LESENSE_STATUS_DACACTIVE_MASK 0x20UL
638 #define _LESENSE_STATUS_DACACTIVE_DEFAULT 0x00000000UL
639 #define LESENSE_STATUS_DACACTIVE_DEFAULT (_LESENSE_STATUS_DACACTIVE_DEFAULT << 5)
641 /* Bit fields for LESENSE PTR */
642 #define _LESENSE_PTR_RESETVALUE 0x00000000UL
643 #define _LESENSE_PTR_MASK 0x000000FFUL
644 #define _LESENSE_PTR_RD_SHIFT 0
645 #define _LESENSE_PTR_RD_MASK 0xFUL
646 #define _LESENSE_PTR_RD_DEFAULT 0x00000000UL
647 #define LESENSE_PTR_RD_DEFAULT (_LESENSE_PTR_RD_DEFAULT << 0)
648 #define _LESENSE_PTR_WR_SHIFT 4
649 #define _LESENSE_PTR_WR_MASK 0xF0UL
650 #define _LESENSE_PTR_WR_DEFAULT 0x00000000UL
651 #define LESENSE_PTR_WR_DEFAULT (_LESENSE_PTR_WR_DEFAULT << 4)
653 /* Bit fields for LESENSE BUFDATA */
654 #define _LESENSE_BUFDATA_RESETVALUE 0x00000000UL
655 #define _LESENSE_BUFDATA_MASK 0x000FFFFFUL
656 #define _LESENSE_BUFDATA_BUFDATA_SHIFT 0
657 #define _LESENSE_BUFDATA_BUFDATA_MASK 0xFFFFUL
658 #define _LESENSE_BUFDATA_BUFDATA_DEFAULT 0x00000000UL
659 #define LESENSE_BUFDATA_BUFDATA_DEFAULT (_LESENSE_BUFDATA_BUFDATA_DEFAULT << 0)
660 #define _LESENSE_BUFDATA_BUFDATASRC_SHIFT 16
661 #define _LESENSE_BUFDATA_BUFDATASRC_MASK 0xF0000UL
662 #define _LESENSE_BUFDATA_BUFDATASRC_DEFAULT 0x00000000UL
663 #define LESENSE_BUFDATA_BUFDATASRC_DEFAULT (_LESENSE_BUFDATA_BUFDATASRC_DEFAULT << 16)
665 /* Bit fields for LESENSE CURCH */
666 #define _LESENSE_CURCH_RESETVALUE 0x00000000UL
667 #define _LESENSE_CURCH_MASK 0x0000000FUL
668 #define _LESENSE_CURCH_CURCH_SHIFT 0
669 #define _LESENSE_CURCH_CURCH_MASK 0xFUL
670 #define _LESENSE_CURCH_CURCH_DEFAULT 0x00000000UL
671 #define LESENSE_CURCH_CURCH_DEFAULT (_LESENSE_CURCH_CURCH_DEFAULT << 0)
673 /* Bit fields for LESENSE DECSTATE */
674 #define _LESENSE_DECSTATE_RESETVALUE 0x00000000UL
675 #define _LESENSE_DECSTATE_MASK 0x0000001FUL
676 #define _LESENSE_DECSTATE_DECSTATE_SHIFT 0
677 #define _LESENSE_DECSTATE_DECSTATE_MASK 0x1FUL
678 #define _LESENSE_DECSTATE_DECSTATE_DEFAULT 0x00000000UL
679 #define LESENSE_DECSTATE_DECSTATE_DEFAULT (_LESENSE_DECSTATE_DECSTATE_DEFAULT << 0)
681 /* Bit fields for LESENSE SENSORSTATE */
682 #define _LESENSE_SENSORSTATE_RESETVALUE 0x00000000UL
683 #define _LESENSE_SENSORSTATE_MASK 0x0000000FUL
684 #define _LESENSE_SENSORSTATE_SENSORSTATE_SHIFT 0
685 #define _LESENSE_SENSORSTATE_SENSORSTATE_MASK 0xFUL
686 #define _LESENSE_SENSORSTATE_SENSORSTATE_DEFAULT 0x00000000UL
687 #define LESENSE_SENSORSTATE_SENSORSTATE_DEFAULT (_LESENSE_SENSORSTATE_SENSORSTATE_DEFAULT << 0)
689 /* Bit fields for LESENSE IDLECONF */
690 #define _LESENSE_IDLECONF_RESETVALUE 0x00000000UL
691 #define _LESENSE_IDLECONF_MASK 0xFFFFFFFFUL
692 #define _LESENSE_IDLECONF_CH0_SHIFT 0
693 #define _LESENSE_IDLECONF_CH0_MASK 0x3UL
694 #define _LESENSE_IDLECONF_CH0_DEFAULT 0x00000000UL
695 #define _LESENSE_IDLECONF_CH0_DISABLE 0x00000000UL
696 #define _LESENSE_IDLECONF_CH0_HIGH 0x00000001UL
697 #define _LESENSE_IDLECONF_CH0_LOW 0x00000002UL
698 #define _LESENSE_IDLECONF_CH0_DAC 0x00000003UL
699 #define LESENSE_IDLECONF_CH0_DEFAULT (_LESENSE_IDLECONF_CH0_DEFAULT << 0)
700 #define LESENSE_IDLECONF_CH0_DISABLE (_LESENSE_IDLECONF_CH0_DISABLE << 0)
701 #define LESENSE_IDLECONF_CH0_HIGH (_LESENSE_IDLECONF_CH0_HIGH << 0)
702 #define LESENSE_IDLECONF_CH0_LOW (_LESENSE_IDLECONF_CH0_LOW << 0)
703 #define LESENSE_IDLECONF_CH0_DAC (_LESENSE_IDLECONF_CH0_DAC << 0)
704 #define _LESENSE_IDLECONF_CH1_SHIFT 2
705 #define _LESENSE_IDLECONF_CH1_MASK 0xCUL
706 #define _LESENSE_IDLECONF_CH1_DEFAULT 0x00000000UL
707 #define _LESENSE_IDLECONF_CH1_DISABLE 0x00000000UL
708 #define _LESENSE_IDLECONF_CH1_HIGH 0x00000001UL
709 #define _LESENSE_IDLECONF_CH1_LOW 0x00000002UL
710 #define _LESENSE_IDLECONF_CH1_DAC 0x00000003UL
711 #define LESENSE_IDLECONF_CH1_DEFAULT (_LESENSE_IDLECONF_CH1_DEFAULT << 2)
712 #define LESENSE_IDLECONF_CH1_DISABLE (_LESENSE_IDLECONF_CH1_DISABLE << 2)
713 #define LESENSE_IDLECONF_CH1_HIGH (_LESENSE_IDLECONF_CH1_HIGH << 2)
714 #define LESENSE_IDLECONF_CH1_LOW (_LESENSE_IDLECONF_CH1_LOW << 2)
715 #define LESENSE_IDLECONF_CH1_DAC (_LESENSE_IDLECONF_CH1_DAC << 2)
716 #define _LESENSE_IDLECONF_CH2_SHIFT 4
717 #define _LESENSE_IDLECONF_CH2_MASK 0x30UL
718 #define _LESENSE_IDLECONF_CH2_DEFAULT 0x00000000UL
719 #define _LESENSE_IDLECONF_CH2_DISABLE 0x00000000UL
720 #define _LESENSE_IDLECONF_CH2_HIGH 0x00000001UL
721 #define _LESENSE_IDLECONF_CH2_LOW 0x00000002UL
722 #define _LESENSE_IDLECONF_CH2_DAC 0x00000003UL
723 #define LESENSE_IDLECONF_CH2_DEFAULT (_LESENSE_IDLECONF_CH2_DEFAULT << 4)
724 #define LESENSE_IDLECONF_CH2_DISABLE (_LESENSE_IDLECONF_CH2_DISABLE << 4)
725 #define LESENSE_IDLECONF_CH2_HIGH (_LESENSE_IDLECONF_CH2_HIGH << 4)
726 #define LESENSE_IDLECONF_CH2_LOW (_LESENSE_IDLECONF_CH2_LOW << 4)
727 #define LESENSE_IDLECONF_CH2_DAC (_LESENSE_IDLECONF_CH2_DAC << 4)
728 #define _LESENSE_IDLECONF_CH3_SHIFT 6
729 #define _LESENSE_IDLECONF_CH3_MASK 0xC0UL
730 #define _LESENSE_IDLECONF_CH3_DEFAULT 0x00000000UL
731 #define _LESENSE_IDLECONF_CH3_DISABLE 0x00000000UL
732 #define _LESENSE_IDLECONF_CH3_HIGH 0x00000001UL
733 #define _LESENSE_IDLECONF_CH3_LOW 0x00000002UL
734 #define _LESENSE_IDLECONF_CH3_DAC 0x00000003UL
735 #define LESENSE_IDLECONF_CH3_DEFAULT (_LESENSE_IDLECONF_CH3_DEFAULT << 6)
736 #define LESENSE_IDLECONF_CH3_DISABLE (_LESENSE_IDLECONF_CH3_DISABLE << 6)
737 #define LESENSE_IDLECONF_CH3_HIGH (_LESENSE_IDLECONF_CH3_HIGH << 6)
738 #define LESENSE_IDLECONF_CH3_LOW (_LESENSE_IDLECONF_CH3_LOW << 6)
739 #define LESENSE_IDLECONF_CH3_DAC (_LESENSE_IDLECONF_CH3_DAC << 6)
740 #define _LESENSE_IDLECONF_CH4_SHIFT 8
741 #define _LESENSE_IDLECONF_CH4_MASK 0x300UL
742 #define _LESENSE_IDLECONF_CH4_DEFAULT 0x00000000UL
743 #define _LESENSE_IDLECONF_CH4_DISABLE 0x00000000UL
744 #define _LESENSE_IDLECONF_CH4_HIGH 0x00000001UL
745 #define _LESENSE_IDLECONF_CH4_LOW 0x00000002UL
746 #define _LESENSE_IDLECONF_CH4_DAC 0x00000003UL
747 #define LESENSE_IDLECONF_CH4_DEFAULT (_LESENSE_IDLECONF_CH4_DEFAULT << 8)
748 #define LESENSE_IDLECONF_CH4_DISABLE (_LESENSE_IDLECONF_CH4_DISABLE << 8)
749 #define LESENSE_IDLECONF_CH4_HIGH (_LESENSE_IDLECONF_CH4_HIGH << 8)
750 #define LESENSE_IDLECONF_CH4_LOW (_LESENSE_IDLECONF_CH4_LOW << 8)
751 #define LESENSE_IDLECONF_CH4_DAC (_LESENSE_IDLECONF_CH4_DAC << 8)
752 #define _LESENSE_IDLECONF_CH5_SHIFT 10
753 #define _LESENSE_IDLECONF_CH5_MASK 0xC00UL
754 #define _LESENSE_IDLECONF_CH5_DEFAULT 0x00000000UL
755 #define _LESENSE_IDLECONF_CH5_DISABLE 0x00000000UL
756 #define _LESENSE_IDLECONF_CH5_HIGH 0x00000001UL
757 #define _LESENSE_IDLECONF_CH5_LOW 0x00000002UL
758 #define _LESENSE_IDLECONF_CH5_DAC 0x00000003UL
759 #define LESENSE_IDLECONF_CH5_DEFAULT (_LESENSE_IDLECONF_CH5_DEFAULT << 10)
760 #define LESENSE_IDLECONF_CH5_DISABLE (_LESENSE_IDLECONF_CH5_DISABLE << 10)
761 #define LESENSE_IDLECONF_CH5_HIGH (_LESENSE_IDLECONF_CH5_HIGH << 10)
762 #define LESENSE_IDLECONF_CH5_LOW (_LESENSE_IDLECONF_CH5_LOW << 10)
763 #define LESENSE_IDLECONF_CH5_DAC (_LESENSE_IDLECONF_CH5_DAC << 10)
764 #define _LESENSE_IDLECONF_CH6_SHIFT 12
765 #define _LESENSE_IDLECONF_CH6_MASK 0x3000UL
766 #define _LESENSE_IDLECONF_CH6_DEFAULT 0x00000000UL
767 #define _LESENSE_IDLECONF_CH6_DISABLE 0x00000000UL
768 #define _LESENSE_IDLECONF_CH6_HIGH 0x00000001UL
769 #define _LESENSE_IDLECONF_CH6_LOW 0x00000002UL
770 #define _LESENSE_IDLECONF_CH6_DAC 0x00000003UL
771 #define LESENSE_IDLECONF_CH6_DEFAULT (_LESENSE_IDLECONF_CH6_DEFAULT << 12)
772 #define LESENSE_IDLECONF_CH6_DISABLE (_LESENSE_IDLECONF_CH6_DISABLE << 12)
773 #define LESENSE_IDLECONF_CH6_HIGH (_LESENSE_IDLECONF_CH6_HIGH << 12)
774 #define LESENSE_IDLECONF_CH6_LOW (_LESENSE_IDLECONF_CH6_LOW << 12)
775 #define LESENSE_IDLECONF_CH6_DAC (_LESENSE_IDLECONF_CH6_DAC << 12)
776 #define _LESENSE_IDLECONF_CH7_SHIFT 14
777 #define _LESENSE_IDLECONF_CH7_MASK 0xC000UL
778 #define _LESENSE_IDLECONF_CH7_DEFAULT 0x00000000UL
779 #define _LESENSE_IDLECONF_CH7_DISABLE 0x00000000UL
780 #define _LESENSE_IDLECONF_CH7_HIGH 0x00000001UL
781 #define _LESENSE_IDLECONF_CH7_LOW 0x00000002UL
782 #define _LESENSE_IDLECONF_CH7_DAC 0x00000003UL
783 #define LESENSE_IDLECONF_CH7_DEFAULT (_LESENSE_IDLECONF_CH7_DEFAULT << 14)
784 #define LESENSE_IDLECONF_CH7_DISABLE (_LESENSE_IDLECONF_CH7_DISABLE << 14)
785 #define LESENSE_IDLECONF_CH7_HIGH (_LESENSE_IDLECONF_CH7_HIGH << 14)
786 #define LESENSE_IDLECONF_CH7_LOW (_LESENSE_IDLECONF_CH7_LOW << 14)
787 #define LESENSE_IDLECONF_CH7_DAC (_LESENSE_IDLECONF_CH7_DAC << 14)
788 #define _LESENSE_IDLECONF_CH8_SHIFT 16
789 #define _LESENSE_IDLECONF_CH8_MASK 0x30000UL
790 #define _LESENSE_IDLECONF_CH8_DEFAULT 0x00000000UL
791 #define _LESENSE_IDLECONF_CH8_DISABLE 0x00000000UL
792 #define _LESENSE_IDLECONF_CH8_HIGH 0x00000001UL
793 #define _LESENSE_IDLECONF_CH8_LOW 0x00000002UL
794 #define _LESENSE_IDLECONF_CH8_DAC 0x00000003UL
795 #define LESENSE_IDLECONF_CH8_DEFAULT (_LESENSE_IDLECONF_CH8_DEFAULT << 16)
796 #define LESENSE_IDLECONF_CH8_DISABLE (_LESENSE_IDLECONF_CH8_DISABLE << 16)
797 #define LESENSE_IDLECONF_CH8_HIGH (_LESENSE_IDLECONF_CH8_HIGH << 16)
798 #define LESENSE_IDLECONF_CH8_LOW (_LESENSE_IDLECONF_CH8_LOW << 16)
799 #define LESENSE_IDLECONF_CH8_DAC (_LESENSE_IDLECONF_CH8_DAC << 16)
800 #define _LESENSE_IDLECONF_CH9_SHIFT 18
801 #define _LESENSE_IDLECONF_CH9_MASK 0xC0000UL
802 #define _LESENSE_IDLECONF_CH9_DEFAULT 0x00000000UL
803 #define _LESENSE_IDLECONF_CH9_DISABLE 0x00000000UL
804 #define _LESENSE_IDLECONF_CH9_HIGH 0x00000001UL
805 #define _LESENSE_IDLECONF_CH9_LOW 0x00000002UL
806 #define _LESENSE_IDLECONF_CH9_DAC 0x00000003UL
807 #define LESENSE_IDLECONF_CH9_DEFAULT (_LESENSE_IDLECONF_CH9_DEFAULT << 18)
808 #define LESENSE_IDLECONF_CH9_DISABLE (_LESENSE_IDLECONF_CH9_DISABLE << 18)
809 #define LESENSE_IDLECONF_CH9_HIGH (_LESENSE_IDLECONF_CH9_HIGH << 18)
810 #define LESENSE_IDLECONF_CH9_LOW (_LESENSE_IDLECONF_CH9_LOW << 18)
811 #define LESENSE_IDLECONF_CH9_DAC (_LESENSE_IDLECONF_CH9_DAC << 18)
812 #define _LESENSE_IDLECONF_CH10_SHIFT 20
813 #define _LESENSE_IDLECONF_CH10_MASK 0x300000UL
814 #define _LESENSE_IDLECONF_CH10_DEFAULT 0x00000000UL
815 #define _LESENSE_IDLECONF_CH10_DISABLE 0x00000000UL
816 #define _LESENSE_IDLECONF_CH10_HIGH 0x00000001UL
817 #define _LESENSE_IDLECONF_CH10_LOW 0x00000002UL
818 #define _LESENSE_IDLECONF_CH10_DAC 0x00000003UL
819 #define LESENSE_IDLECONF_CH10_DEFAULT (_LESENSE_IDLECONF_CH10_DEFAULT << 20)
820 #define LESENSE_IDLECONF_CH10_DISABLE (_LESENSE_IDLECONF_CH10_DISABLE << 20)
821 #define LESENSE_IDLECONF_CH10_HIGH (_LESENSE_IDLECONF_CH10_HIGH << 20)
822 #define LESENSE_IDLECONF_CH10_LOW (_LESENSE_IDLECONF_CH10_LOW << 20)
823 #define LESENSE_IDLECONF_CH10_DAC (_LESENSE_IDLECONF_CH10_DAC << 20)
824 #define _LESENSE_IDLECONF_CH11_SHIFT 22
825 #define _LESENSE_IDLECONF_CH11_MASK 0xC00000UL
826 #define _LESENSE_IDLECONF_CH11_DEFAULT 0x00000000UL
827 #define _LESENSE_IDLECONF_CH11_DISABLE 0x00000000UL
828 #define _LESENSE_IDLECONF_CH11_HIGH 0x00000001UL
829 #define _LESENSE_IDLECONF_CH11_LOW 0x00000002UL
830 #define _LESENSE_IDLECONF_CH11_DAC 0x00000003UL
831 #define LESENSE_IDLECONF_CH11_DEFAULT (_LESENSE_IDLECONF_CH11_DEFAULT << 22)
832 #define LESENSE_IDLECONF_CH11_DISABLE (_LESENSE_IDLECONF_CH11_DISABLE << 22)
833 #define LESENSE_IDLECONF_CH11_HIGH (_LESENSE_IDLECONF_CH11_HIGH << 22)
834 #define LESENSE_IDLECONF_CH11_LOW (_LESENSE_IDLECONF_CH11_LOW << 22)
835 #define LESENSE_IDLECONF_CH11_DAC (_LESENSE_IDLECONF_CH11_DAC << 22)
836 #define _LESENSE_IDLECONF_CH12_SHIFT 24
837 #define _LESENSE_IDLECONF_CH12_MASK 0x3000000UL
838 #define _LESENSE_IDLECONF_CH12_DEFAULT 0x00000000UL
839 #define _LESENSE_IDLECONF_CH12_DISABLE 0x00000000UL
840 #define _LESENSE_IDLECONF_CH12_HIGH 0x00000001UL
841 #define _LESENSE_IDLECONF_CH12_LOW 0x00000002UL
842 #define _LESENSE_IDLECONF_CH12_DAC 0x00000003UL
843 #define LESENSE_IDLECONF_CH12_DEFAULT (_LESENSE_IDLECONF_CH12_DEFAULT << 24)
844 #define LESENSE_IDLECONF_CH12_DISABLE (_LESENSE_IDLECONF_CH12_DISABLE << 24)
845 #define LESENSE_IDLECONF_CH12_HIGH (_LESENSE_IDLECONF_CH12_HIGH << 24)
846 #define LESENSE_IDLECONF_CH12_LOW (_LESENSE_IDLECONF_CH12_LOW << 24)
847 #define LESENSE_IDLECONF_CH12_DAC (_LESENSE_IDLECONF_CH12_DAC << 24)
848 #define _LESENSE_IDLECONF_CH13_SHIFT 26
849 #define _LESENSE_IDLECONF_CH13_MASK 0xC000000UL
850 #define _LESENSE_IDLECONF_CH13_DEFAULT 0x00000000UL
851 #define _LESENSE_IDLECONF_CH13_DISABLE 0x00000000UL
852 #define _LESENSE_IDLECONF_CH13_HIGH 0x00000001UL
853 #define _LESENSE_IDLECONF_CH13_LOW 0x00000002UL
854 #define _LESENSE_IDLECONF_CH13_DAC 0x00000003UL
855 #define LESENSE_IDLECONF_CH13_DEFAULT (_LESENSE_IDLECONF_CH13_DEFAULT << 26)
856 #define LESENSE_IDLECONF_CH13_DISABLE (_LESENSE_IDLECONF_CH13_DISABLE << 26)
857 #define LESENSE_IDLECONF_CH13_HIGH (_LESENSE_IDLECONF_CH13_HIGH << 26)
858 #define LESENSE_IDLECONF_CH13_LOW (_LESENSE_IDLECONF_CH13_LOW << 26)
859 #define LESENSE_IDLECONF_CH13_DAC (_LESENSE_IDLECONF_CH13_DAC << 26)
860 #define _LESENSE_IDLECONF_CH14_SHIFT 28
861 #define _LESENSE_IDLECONF_CH14_MASK 0x30000000UL
862 #define _LESENSE_IDLECONF_CH14_DEFAULT 0x00000000UL
863 #define _LESENSE_IDLECONF_CH14_DISABLE 0x00000000UL
864 #define _LESENSE_IDLECONF_CH14_HIGH 0x00000001UL
865 #define _LESENSE_IDLECONF_CH14_LOW 0x00000002UL
866 #define _LESENSE_IDLECONF_CH14_DAC 0x00000003UL
867 #define LESENSE_IDLECONF_CH14_DEFAULT (_LESENSE_IDLECONF_CH14_DEFAULT << 28)
868 #define LESENSE_IDLECONF_CH14_DISABLE (_LESENSE_IDLECONF_CH14_DISABLE << 28)
869 #define LESENSE_IDLECONF_CH14_HIGH (_LESENSE_IDLECONF_CH14_HIGH << 28)
870 #define LESENSE_IDLECONF_CH14_LOW (_LESENSE_IDLECONF_CH14_LOW << 28)
871 #define LESENSE_IDLECONF_CH14_DAC (_LESENSE_IDLECONF_CH14_DAC << 28)
872 #define _LESENSE_IDLECONF_CH15_SHIFT 30
873 #define _LESENSE_IDLECONF_CH15_MASK 0xC0000000UL
874 #define _LESENSE_IDLECONF_CH15_DEFAULT 0x00000000UL
875 #define _LESENSE_IDLECONF_CH15_DISABLE 0x00000000UL
876 #define _LESENSE_IDLECONF_CH15_HIGH 0x00000001UL
877 #define _LESENSE_IDLECONF_CH15_LOW 0x00000002UL
878 #define _LESENSE_IDLECONF_CH15_DAC 0x00000003UL
879 #define LESENSE_IDLECONF_CH15_DEFAULT (_LESENSE_IDLECONF_CH15_DEFAULT << 30)
880 #define LESENSE_IDLECONF_CH15_DISABLE (_LESENSE_IDLECONF_CH15_DISABLE << 30)
881 #define LESENSE_IDLECONF_CH15_HIGH (_LESENSE_IDLECONF_CH15_HIGH << 30)
882 #define LESENSE_IDLECONF_CH15_LOW (_LESENSE_IDLECONF_CH15_LOW << 30)
883 #define LESENSE_IDLECONF_CH15_DAC (_LESENSE_IDLECONF_CH15_DAC << 30)
885 /* Bit fields for LESENSE ALTEXCONF */
886 #define _LESENSE_ALTEXCONF_RESETVALUE 0x00000000UL
887 #define _LESENSE_ALTEXCONF_MASK 0x00FFFFFFUL
888 #define _LESENSE_ALTEXCONF_IDLECONF0_SHIFT 0
889 #define _LESENSE_ALTEXCONF_IDLECONF0_MASK 0x3UL
890 #define _LESENSE_ALTEXCONF_IDLECONF0_DEFAULT 0x00000000UL
891 #define _LESENSE_ALTEXCONF_IDLECONF0_DISABLE 0x00000000UL
892 #define _LESENSE_ALTEXCONF_IDLECONF0_HIGH 0x00000001UL
893 #define _LESENSE_ALTEXCONF_IDLECONF0_LOW 0x00000002UL
894 #define LESENSE_ALTEXCONF_IDLECONF0_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF0_DEFAULT << 0)
895 #define LESENSE_ALTEXCONF_IDLECONF0_DISABLE (_LESENSE_ALTEXCONF_IDLECONF0_DISABLE << 0)
896 #define LESENSE_ALTEXCONF_IDLECONF0_HIGH (_LESENSE_ALTEXCONF_IDLECONF0_HIGH << 0)
897 #define LESENSE_ALTEXCONF_IDLECONF0_LOW (_LESENSE_ALTEXCONF_IDLECONF0_LOW << 0)
898 #define _LESENSE_ALTEXCONF_IDLECONF1_SHIFT 2
899 #define _LESENSE_ALTEXCONF_IDLECONF1_MASK 0xCUL
900 #define _LESENSE_ALTEXCONF_IDLECONF1_DEFAULT 0x00000000UL
901 #define _LESENSE_ALTEXCONF_IDLECONF1_DISABLE 0x00000000UL
902 #define _LESENSE_ALTEXCONF_IDLECONF1_HIGH 0x00000001UL
903 #define _LESENSE_ALTEXCONF_IDLECONF1_LOW 0x00000002UL
904 #define LESENSE_ALTEXCONF_IDLECONF1_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF1_DEFAULT << 2)
905 #define LESENSE_ALTEXCONF_IDLECONF1_DISABLE (_LESENSE_ALTEXCONF_IDLECONF1_DISABLE << 2)
906 #define LESENSE_ALTEXCONF_IDLECONF1_HIGH (_LESENSE_ALTEXCONF_IDLECONF1_HIGH << 2)
907 #define LESENSE_ALTEXCONF_IDLECONF1_LOW (_LESENSE_ALTEXCONF_IDLECONF1_LOW << 2)
908 #define _LESENSE_ALTEXCONF_IDLECONF2_SHIFT 4
909 #define _LESENSE_ALTEXCONF_IDLECONF2_MASK 0x30UL
910 #define _LESENSE_ALTEXCONF_IDLECONF2_DEFAULT 0x00000000UL
911 #define _LESENSE_ALTEXCONF_IDLECONF2_DISABLE 0x00000000UL
912 #define _LESENSE_ALTEXCONF_IDLECONF2_HIGH 0x00000001UL
913 #define _LESENSE_ALTEXCONF_IDLECONF2_LOW 0x00000002UL
914 #define LESENSE_ALTEXCONF_IDLECONF2_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF2_DEFAULT << 4)
915 #define LESENSE_ALTEXCONF_IDLECONF2_DISABLE (_LESENSE_ALTEXCONF_IDLECONF2_DISABLE << 4)
916 #define LESENSE_ALTEXCONF_IDLECONF2_HIGH (_LESENSE_ALTEXCONF_IDLECONF2_HIGH << 4)
917 #define LESENSE_ALTEXCONF_IDLECONF2_LOW (_LESENSE_ALTEXCONF_IDLECONF2_LOW << 4)
918 #define _LESENSE_ALTEXCONF_IDLECONF3_SHIFT 6
919 #define _LESENSE_ALTEXCONF_IDLECONF3_MASK 0xC0UL
920 #define _LESENSE_ALTEXCONF_IDLECONF3_DEFAULT 0x00000000UL
921 #define _LESENSE_ALTEXCONF_IDLECONF3_DISABLE 0x00000000UL
922 #define _LESENSE_ALTEXCONF_IDLECONF3_HIGH 0x00000001UL
923 #define _LESENSE_ALTEXCONF_IDLECONF3_LOW 0x00000002UL
924 #define LESENSE_ALTEXCONF_IDLECONF3_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF3_DEFAULT << 6)
925 #define LESENSE_ALTEXCONF_IDLECONF3_DISABLE (_LESENSE_ALTEXCONF_IDLECONF3_DISABLE << 6)
926 #define LESENSE_ALTEXCONF_IDLECONF3_HIGH (_LESENSE_ALTEXCONF_IDLECONF3_HIGH << 6)
927 #define LESENSE_ALTEXCONF_IDLECONF3_LOW (_LESENSE_ALTEXCONF_IDLECONF3_LOW << 6)
928 #define _LESENSE_ALTEXCONF_IDLECONF4_SHIFT 8
929 #define _LESENSE_ALTEXCONF_IDLECONF4_MASK 0x300UL
930 #define _LESENSE_ALTEXCONF_IDLECONF4_DEFAULT 0x00000000UL
931 #define _LESENSE_ALTEXCONF_IDLECONF4_DISABLE 0x00000000UL
932 #define _LESENSE_ALTEXCONF_IDLECONF4_HIGH 0x00000001UL
933 #define _LESENSE_ALTEXCONF_IDLECONF4_LOW 0x00000002UL
934 #define LESENSE_ALTEXCONF_IDLECONF4_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF4_DEFAULT << 8)
935 #define LESENSE_ALTEXCONF_IDLECONF4_DISABLE (_LESENSE_ALTEXCONF_IDLECONF4_DISABLE << 8)
936 #define LESENSE_ALTEXCONF_IDLECONF4_HIGH (_LESENSE_ALTEXCONF_IDLECONF4_HIGH << 8)
937 #define LESENSE_ALTEXCONF_IDLECONF4_LOW (_LESENSE_ALTEXCONF_IDLECONF4_LOW << 8)
938 #define _LESENSE_ALTEXCONF_IDLECONF5_SHIFT 10
939 #define _LESENSE_ALTEXCONF_IDLECONF5_MASK 0xC00UL
940 #define _LESENSE_ALTEXCONF_IDLECONF5_DEFAULT 0x00000000UL
941 #define _LESENSE_ALTEXCONF_IDLECONF5_DISABLE 0x00000000UL
942 #define _LESENSE_ALTEXCONF_IDLECONF5_HIGH 0x00000001UL
943 #define _LESENSE_ALTEXCONF_IDLECONF5_LOW 0x00000002UL
944 #define LESENSE_ALTEXCONF_IDLECONF5_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF5_DEFAULT << 10)
945 #define LESENSE_ALTEXCONF_IDLECONF5_DISABLE (_LESENSE_ALTEXCONF_IDLECONF5_DISABLE << 10)
946 #define LESENSE_ALTEXCONF_IDLECONF5_HIGH (_LESENSE_ALTEXCONF_IDLECONF5_HIGH << 10)
947 #define LESENSE_ALTEXCONF_IDLECONF5_LOW (_LESENSE_ALTEXCONF_IDLECONF5_LOW << 10)
948 #define _LESENSE_ALTEXCONF_IDLECONF6_SHIFT 12
949 #define _LESENSE_ALTEXCONF_IDLECONF6_MASK 0x3000UL
950 #define _LESENSE_ALTEXCONF_IDLECONF6_DEFAULT 0x00000000UL
951 #define _LESENSE_ALTEXCONF_IDLECONF6_DISABLE 0x00000000UL
952 #define _LESENSE_ALTEXCONF_IDLECONF6_HIGH 0x00000001UL
953 #define _LESENSE_ALTEXCONF_IDLECONF6_LOW 0x00000002UL
954 #define LESENSE_ALTEXCONF_IDLECONF6_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF6_DEFAULT << 12)
955 #define LESENSE_ALTEXCONF_IDLECONF6_DISABLE (_LESENSE_ALTEXCONF_IDLECONF6_DISABLE << 12)
956 #define LESENSE_ALTEXCONF_IDLECONF6_HIGH (_LESENSE_ALTEXCONF_IDLECONF6_HIGH << 12)
957 #define LESENSE_ALTEXCONF_IDLECONF6_LOW (_LESENSE_ALTEXCONF_IDLECONF6_LOW << 12)
958 #define _LESENSE_ALTEXCONF_IDLECONF7_SHIFT 14
959 #define _LESENSE_ALTEXCONF_IDLECONF7_MASK 0xC000UL
960 #define _LESENSE_ALTEXCONF_IDLECONF7_DEFAULT 0x00000000UL
961 #define _LESENSE_ALTEXCONF_IDLECONF7_DISABLE 0x00000000UL
962 #define _LESENSE_ALTEXCONF_IDLECONF7_HIGH 0x00000001UL
963 #define _LESENSE_ALTEXCONF_IDLECONF7_LOW 0x00000002UL
964 #define LESENSE_ALTEXCONF_IDLECONF7_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF7_DEFAULT << 14)
965 #define LESENSE_ALTEXCONF_IDLECONF7_DISABLE (_LESENSE_ALTEXCONF_IDLECONF7_DISABLE << 14)
966 #define LESENSE_ALTEXCONF_IDLECONF7_HIGH (_LESENSE_ALTEXCONF_IDLECONF7_HIGH << 14)
967 #define LESENSE_ALTEXCONF_IDLECONF7_LOW (_LESENSE_ALTEXCONF_IDLECONF7_LOW << 14)
968 #define LESENSE_ALTEXCONF_AEX0 (0x1UL << 16)
969 #define _LESENSE_ALTEXCONF_AEX0_SHIFT 16
970 #define _LESENSE_ALTEXCONF_AEX0_MASK 0x10000UL
971 #define _LESENSE_ALTEXCONF_AEX0_DEFAULT 0x00000000UL
972 #define LESENSE_ALTEXCONF_AEX0_DEFAULT (_LESENSE_ALTEXCONF_AEX0_DEFAULT << 16)
973 #define LESENSE_ALTEXCONF_AEX1 (0x1UL << 17)
974 #define _LESENSE_ALTEXCONF_AEX1_SHIFT 17
975 #define _LESENSE_ALTEXCONF_AEX1_MASK 0x20000UL
976 #define _LESENSE_ALTEXCONF_AEX1_DEFAULT 0x00000000UL
977 #define LESENSE_ALTEXCONF_AEX1_DEFAULT (_LESENSE_ALTEXCONF_AEX1_DEFAULT << 17)
978 #define LESENSE_ALTEXCONF_AEX2 (0x1UL << 18)
979 #define _LESENSE_ALTEXCONF_AEX2_SHIFT 18
980 #define _LESENSE_ALTEXCONF_AEX2_MASK 0x40000UL
981 #define _LESENSE_ALTEXCONF_AEX2_DEFAULT 0x00000000UL
982 #define LESENSE_ALTEXCONF_AEX2_DEFAULT (_LESENSE_ALTEXCONF_AEX2_DEFAULT << 18)
983 #define LESENSE_ALTEXCONF_AEX3 (0x1UL << 19)
984 #define _LESENSE_ALTEXCONF_AEX3_SHIFT 19
985 #define _LESENSE_ALTEXCONF_AEX3_MASK 0x80000UL
986 #define _LESENSE_ALTEXCONF_AEX3_DEFAULT 0x00000000UL
987 #define LESENSE_ALTEXCONF_AEX3_DEFAULT (_LESENSE_ALTEXCONF_AEX3_DEFAULT << 19)
988 #define LESENSE_ALTEXCONF_AEX4 (0x1UL << 20)
989 #define _LESENSE_ALTEXCONF_AEX4_SHIFT 20
990 #define _LESENSE_ALTEXCONF_AEX4_MASK 0x100000UL
991 #define _LESENSE_ALTEXCONF_AEX4_DEFAULT 0x00000000UL
992 #define LESENSE_ALTEXCONF_AEX4_DEFAULT (_LESENSE_ALTEXCONF_AEX4_DEFAULT << 20)
993 #define LESENSE_ALTEXCONF_AEX5 (0x1UL << 21)
994 #define _LESENSE_ALTEXCONF_AEX5_SHIFT 21
995 #define _LESENSE_ALTEXCONF_AEX5_MASK 0x200000UL
996 #define _LESENSE_ALTEXCONF_AEX5_DEFAULT 0x00000000UL
997 #define LESENSE_ALTEXCONF_AEX5_DEFAULT (_LESENSE_ALTEXCONF_AEX5_DEFAULT << 21)
998 #define LESENSE_ALTEXCONF_AEX6 (0x1UL << 22)
999 #define _LESENSE_ALTEXCONF_AEX6_SHIFT 22
1000 #define _LESENSE_ALTEXCONF_AEX6_MASK 0x400000UL
1001 #define _LESENSE_ALTEXCONF_AEX6_DEFAULT 0x00000000UL
1002 #define LESENSE_ALTEXCONF_AEX6_DEFAULT (_LESENSE_ALTEXCONF_AEX6_DEFAULT << 22)
1003 #define LESENSE_ALTEXCONF_AEX7 (0x1UL << 23)
1004 #define _LESENSE_ALTEXCONF_AEX7_SHIFT 23
1005 #define _LESENSE_ALTEXCONF_AEX7_MASK 0x800000UL
1006 #define _LESENSE_ALTEXCONF_AEX7_DEFAULT 0x00000000UL
1007 #define LESENSE_ALTEXCONF_AEX7_DEFAULT (_LESENSE_ALTEXCONF_AEX7_DEFAULT << 23)
1009 /* Bit fields for LESENSE IF */
1010 #define _LESENSE_IF_RESETVALUE 0x00000000UL
1011 #define _LESENSE_IF_MASK 0x007FFFFFUL
1012 #define LESENSE_IF_CH0 (0x1UL << 0)
1013 #define _LESENSE_IF_CH0_SHIFT 0
1014 #define _LESENSE_IF_CH0_MASK 0x1UL
1015 #define _LESENSE_IF_CH0_DEFAULT 0x00000000UL
1016 #define LESENSE_IF_CH0_DEFAULT (_LESENSE_IF_CH0_DEFAULT << 0)
1017 #define LESENSE_IF_CH1 (0x1UL << 1)
1018 #define _LESENSE_IF_CH1_SHIFT 1
1019 #define _LESENSE_IF_CH1_MASK 0x2UL
1020 #define _LESENSE_IF_CH1_DEFAULT 0x00000000UL
1021 #define LESENSE_IF_CH1_DEFAULT (_LESENSE_IF_CH1_DEFAULT << 1)
1022 #define LESENSE_IF_CH2 (0x1UL << 2)
1023 #define _LESENSE_IF_CH2_SHIFT 2
1024 #define _LESENSE_IF_CH2_MASK 0x4UL
1025 #define _LESENSE_IF_CH2_DEFAULT 0x00000000UL
1026 #define LESENSE_IF_CH2_DEFAULT (_LESENSE_IF_CH2_DEFAULT << 2)
1027 #define LESENSE_IF_CH3 (0x1UL << 3)
1028 #define _LESENSE_IF_CH3_SHIFT 3
1029 #define _LESENSE_IF_CH3_MASK 0x8UL
1030 #define _LESENSE_IF_CH3_DEFAULT 0x00000000UL
1031 #define LESENSE_IF_CH3_DEFAULT (_LESENSE_IF_CH3_DEFAULT << 3)
1032 #define LESENSE_IF_CH4 (0x1UL << 4)
1033 #define _LESENSE_IF_CH4_SHIFT 4
1034 #define _LESENSE_IF_CH4_MASK 0x10UL
1035 #define _LESENSE_IF_CH4_DEFAULT 0x00000000UL
1036 #define LESENSE_IF_CH4_DEFAULT (_LESENSE_IF_CH4_DEFAULT << 4)
1037 #define LESENSE_IF_CH5 (0x1UL << 5)
1038 #define _LESENSE_IF_CH5_SHIFT 5
1039 #define _LESENSE_IF_CH5_MASK 0x20UL
1040 #define _LESENSE_IF_CH5_DEFAULT 0x00000000UL
1041 #define LESENSE_IF_CH5_DEFAULT (_LESENSE_IF_CH5_DEFAULT << 5)
1042 #define LESENSE_IF_CH6 (0x1UL << 6)
1043 #define _LESENSE_IF_CH6_SHIFT 6
1044 #define _LESENSE_IF_CH6_MASK 0x40UL
1045 #define _LESENSE_IF_CH6_DEFAULT 0x00000000UL
1046 #define LESENSE_IF_CH6_DEFAULT (_LESENSE_IF_CH6_DEFAULT << 6)
1047 #define LESENSE_IF_CH7 (0x1UL << 7)
1048 #define _LESENSE_IF_CH7_SHIFT 7
1049 #define _LESENSE_IF_CH7_MASK 0x80UL
1050 #define _LESENSE_IF_CH7_DEFAULT 0x00000000UL
1051 #define LESENSE_IF_CH7_DEFAULT (_LESENSE_IF_CH7_DEFAULT << 7)
1052 #define LESENSE_IF_CH8 (0x1UL << 8)
1053 #define _LESENSE_IF_CH8_SHIFT 8
1054 #define _LESENSE_IF_CH8_MASK 0x100UL
1055 #define _LESENSE_IF_CH8_DEFAULT 0x00000000UL
1056 #define LESENSE_IF_CH8_DEFAULT (_LESENSE_IF_CH8_DEFAULT << 8)
1057 #define LESENSE_IF_CH9 (0x1UL << 9)
1058 #define _LESENSE_IF_CH9_SHIFT 9
1059 #define _LESENSE_IF_CH9_MASK 0x200UL
1060 #define _LESENSE_IF_CH9_DEFAULT 0x00000000UL
1061 #define LESENSE_IF_CH9_DEFAULT (_LESENSE_IF_CH9_DEFAULT << 9)
1062 #define LESENSE_IF_CH10 (0x1UL << 10)
1063 #define _LESENSE_IF_CH10_SHIFT 10
1064 #define _LESENSE_IF_CH10_MASK 0x400UL
1065 #define _LESENSE_IF_CH10_DEFAULT 0x00000000UL
1066 #define LESENSE_IF_CH10_DEFAULT (_LESENSE_IF_CH10_DEFAULT << 10)
1067 #define LESENSE_IF_CH11 (0x1UL << 11)
1068 #define _LESENSE_IF_CH11_SHIFT 11
1069 #define _LESENSE_IF_CH11_MASK 0x800UL
1070 #define _LESENSE_IF_CH11_DEFAULT 0x00000000UL
1071 #define LESENSE_IF_CH11_DEFAULT (_LESENSE_IF_CH11_DEFAULT << 11)
1072 #define LESENSE_IF_CH12 (0x1UL << 12)
1073 #define _LESENSE_IF_CH12_SHIFT 12
1074 #define _LESENSE_IF_CH12_MASK 0x1000UL
1075 #define _LESENSE_IF_CH12_DEFAULT 0x00000000UL
1076 #define LESENSE_IF_CH12_DEFAULT (_LESENSE_IF_CH12_DEFAULT << 12)
1077 #define LESENSE_IF_CH13 (0x1UL << 13)
1078 #define _LESENSE_IF_CH13_SHIFT 13
1079 #define _LESENSE_IF_CH13_MASK 0x2000UL
1080 #define _LESENSE_IF_CH13_DEFAULT 0x00000000UL
1081 #define LESENSE_IF_CH13_DEFAULT (_LESENSE_IF_CH13_DEFAULT << 13)
1082 #define LESENSE_IF_CH14 (0x1UL << 14)
1083 #define _LESENSE_IF_CH14_SHIFT 14
1084 #define _LESENSE_IF_CH14_MASK 0x4000UL
1085 #define _LESENSE_IF_CH14_DEFAULT 0x00000000UL
1086 #define LESENSE_IF_CH14_DEFAULT (_LESENSE_IF_CH14_DEFAULT << 14)
1087 #define LESENSE_IF_CH15 (0x1UL << 15)
1088 #define _LESENSE_IF_CH15_SHIFT 15
1089 #define _LESENSE_IF_CH15_MASK 0x8000UL
1090 #define _LESENSE_IF_CH15_DEFAULT 0x00000000UL
1091 #define LESENSE_IF_CH15_DEFAULT (_LESENSE_IF_CH15_DEFAULT << 15)
1092 #define LESENSE_IF_SCANCOMPLETE (0x1UL << 16)
1093 #define _LESENSE_IF_SCANCOMPLETE_SHIFT 16
1094 #define _LESENSE_IF_SCANCOMPLETE_MASK 0x10000UL
1095 #define _LESENSE_IF_SCANCOMPLETE_DEFAULT 0x00000000UL
1096 #define LESENSE_IF_SCANCOMPLETE_DEFAULT (_LESENSE_IF_SCANCOMPLETE_DEFAULT << 16)
1097 #define LESENSE_IF_DEC (0x1UL << 17)
1098 #define _LESENSE_IF_DEC_SHIFT 17
1099 #define _LESENSE_IF_DEC_MASK 0x20000UL
1100 #define _LESENSE_IF_DEC_DEFAULT 0x00000000UL
1101 #define LESENSE_IF_DEC_DEFAULT (_LESENSE_IF_DEC_DEFAULT << 17)
1102 #define LESENSE_IF_DECERR (0x1UL << 18)
1103 #define _LESENSE_IF_DECERR_SHIFT 18
1104 #define _LESENSE_IF_DECERR_MASK 0x40000UL
1105 #define _LESENSE_IF_DECERR_DEFAULT 0x00000000UL
1106 #define LESENSE_IF_DECERR_DEFAULT (_LESENSE_IF_DECERR_DEFAULT << 18)
1107 #define LESENSE_IF_BUFDATAV (0x1UL << 19)
1108 #define _LESENSE_IF_BUFDATAV_SHIFT 19
1109 #define _LESENSE_IF_BUFDATAV_MASK 0x80000UL
1110 #define _LESENSE_IF_BUFDATAV_DEFAULT 0x00000000UL
1111 #define LESENSE_IF_BUFDATAV_DEFAULT (_LESENSE_IF_BUFDATAV_DEFAULT << 19)
1112 #define LESENSE_IF_BUFLEVEL (0x1UL << 20)
1113 #define _LESENSE_IF_BUFLEVEL_SHIFT 20
1114 #define _LESENSE_IF_BUFLEVEL_MASK 0x100000UL
1115 #define _LESENSE_IF_BUFLEVEL_DEFAULT 0x00000000UL
1116 #define LESENSE_IF_BUFLEVEL_DEFAULT (_LESENSE_IF_BUFLEVEL_DEFAULT << 20)
1117 #define LESENSE_IF_BUFOF (0x1UL << 21)
1118 #define _LESENSE_IF_BUFOF_SHIFT 21
1119 #define _LESENSE_IF_BUFOF_MASK 0x200000UL
1120 #define _LESENSE_IF_BUFOF_DEFAULT 0x00000000UL
1121 #define LESENSE_IF_BUFOF_DEFAULT (_LESENSE_IF_BUFOF_DEFAULT << 21)
1122 #define LESENSE_IF_CNTOF (0x1UL << 22)
1123 #define _LESENSE_IF_CNTOF_SHIFT 22
1124 #define _LESENSE_IF_CNTOF_MASK 0x400000UL
1125 #define _LESENSE_IF_CNTOF_DEFAULT 0x00000000UL
1126 #define LESENSE_IF_CNTOF_DEFAULT (_LESENSE_IF_CNTOF_DEFAULT << 22)
1128 /* Bit fields for LESENSE IFS */
1129 #define _LESENSE_IFS_RESETVALUE 0x00000000UL
1130 #define _LESENSE_IFS_MASK 0x007FFFFFUL
1131 #define LESENSE_IFS_CH0 (0x1UL << 0)
1132 #define _LESENSE_IFS_CH0_SHIFT 0
1133 #define _LESENSE_IFS_CH0_MASK 0x1UL
1134 #define _LESENSE_IFS_CH0_DEFAULT 0x00000000UL
1135 #define LESENSE_IFS_CH0_DEFAULT (_LESENSE_IFS_CH0_DEFAULT << 0)
1136 #define LESENSE_IFS_CH1 (0x1UL << 1)
1137 #define _LESENSE_IFS_CH1_SHIFT 1
1138 #define _LESENSE_IFS_CH1_MASK 0x2UL
1139 #define _LESENSE_IFS_CH1_DEFAULT 0x00000000UL
1140 #define LESENSE_IFS_CH1_DEFAULT (_LESENSE_IFS_CH1_DEFAULT << 1)
1141 #define LESENSE_IFS_CH2 (0x1UL << 2)
1142 #define _LESENSE_IFS_CH2_SHIFT 2
1143 #define _LESENSE_IFS_CH2_MASK 0x4UL
1144 #define _LESENSE_IFS_CH2_DEFAULT 0x00000000UL
1145 #define LESENSE_IFS_CH2_DEFAULT (_LESENSE_IFS_CH2_DEFAULT << 2)
1146 #define LESENSE_IFS_CH3 (0x1UL << 3)
1147 #define _LESENSE_IFS_CH3_SHIFT 3
1148 #define _LESENSE_IFS_CH3_MASK 0x8UL
1149 #define _LESENSE_IFS_CH3_DEFAULT 0x00000000UL
1150 #define LESENSE_IFS_CH3_DEFAULT (_LESENSE_IFS_CH3_DEFAULT << 3)
1151 #define LESENSE_IFS_CH4 (0x1UL << 4)
1152 #define _LESENSE_IFS_CH4_SHIFT 4
1153 #define _LESENSE_IFS_CH4_MASK 0x10UL
1154 #define _LESENSE_IFS_CH4_DEFAULT 0x00000000UL
1155 #define LESENSE_IFS_CH4_DEFAULT (_LESENSE_IFS_CH4_DEFAULT << 4)
1156 #define LESENSE_IFS_CH5 (0x1UL << 5)
1157 #define _LESENSE_IFS_CH5_SHIFT 5
1158 #define _LESENSE_IFS_CH5_MASK 0x20UL
1159 #define _LESENSE_IFS_CH5_DEFAULT 0x00000000UL
1160 #define LESENSE_IFS_CH5_DEFAULT (_LESENSE_IFS_CH5_DEFAULT << 5)
1161 #define LESENSE_IFS_CH6 (0x1UL << 6)
1162 #define _LESENSE_IFS_CH6_SHIFT 6
1163 #define _LESENSE_IFS_CH6_MASK 0x40UL
1164 #define _LESENSE_IFS_CH6_DEFAULT 0x00000000UL
1165 #define LESENSE_IFS_CH6_DEFAULT (_LESENSE_IFS_CH6_DEFAULT << 6)
1166 #define LESENSE_IFS_CH7 (0x1UL << 7)
1167 #define _LESENSE_IFS_CH7_SHIFT 7
1168 #define _LESENSE_IFS_CH7_MASK 0x80UL
1169 #define _LESENSE_IFS_CH7_DEFAULT 0x00000000UL
1170 #define LESENSE_IFS_CH7_DEFAULT (_LESENSE_IFS_CH7_DEFAULT << 7)
1171 #define LESENSE_IFS_CH8 (0x1UL << 8)
1172 #define _LESENSE_IFS_CH8_SHIFT 8
1173 #define _LESENSE_IFS_CH8_MASK 0x100UL
1174 #define _LESENSE_IFS_CH8_DEFAULT 0x00000000UL
1175 #define LESENSE_IFS_CH8_DEFAULT (_LESENSE_IFS_CH8_DEFAULT << 8)
1176 #define LESENSE_IFS_CH9 (0x1UL << 9)
1177 #define _LESENSE_IFS_CH9_SHIFT 9
1178 #define _LESENSE_IFS_CH9_MASK 0x200UL
1179 #define _LESENSE_IFS_CH9_DEFAULT 0x00000000UL
1180 #define LESENSE_IFS_CH9_DEFAULT (_LESENSE_IFS_CH9_DEFAULT << 9)
1181 #define LESENSE_IFS_CH10 (0x1UL << 10)
1182 #define _LESENSE_IFS_CH10_SHIFT 10
1183 #define _LESENSE_IFS_CH10_MASK 0x400UL
1184 #define _LESENSE_IFS_CH10_DEFAULT 0x00000000UL
1185 #define LESENSE_IFS_CH10_DEFAULT (_LESENSE_IFS_CH10_DEFAULT << 10)
1186 #define LESENSE_IFS_CH11 (0x1UL << 11)
1187 #define _LESENSE_IFS_CH11_SHIFT 11
1188 #define _LESENSE_IFS_CH11_MASK 0x800UL
1189 #define _LESENSE_IFS_CH11_DEFAULT 0x00000000UL
1190 #define LESENSE_IFS_CH11_DEFAULT (_LESENSE_IFS_CH11_DEFAULT << 11)
1191 #define LESENSE_IFS_CH12 (0x1UL << 12)
1192 #define _LESENSE_IFS_CH12_SHIFT 12
1193 #define _LESENSE_IFS_CH12_MASK 0x1000UL
1194 #define _LESENSE_IFS_CH12_DEFAULT 0x00000000UL
1195 #define LESENSE_IFS_CH12_DEFAULT (_LESENSE_IFS_CH12_DEFAULT << 12)
1196 #define LESENSE_IFS_CH13 (0x1UL << 13)
1197 #define _LESENSE_IFS_CH13_SHIFT 13
1198 #define _LESENSE_IFS_CH13_MASK 0x2000UL
1199 #define _LESENSE_IFS_CH13_DEFAULT 0x00000000UL
1200 #define LESENSE_IFS_CH13_DEFAULT (_LESENSE_IFS_CH13_DEFAULT << 13)
1201 #define LESENSE_IFS_CH14 (0x1UL << 14)
1202 #define _LESENSE_IFS_CH14_SHIFT 14
1203 #define _LESENSE_IFS_CH14_MASK 0x4000UL
1204 #define _LESENSE_IFS_CH14_DEFAULT 0x00000000UL
1205 #define LESENSE_IFS_CH14_DEFAULT (_LESENSE_IFS_CH14_DEFAULT << 14)
1206 #define LESENSE_IFS_CH15 (0x1UL << 15)
1207 #define _LESENSE_IFS_CH15_SHIFT 15
1208 #define _LESENSE_IFS_CH15_MASK 0x8000UL
1209 #define _LESENSE_IFS_CH15_DEFAULT 0x00000000UL
1210 #define LESENSE_IFS_CH15_DEFAULT (_LESENSE_IFS_CH15_DEFAULT << 15)
1211 #define LESENSE_IFS_SCANCOMPLETE (0x1UL << 16)
1212 #define _LESENSE_IFS_SCANCOMPLETE_SHIFT 16
1213 #define _LESENSE_IFS_SCANCOMPLETE_MASK 0x10000UL
1214 #define _LESENSE_IFS_SCANCOMPLETE_DEFAULT 0x00000000UL
1215 #define LESENSE_IFS_SCANCOMPLETE_DEFAULT (_LESENSE_IFS_SCANCOMPLETE_DEFAULT << 16)
1216 #define LESENSE_IFS_DEC (0x1UL << 17)
1217 #define _LESENSE_IFS_DEC_SHIFT 17
1218 #define _LESENSE_IFS_DEC_MASK 0x20000UL
1219 #define _LESENSE_IFS_DEC_DEFAULT 0x00000000UL
1220 #define LESENSE_IFS_DEC_DEFAULT (_LESENSE_IFS_DEC_DEFAULT << 17)
1221 #define LESENSE_IFS_DECERR (0x1UL << 18)
1222 #define _LESENSE_IFS_DECERR_SHIFT 18
1223 #define _LESENSE_IFS_DECERR_MASK 0x40000UL
1224 #define _LESENSE_IFS_DECERR_DEFAULT 0x00000000UL
1225 #define LESENSE_IFS_DECERR_DEFAULT (_LESENSE_IFS_DECERR_DEFAULT << 18)
1226 #define LESENSE_IFS_BUFDATAV (0x1UL << 19)
1227 #define _LESENSE_IFS_BUFDATAV_SHIFT 19
1228 #define _LESENSE_IFS_BUFDATAV_MASK 0x80000UL
1229 #define _LESENSE_IFS_BUFDATAV_DEFAULT 0x00000000UL
1230 #define LESENSE_IFS_BUFDATAV_DEFAULT (_LESENSE_IFS_BUFDATAV_DEFAULT << 19)
1231 #define LESENSE_IFS_BUFLEVEL (0x1UL << 20)
1232 #define _LESENSE_IFS_BUFLEVEL_SHIFT 20
1233 #define _LESENSE_IFS_BUFLEVEL_MASK 0x100000UL
1234 #define _LESENSE_IFS_BUFLEVEL_DEFAULT 0x00000000UL
1235 #define LESENSE_IFS_BUFLEVEL_DEFAULT (_LESENSE_IFS_BUFLEVEL_DEFAULT << 20)
1236 #define LESENSE_IFS_BUFOF (0x1UL << 21)
1237 #define _LESENSE_IFS_BUFOF_SHIFT 21
1238 #define _LESENSE_IFS_BUFOF_MASK 0x200000UL
1239 #define _LESENSE_IFS_BUFOF_DEFAULT 0x00000000UL
1240 #define LESENSE_IFS_BUFOF_DEFAULT (_LESENSE_IFS_BUFOF_DEFAULT << 21)
1241 #define LESENSE_IFS_CNTOF (0x1UL << 22)
1242 #define _LESENSE_IFS_CNTOF_SHIFT 22
1243 #define _LESENSE_IFS_CNTOF_MASK 0x400000UL
1244 #define _LESENSE_IFS_CNTOF_DEFAULT 0x00000000UL
1245 #define LESENSE_IFS_CNTOF_DEFAULT (_LESENSE_IFS_CNTOF_DEFAULT << 22)
1247 /* Bit fields for LESENSE IFC */
1248 #define _LESENSE_IFC_RESETVALUE 0x00000000UL
1249 #define _LESENSE_IFC_MASK 0x007FFFFFUL
1250 #define LESENSE_IFC_CH0 (0x1UL << 0)
1251 #define _LESENSE_IFC_CH0_SHIFT 0
1252 #define _LESENSE_IFC_CH0_MASK 0x1UL
1253 #define _LESENSE_IFC_CH0_DEFAULT 0x00000000UL
1254 #define LESENSE_IFC_CH0_DEFAULT (_LESENSE_IFC_CH0_DEFAULT << 0)
1255 #define LESENSE_IFC_CH1 (0x1UL << 1)
1256 #define _LESENSE_IFC_CH1_SHIFT 1
1257 #define _LESENSE_IFC_CH1_MASK 0x2UL
1258 #define _LESENSE_IFC_CH1_DEFAULT 0x00000000UL
1259 #define LESENSE_IFC_CH1_DEFAULT (_LESENSE_IFC_CH1_DEFAULT << 1)
1260 #define LESENSE_IFC_CH2 (0x1UL << 2)
1261 #define _LESENSE_IFC_CH2_SHIFT 2
1262 #define _LESENSE_IFC_CH2_MASK 0x4UL
1263 #define _LESENSE_IFC_CH2_DEFAULT 0x00000000UL
1264 #define LESENSE_IFC_CH2_DEFAULT (_LESENSE_IFC_CH2_DEFAULT << 2)
1265 #define LESENSE_IFC_CH3 (0x1UL << 3)
1266 #define _LESENSE_IFC_CH3_SHIFT 3
1267 #define _LESENSE_IFC_CH3_MASK 0x8UL
1268 #define _LESENSE_IFC_CH3_DEFAULT 0x00000000UL
1269 #define LESENSE_IFC_CH3_DEFAULT (_LESENSE_IFC_CH3_DEFAULT << 3)
1270 #define LESENSE_IFC_CH4 (0x1UL << 4)
1271 #define _LESENSE_IFC_CH4_SHIFT 4
1272 #define _LESENSE_IFC_CH4_MASK 0x10UL
1273 #define _LESENSE_IFC_CH4_DEFAULT 0x00000000UL
1274 #define LESENSE_IFC_CH4_DEFAULT (_LESENSE_IFC_CH4_DEFAULT << 4)
1275 #define LESENSE_IFC_CH5 (0x1UL << 5)
1276 #define _LESENSE_IFC_CH5_SHIFT 5
1277 #define _LESENSE_IFC_CH5_MASK 0x20UL
1278 #define _LESENSE_IFC_CH5_DEFAULT 0x00000000UL
1279 #define LESENSE_IFC_CH5_DEFAULT (_LESENSE_IFC_CH5_DEFAULT << 5)
1280 #define LESENSE_IFC_CH6 (0x1UL << 6)
1281 #define _LESENSE_IFC_CH6_SHIFT 6
1282 #define _LESENSE_IFC_CH6_MASK 0x40UL
1283 #define _LESENSE_IFC_CH6_DEFAULT 0x00000000UL
1284 #define LESENSE_IFC_CH6_DEFAULT (_LESENSE_IFC_CH6_DEFAULT << 6)
1285 #define LESENSE_IFC_CH7 (0x1UL << 7)
1286 #define _LESENSE_IFC_CH7_SHIFT 7
1287 #define _LESENSE_IFC_CH7_MASK 0x80UL
1288 #define _LESENSE_IFC_CH7_DEFAULT 0x00000000UL
1289 #define LESENSE_IFC_CH7_DEFAULT (_LESENSE_IFC_CH7_DEFAULT << 7)
1290 #define LESENSE_IFC_CH8 (0x1UL << 8)
1291 #define _LESENSE_IFC_CH8_SHIFT 8
1292 #define _LESENSE_IFC_CH8_MASK 0x100UL
1293 #define _LESENSE_IFC_CH8_DEFAULT 0x00000000UL
1294 #define LESENSE_IFC_CH8_DEFAULT (_LESENSE_IFC_CH8_DEFAULT << 8)
1295 #define LESENSE_IFC_CH9 (0x1UL << 9)
1296 #define _LESENSE_IFC_CH9_SHIFT 9
1297 #define _LESENSE_IFC_CH9_MASK 0x200UL
1298 #define _LESENSE_IFC_CH9_DEFAULT 0x00000000UL
1299 #define LESENSE_IFC_CH9_DEFAULT (_LESENSE_IFC_CH9_DEFAULT << 9)
1300 #define LESENSE_IFC_CH10 (0x1UL << 10)
1301 #define _LESENSE_IFC_CH10_SHIFT 10
1302 #define _LESENSE_IFC_CH10_MASK 0x400UL
1303 #define _LESENSE_IFC_CH10_DEFAULT 0x00000000UL
1304 #define LESENSE_IFC_CH10_DEFAULT (_LESENSE_IFC_CH10_DEFAULT << 10)
1305 #define LESENSE_IFC_CH11 (0x1UL << 11)
1306 #define _LESENSE_IFC_CH11_SHIFT 11
1307 #define _LESENSE_IFC_CH11_MASK 0x800UL
1308 #define _LESENSE_IFC_CH11_DEFAULT 0x00000000UL
1309 #define LESENSE_IFC_CH11_DEFAULT (_LESENSE_IFC_CH11_DEFAULT << 11)
1310 #define LESENSE_IFC_CH12 (0x1UL << 12)
1311 #define _LESENSE_IFC_CH12_SHIFT 12
1312 #define _LESENSE_IFC_CH12_MASK 0x1000UL
1313 #define _LESENSE_IFC_CH12_DEFAULT 0x00000000UL
1314 #define LESENSE_IFC_CH12_DEFAULT (_LESENSE_IFC_CH12_DEFAULT << 12)
1315 #define LESENSE_IFC_CH13 (0x1UL << 13)
1316 #define _LESENSE_IFC_CH13_SHIFT 13
1317 #define _LESENSE_IFC_CH13_MASK 0x2000UL
1318 #define _LESENSE_IFC_CH13_DEFAULT 0x00000000UL
1319 #define LESENSE_IFC_CH13_DEFAULT (_LESENSE_IFC_CH13_DEFAULT << 13)
1320 #define LESENSE_IFC_CH14 (0x1UL << 14)
1321 #define _LESENSE_IFC_CH14_SHIFT 14
1322 #define _LESENSE_IFC_CH14_MASK 0x4000UL
1323 #define _LESENSE_IFC_CH14_DEFAULT 0x00000000UL
1324 #define LESENSE_IFC_CH14_DEFAULT (_LESENSE_IFC_CH14_DEFAULT << 14)
1325 #define LESENSE_IFC_CH15 (0x1UL << 15)
1326 #define _LESENSE_IFC_CH15_SHIFT 15
1327 #define _LESENSE_IFC_CH15_MASK 0x8000UL
1328 #define _LESENSE_IFC_CH15_DEFAULT 0x00000000UL
1329 #define LESENSE_IFC_CH15_DEFAULT (_LESENSE_IFC_CH15_DEFAULT << 15)
1330 #define LESENSE_IFC_SCANCOMPLETE (0x1UL << 16)
1331 #define _LESENSE_IFC_SCANCOMPLETE_SHIFT 16
1332 #define _LESENSE_IFC_SCANCOMPLETE_MASK 0x10000UL
1333 #define _LESENSE_IFC_SCANCOMPLETE_DEFAULT 0x00000000UL
1334 #define LESENSE_IFC_SCANCOMPLETE_DEFAULT (_LESENSE_IFC_SCANCOMPLETE_DEFAULT << 16)
1335 #define LESENSE_IFC_DEC (0x1UL << 17)
1336 #define _LESENSE_IFC_DEC_SHIFT 17
1337 #define _LESENSE_IFC_DEC_MASK 0x20000UL
1338 #define _LESENSE_IFC_DEC_DEFAULT 0x00000000UL
1339 #define LESENSE_IFC_DEC_DEFAULT (_LESENSE_IFC_DEC_DEFAULT << 17)
1340 #define LESENSE_IFC_DECERR (0x1UL << 18)
1341 #define _LESENSE_IFC_DECERR_SHIFT 18
1342 #define _LESENSE_IFC_DECERR_MASK 0x40000UL
1343 #define _LESENSE_IFC_DECERR_DEFAULT 0x00000000UL
1344 #define LESENSE_IFC_DECERR_DEFAULT (_LESENSE_IFC_DECERR_DEFAULT << 18)
1345 #define LESENSE_IFC_BUFDATAV (0x1UL << 19)
1346 #define _LESENSE_IFC_BUFDATAV_SHIFT 19
1347 #define _LESENSE_IFC_BUFDATAV_MASK 0x80000UL
1348 #define _LESENSE_IFC_BUFDATAV_DEFAULT 0x00000000UL
1349 #define LESENSE_IFC_BUFDATAV_DEFAULT (_LESENSE_IFC_BUFDATAV_DEFAULT << 19)
1350 #define LESENSE_IFC_BUFLEVEL (0x1UL << 20)
1351 #define _LESENSE_IFC_BUFLEVEL_SHIFT 20
1352 #define _LESENSE_IFC_BUFLEVEL_MASK 0x100000UL
1353 #define _LESENSE_IFC_BUFLEVEL_DEFAULT 0x00000000UL
1354 #define LESENSE_IFC_BUFLEVEL_DEFAULT (_LESENSE_IFC_BUFLEVEL_DEFAULT << 20)
1355 #define LESENSE_IFC_BUFOF (0x1UL << 21)
1356 #define _LESENSE_IFC_BUFOF_SHIFT 21
1357 #define _LESENSE_IFC_BUFOF_MASK 0x200000UL
1358 #define _LESENSE_IFC_BUFOF_DEFAULT 0x00000000UL
1359 #define LESENSE_IFC_BUFOF_DEFAULT (_LESENSE_IFC_BUFOF_DEFAULT << 21)
1360 #define LESENSE_IFC_CNTOF (0x1UL << 22)
1361 #define _LESENSE_IFC_CNTOF_SHIFT 22
1362 #define _LESENSE_IFC_CNTOF_MASK 0x400000UL
1363 #define _LESENSE_IFC_CNTOF_DEFAULT 0x00000000UL
1364 #define LESENSE_IFC_CNTOF_DEFAULT (_LESENSE_IFC_CNTOF_DEFAULT << 22)
1366 /* Bit fields for LESENSE IEN */
1367 #define _LESENSE_IEN_RESETVALUE 0x00000000UL
1368 #define _LESENSE_IEN_MASK 0x007FFFFFUL
1369 #define LESENSE_IEN_CH0 (0x1UL << 0)
1370 #define _LESENSE_IEN_CH0_SHIFT 0
1371 #define _LESENSE_IEN_CH0_MASK 0x1UL
1372 #define _LESENSE_IEN_CH0_DEFAULT 0x00000000UL
1373 #define LESENSE_IEN_CH0_DEFAULT (_LESENSE_IEN_CH0_DEFAULT << 0)
1374 #define LESENSE_IEN_CH1 (0x1UL << 1)
1375 #define _LESENSE_IEN_CH1_SHIFT 1
1376 #define _LESENSE_IEN_CH1_MASK 0x2UL
1377 #define _LESENSE_IEN_CH1_DEFAULT 0x00000000UL
1378 #define LESENSE_IEN_CH1_DEFAULT (_LESENSE_IEN_CH1_DEFAULT << 1)
1379 #define LESENSE_IEN_CH2 (0x1UL << 2)
1380 #define _LESENSE_IEN_CH2_SHIFT 2
1381 #define _LESENSE_IEN_CH2_MASK 0x4UL
1382 #define _LESENSE_IEN_CH2_DEFAULT 0x00000000UL
1383 #define LESENSE_IEN_CH2_DEFAULT (_LESENSE_IEN_CH2_DEFAULT << 2)
1384 #define LESENSE_IEN_CH3 (0x1UL << 3)
1385 #define _LESENSE_IEN_CH3_SHIFT 3
1386 #define _LESENSE_IEN_CH3_MASK 0x8UL
1387 #define _LESENSE_IEN_CH3_DEFAULT 0x00000000UL
1388 #define LESENSE_IEN_CH3_DEFAULT (_LESENSE_IEN_CH3_DEFAULT << 3)
1389 #define LESENSE_IEN_CH4 (0x1UL << 4)
1390 #define _LESENSE_IEN_CH4_SHIFT 4
1391 #define _LESENSE_IEN_CH4_MASK 0x10UL
1392 #define _LESENSE_IEN_CH4_DEFAULT 0x00000000UL
1393 #define LESENSE_IEN_CH4_DEFAULT (_LESENSE_IEN_CH4_DEFAULT << 4)
1394 #define LESENSE_IEN_CH5 (0x1UL << 5)
1395 #define _LESENSE_IEN_CH5_SHIFT 5
1396 #define _LESENSE_IEN_CH5_MASK 0x20UL
1397 #define _LESENSE_IEN_CH5_DEFAULT 0x00000000UL
1398 #define LESENSE_IEN_CH5_DEFAULT (_LESENSE_IEN_CH5_DEFAULT << 5)
1399 #define LESENSE_IEN_CH6 (0x1UL << 6)
1400 #define _LESENSE_IEN_CH6_SHIFT 6
1401 #define _LESENSE_IEN_CH6_MASK 0x40UL
1402 #define _LESENSE_IEN_CH6_DEFAULT 0x00000000UL
1403 #define LESENSE_IEN_CH6_DEFAULT (_LESENSE_IEN_CH6_DEFAULT << 6)
1404 #define LESENSE_IEN_CH7 (0x1UL << 7)
1405 #define _LESENSE_IEN_CH7_SHIFT 7
1406 #define _LESENSE_IEN_CH7_MASK 0x80UL
1407 #define _LESENSE_IEN_CH7_DEFAULT 0x00000000UL
1408 #define LESENSE_IEN_CH7_DEFAULT (_LESENSE_IEN_CH7_DEFAULT << 7)
1409 #define LESENSE_IEN_CH8 (0x1UL << 8)
1410 #define _LESENSE_IEN_CH8_SHIFT 8
1411 #define _LESENSE_IEN_CH8_MASK 0x100UL
1412 #define _LESENSE_IEN_CH8_DEFAULT 0x00000000UL
1413 #define LESENSE_IEN_CH8_DEFAULT (_LESENSE_IEN_CH8_DEFAULT << 8)
1414 #define LESENSE_IEN_CH9 (0x1UL << 9)
1415 #define _LESENSE_IEN_CH9_SHIFT 9
1416 #define _LESENSE_IEN_CH9_MASK 0x200UL
1417 #define _LESENSE_IEN_CH9_DEFAULT 0x00000000UL
1418 #define LESENSE_IEN_CH9_DEFAULT (_LESENSE_IEN_CH9_DEFAULT << 9)
1419 #define LESENSE_IEN_CH10 (0x1UL << 10)
1420 #define _LESENSE_IEN_CH10_SHIFT 10
1421 #define _LESENSE_IEN_CH10_MASK 0x400UL
1422 #define _LESENSE_IEN_CH10_DEFAULT 0x00000000UL
1423 #define LESENSE_IEN_CH10_DEFAULT (_LESENSE_IEN_CH10_DEFAULT << 10)
1424 #define LESENSE_IEN_CH11 (0x1UL << 11)
1425 #define _LESENSE_IEN_CH11_SHIFT 11
1426 #define _LESENSE_IEN_CH11_MASK 0x800UL
1427 #define _LESENSE_IEN_CH11_DEFAULT 0x00000000UL
1428 #define LESENSE_IEN_CH11_DEFAULT (_LESENSE_IEN_CH11_DEFAULT << 11)
1429 #define LESENSE_IEN_CH12 (0x1UL << 12)
1430 #define _LESENSE_IEN_CH12_SHIFT 12
1431 #define _LESENSE_IEN_CH12_MASK 0x1000UL
1432 #define _LESENSE_IEN_CH12_DEFAULT 0x00000000UL
1433 #define LESENSE_IEN_CH12_DEFAULT (_LESENSE_IEN_CH12_DEFAULT << 12)
1434 #define LESENSE_IEN_CH13 (0x1UL << 13)
1435 #define _LESENSE_IEN_CH13_SHIFT 13
1436 #define _LESENSE_IEN_CH13_MASK 0x2000UL
1437 #define _LESENSE_IEN_CH13_DEFAULT 0x00000000UL
1438 #define LESENSE_IEN_CH13_DEFAULT (_LESENSE_IEN_CH13_DEFAULT << 13)
1439 #define LESENSE_IEN_CH14 (0x1UL << 14)
1440 #define _LESENSE_IEN_CH14_SHIFT 14
1441 #define _LESENSE_IEN_CH14_MASK 0x4000UL
1442 #define _LESENSE_IEN_CH14_DEFAULT 0x00000000UL
1443 #define LESENSE_IEN_CH14_DEFAULT (_LESENSE_IEN_CH14_DEFAULT << 14)
1444 #define LESENSE_IEN_CH15 (0x1UL << 15)
1445 #define _LESENSE_IEN_CH15_SHIFT 15
1446 #define _LESENSE_IEN_CH15_MASK 0x8000UL
1447 #define _LESENSE_IEN_CH15_DEFAULT 0x00000000UL
1448 #define LESENSE_IEN_CH15_DEFAULT (_LESENSE_IEN_CH15_DEFAULT << 15)
1449 #define LESENSE_IEN_SCANCOMPLETE (0x1UL << 16)
1450 #define _LESENSE_IEN_SCANCOMPLETE_SHIFT 16
1451 #define _LESENSE_IEN_SCANCOMPLETE_MASK 0x10000UL
1452 #define _LESENSE_IEN_SCANCOMPLETE_DEFAULT 0x00000000UL
1453 #define LESENSE_IEN_SCANCOMPLETE_DEFAULT (_LESENSE_IEN_SCANCOMPLETE_DEFAULT << 16)
1454 #define LESENSE_IEN_DEC (0x1UL << 17)
1455 #define _LESENSE_IEN_DEC_SHIFT 17
1456 #define _LESENSE_IEN_DEC_MASK 0x20000UL
1457 #define _LESENSE_IEN_DEC_DEFAULT 0x00000000UL
1458 #define LESENSE_IEN_DEC_DEFAULT (_LESENSE_IEN_DEC_DEFAULT << 17)
1459 #define LESENSE_IEN_DECERR (0x1UL << 18)
1460 #define _LESENSE_IEN_DECERR_SHIFT 18
1461 #define _LESENSE_IEN_DECERR_MASK 0x40000UL
1462 #define _LESENSE_IEN_DECERR_DEFAULT 0x00000000UL
1463 #define LESENSE_IEN_DECERR_DEFAULT (_LESENSE_IEN_DECERR_DEFAULT << 18)
1464 #define LESENSE_IEN_BUFDATAV (0x1UL << 19)
1465 #define _LESENSE_IEN_BUFDATAV_SHIFT 19
1466 #define _LESENSE_IEN_BUFDATAV_MASK 0x80000UL
1467 #define _LESENSE_IEN_BUFDATAV_DEFAULT 0x00000000UL
1468 #define LESENSE_IEN_BUFDATAV_DEFAULT (_LESENSE_IEN_BUFDATAV_DEFAULT << 19)
1469 #define LESENSE_IEN_BUFLEVEL (0x1UL << 20)
1470 #define _LESENSE_IEN_BUFLEVEL_SHIFT 20
1471 #define _LESENSE_IEN_BUFLEVEL_MASK 0x100000UL
1472 #define _LESENSE_IEN_BUFLEVEL_DEFAULT 0x00000000UL
1473 #define LESENSE_IEN_BUFLEVEL_DEFAULT (_LESENSE_IEN_BUFLEVEL_DEFAULT << 20)
1474 #define LESENSE_IEN_BUFOF (0x1UL << 21)
1475 #define _LESENSE_IEN_BUFOF_SHIFT 21
1476 #define _LESENSE_IEN_BUFOF_MASK 0x200000UL
1477 #define _LESENSE_IEN_BUFOF_DEFAULT 0x00000000UL
1478 #define LESENSE_IEN_BUFOF_DEFAULT (_LESENSE_IEN_BUFOF_DEFAULT << 21)
1479 #define LESENSE_IEN_CNTOF (0x1UL << 22)
1480 #define _LESENSE_IEN_CNTOF_SHIFT 22
1481 #define _LESENSE_IEN_CNTOF_MASK 0x400000UL
1482 #define _LESENSE_IEN_CNTOF_DEFAULT 0x00000000UL
1483 #define LESENSE_IEN_CNTOF_DEFAULT (_LESENSE_IEN_CNTOF_DEFAULT << 22)
1485 /* Bit fields for LESENSE SYNCBUSY */
1486 #define _LESENSE_SYNCBUSY_RESETVALUE 0x00000000UL
1487 #define _LESENSE_SYNCBUSY_MASK 0x00000080UL
1488 #define LESENSE_SYNCBUSY_CMD (0x1UL << 7)
1489 #define _LESENSE_SYNCBUSY_CMD_SHIFT 7
1490 #define _LESENSE_SYNCBUSY_CMD_MASK 0x80UL
1491 #define _LESENSE_SYNCBUSY_CMD_DEFAULT 0x00000000UL
1492 #define LESENSE_SYNCBUSY_CMD_DEFAULT (_LESENSE_SYNCBUSY_CMD_DEFAULT << 7)
1494 /* Bit fields for LESENSE ROUTEPEN */
1495 #define _LESENSE_ROUTEPEN_RESETVALUE 0x00000000UL
1496 #define _LESENSE_ROUTEPEN_MASK 0x00FFFFFFUL
1497 #define LESENSE_ROUTEPEN_CH0PEN (0x1UL << 0)
1498 #define _LESENSE_ROUTEPEN_CH0PEN_SHIFT 0
1499 #define _LESENSE_ROUTEPEN_CH0PEN_MASK 0x1UL
1500 #define _LESENSE_ROUTEPEN_CH0PEN_DEFAULT 0x00000000UL
1501 #define LESENSE_ROUTEPEN_CH0PEN_DEFAULT (_LESENSE_ROUTEPEN_CH0PEN_DEFAULT << 0)
1502 #define LESENSE_ROUTEPEN_CH1PEN (0x1UL << 1)
1503 #define _LESENSE_ROUTEPEN_CH1PEN_SHIFT 1
1504 #define _LESENSE_ROUTEPEN_CH1PEN_MASK 0x2UL
1505 #define _LESENSE_ROUTEPEN_CH1PEN_DEFAULT 0x00000000UL
1506 #define LESENSE_ROUTEPEN_CH1PEN_DEFAULT (_LESENSE_ROUTEPEN_CH1PEN_DEFAULT << 1)
1507 #define LESENSE_ROUTEPEN_CH2PEN (0x1UL << 2)
1508 #define _LESENSE_ROUTEPEN_CH2PEN_SHIFT 2
1509 #define _LESENSE_ROUTEPEN_CH2PEN_MASK 0x4UL
1510 #define _LESENSE_ROUTEPEN_CH2PEN_DEFAULT 0x00000000UL
1511 #define LESENSE_ROUTEPEN_CH2PEN_DEFAULT (_LESENSE_ROUTEPEN_CH2PEN_DEFAULT << 2)
1512 #define LESENSE_ROUTEPEN_CH3PEN (0x1UL << 3)
1513 #define _LESENSE_ROUTEPEN_CH3PEN_SHIFT 3
1514 #define _LESENSE_ROUTEPEN_CH3PEN_MASK 0x8UL
1515 #define _LESENSE_ROUTEPEN_CH3PEN_DEFAULT 0x00000000UL
1516 #define LESENSE_ROUTEPEN_CH3PEN_DEFAULT (_LESENSE_ROUTEPEN_CH3PEN_DEFAULT << 3)
1517 #define LESENSE_ROUTEPEN_CH4PEN (0x1UL << 4)
1518 #define _LESENSE_ROUTEPEN_CH4PEN_SHIFT 4
1519 #define _LESENSE_ROUTEPEN_CH4PEN_MASK 0x10UL
1520 #define _LESENSE_ROUTEPEN_CH4PEN_DEFAULT 0x00000000UL
1521 #define LESENSE_ROUTEPEN_CH4PEN_DEFAULT (_LESENSE_ROUTEPEN_CH4PEN_DEFAULT << 4)
1522 #define LESENSE_ROUTEPEN_CH5PEN (0x1UL << 5)
1523 #define _LESENSE_ROUTEPEN_CH5PEN_SHIFT 5
1524 #define _LESENSE_ROUTEPEN_CH5PEN_MASK 0x20UL
1525 #define _LESENSE_ROUTEPEN_CH5PEN_DEFAULT 0x00000000UL
1526 #define LESENSE_ROUTEPEN_CH5PEN_DEFAULT (_LESENSE_ROUTEPEN_CH5PEN_DEFAULT << 5)
1527 #define LESENSE_ROUTEPEN_CH6PEN (0x1UL << 6)
1528 #define _LESENSE_ROUTEPEN_CH6PEN_SHIFT 6
1529 #define _LESENSE_ROUTEPEN_CH6PEN_MASK 0x40UL
1530 #define _LESENSE_ROUTEPEN_CH6PEN_DEFAULT 0x00000000UL
1531 #define LESENSE_ROUTEPEN_CH6PEN_DEFAULT (_LESENSE_ROUTEPEN_CH6PEN_DEFAULT << 6)
1532 #define LESENSE_ROUTEPEN_CH7PEN (0x1UL << 7)
1533 #define _LESENSE_ROUTEPEN_CH7PEN_SHIFT 7
1534 #define _LESENSE_ROUTEPEN_CH7PEN_MASK 0x80UL
1535 #define _LESENSE_ROUTEPEN_CH7PEN_DEFAULT 0x00000000UL
1536 #define LESENSE_ROUTEPEN_CH7PEN_DEFAULT (_LESENSE_ROUTEPEN_CH7PEN_DEFAULT << 7)
1537 #define LESENSE_ROUTEPEN_CH8PEN (0x1UL << 8)
1538 #define _LESENSE_ROUTEPEN_CH8PEN_SHIFT 8
1539 #define _LESENSE_ROUTEPEN_CH8PEN_MASK 0x100UL
1540 #define _LESENSE_ROUTEPEN_CH8PEN_DEFAULT 0x00000000UL
1541 #define LESENSE_ROUTEPEN_CH8PEN_DEFAULT (_LESENSE_ROUTEPEN_CH8PEN_DEFAULT << 8)
1542 #define LESENSE_ROUTEPEN_CH9PEN (0x1UL << 9)
1543 #define _LESENSE_ROUTEPEN_CH9PEN_SHIFT 9
1544 #define _LESENSE_ROUTEPEN_CH9PEN_MASK 0x200UL
1545 #define _LESENSE_ROUTEPEN_CH9PEN_DEFAULT 0x00000000UL
1546 #define LESENSE_ROUTEPEN_CH9PEN_DEFAULT (_LESENSE_ROUTEPEN_CH9PEN_DEFAULT << 9)
1547 #define LESENSE_ROUTEPEN_CH10PEN (0x1UL << 10)
1548 #define _LESENSE_ROUTEPEN_CH10PEN_SHIFT 10
1549 #define _LESENSE_ROUTEPEN_CH10PEN_MASK 0x400UL
1550 #define _LESENSE_ROUTEPEN_CH10PEN_DEFAULT 0x00000000UL
1551 #define LESENSE_ROUTEPEN_CH10PEN_DEFAULT (_LESENSE_ROUTEPEN_CH10PEN_DEFAULT << 10)
1552 #define LESENSE_ROUTEPEN_CH11PEN (0x1UL << 11)
1553 #define _LESENSE_ROUTEPEN_CH11PEN_SHIFT 11
1554 #define _LESENSE_ROUTEPEN_CH11PEN_MASK 0x800UL
1555 #define _LESENSE_ROUTEPEN_CH11PEN_DEFAULT 0x00000000UL
1556 #define LESENSE_ROUTEPEN_CH11PEN_DEFAULT (_LESENSE_ROUTEPEN_CH11PEN_DEFAULT << 11)
1557 #define LESENSE_ROUTEPEN_CH12PEN (0x1UL << 12)
1558 #define _LESENSE_ROUTEPEN_CH12PEN_SHIFT 12
1559 #define _LESENSE_ROUTEPEN_CH12PEN_MASK 0x1000UL
1560 #define _LESENSE_ROUTEPEN_CH12PEN_DEFAULT 0x00000000UL
1561 #define LESENSE_ROUTEPEN_CH12PEN_DEFAULT (_LESENSE_ROUTEPEN_CH12PEN_DEFAULT << 12)
1562 #define LESENSE_ROUTEPEN_CH13PEN (0x1UL << 13)
1563 #define _LESENSE_ROUTEPEN_CH13PEN_SHIFT 13
1564 #define _LESENSE_ROUTEPEN_CH13PEN_MASK 0x2000UL
1565 #define _LESENSE_ROUTEPEN_CH13PEN_DEFAULT 0x00000000UL
1566 #define LESENSE_ROUTEPEN_CH13PEN_DEFAULT (_LESENSE_ROUTEPEN_CH13PEN_DEFAULT << 13)
1567 #define LESENSE_ROUTEPEN_CH14PEN (0x1UL << 14)
1568 #define _LESENSE_ROUTEPEN_CH14PEN_SHIFT 14
1569 #define _LESENSE_ROUTEPEN_CH14PEN_MASK 0x4000UL
1570 #define _LESENSE_ROUTEPEN_CH14PEN_DEFAULT 0x00000000UL
1571 #define LESENSE_ROUTEPEN_CH14PEN_DEFAULT (_LESENSE_ROUTEPEN_CH14PEN_DEFAULT << 14)
1572 #define LESENSE_ROUTEPEN_CH15PEN (0x1UL << 15)
1573 #define _LESENSE_ROUTEPEN_CH15PEN_SHIFT 15
1574 #define _LESENSE_ROUTEPEN_CH15PEN_MASK 0x8000UL
1575 #define _LESENSE_ROUTEPEN_CH15PEN_DEFAULT 0x00000000UL
1576 #define LESENSE_ROUTEPEN_CH15PEN_DEFAULT (_LESENSE_ROUTEPEN_CH15PEN_DEFAULT << 15)
1577 #define LESENSE_ROUTEPEN_ALTEX0PEN (0x1UL << 16)
1578 #define _LESENSE_ROUTEPEN_ALTEX0PEN_SHIFT 16
1579 #define _LESENSE_ROUTEPEN_ALTEX0PEN_MASK 0x10000UL
1580 #define _LESENSE_ROUTEPEN_ALTEX0PEN_DEFAULT 0x00000000UL
1581 #define LESENSE_ROUTEPEN_ALTEX0PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX0PEN_DEFAULT << 16)
1582 #define LESENSE_ROUTEPEN_ALTEX1PEN (0x1UL << 17)
1583 #define _LESENSE_ROUTEPEN_ALTEX1PEN_SHIFT 17
1584 #define _LESENSE_ROUTEPEN_ALTEX1PEN_MASK 0x20000UL
1585 #define _LESENSE_ROUTEPEN_ALTEX1PEN_DEFAULT 0x00000000UL
1586 #define LESENSE_ROUTEPEN_ALTEX1PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX1PEN_DEFAULT << 17)
1587 #define LESENSE_ROUTEPEN_ALTEX2PEN (0x1UL << 18)
1588 #define _LESENSE_ROUTEPEN_ALTEX2PEN_SHIFT 18
1589 #define _LESENSE_ROUTEPEN_ALTEX2PEN_MASK 0x40000UL
1590 #define _LESENSE_ROUTEPEN_ALTEX2PEN_DEFAULT 0x00000000UL
1591 #define LESENSE_ROUTEPEN_ALTEX2PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX2PEN_DEFAULT << 18)
1592 #define LESENSE_ROUTEPEN_ALTEX3PEN (0x1UL << 19)
1593 #define _LESENSE_ROUTEPEN_ALTEX3PEN_SHIFT 19
1594 #define _LESENSE_ROUTEPEN_ALTEX3PEN_MASK 0x80000UL
1595 #define _LESENSE_ROUTEPEN_ALTEX3PEN_DEFAULT 0x00000000UL
1596 #define LESENSE_ROUTEPEN_ALTEX3PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX3PEN_DEFAULT << 19)
1597 #define LESENSE_ROUTEPEN_ALTEX4PEN (0x1UL << 20)
1598 #define _LESENSE_ROUTEPEN_ALTEX4PEN_SHIFT 20
1599 #define _LESENSE_ROUTEPEN_ALTEX4PEN_MASK 0x100000UL
1600 #define _LESENSE_ROUTEPEN_ALTEX4PEN_DEFAULT 0x00000000UL
1601 #define LESENSE_ROUTEPEN_ALTEX4PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX4PEN_DEFAULT << 20)
1602 #define LESENSE_ROUTEPEN_ALTEX5PEN (0x1UL << 21)
1603 #define _LESENSE_ROUTEPEN_ALTEX5PEN_SHIFT 21
1604 #define _LESENSE_ROUTEPEN_ALTEX5PEN_MASK 0x200000UL
1605 #define _LESENSE_ROUTEPEN_ALTEX5PEN_DEFAULT 0x00000000UL
1606 #define LESENSE_ROUTEPEN_ALTEX5PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX5PEN_DEFAULT << 21)
1607 #define LESENSE_ROUTEPEN_ALTEX6PEN (0x1UL << 22)
1608 #define _LESENSE_ROUTEPEN_ALTEX6PEN_SHIFT 22
1609 #define _LESENSE_ROUTEPEN_ALTEX6PEN_MASK 0x400000UL
1610 #define _LESENSE_ROUTEPEN_ALTEX6PEN_DEFAULT 0x00000000UL
1611 #define LESENSE_ROUTEPEN_ALTEX6PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX6PEN_DEFAULT << 22)
1612 #define LESENSE_ROUTEPEN_ALTEX7PEN (0x1UL << 23)
1613 #define _LESENSE_ROUTEPEN_ALTEX7PEN_SHIFT 23
1614 #define _LESENSE_ROUTEPEN_ALTEX7PEN_MASK 0x800000UL
1615 #define _LESENSE_ROUTEPEN_ALTEX7PEN_DEFAULT 0x00000000UL
1616 #define LESENSE_ROUTEPEN_ALTEX7PEN_DEFAULT (_LESENSE_ROUTEPEN_ALTEX7PEN_DEFAULT << 23)
1618 /* Bit fields for LESENSE ST_TCONFA */
1619 #define _LESENSE_ST_TCONFA_RESETVALUE 0x00000000UL
1620 #define _LESENSE_ST_TCONFA_MASK 0x0007DFFFUL
1621 #define _LESENSE_ST_TCONFA_COMP_SHIFT 0
1622 #define _LESENSE_ST_TCONFA_COMP_MASK 0xFUL
1623 #define _LESENSE_ST_TCONFA_COMP_DEFAULT 0x00000000UL
1624 #define LESENSE_ST_TCONFA_COMP_DEFAULT (_LESENSE_ST_TCONFA_COMP_DEFAULT << 0)
1625 #define _LESENSE_ST_TCONFA_MASK_SHIFT 4
1626 #define _LESENSE_ST_TCONFA_MASK_MASK 0xF0UL
1627 #define _LESENSE_ST_TCONFA_MASK_DEFAULT 0x00000000UL
1628 #define LESENSE_ST_TCONFA_MASK_DEFAULT (_LESENSE_ST_TCONFA_MASK_DEFAULT << 4)
1629 #define _LESENSE_ST_TCONFA_NEXTSTATE_SHIFT 8
1630 #define _LESENSE_ST_TCONFA_NEXTSTATE_MASK 0x1F00UL
1631 #define _LESENSE_ST_TCONFA_NEXTSTATE_DEFAULT 0x00000000UL
1632 #define LESENSE_ST_TCONFA_NEXTSTATE_DEFAULT (_LESENSE_ST_TCONFA_NEXTSTATE_DEFAULT << 8)
1633 #define LESENSE_ST_TCONFA_CHAIN (0x1UL << 14)
1634 #define _LESENSE_ST_TCONFA_CHAIN_SHIFT 14
1635 #define _LESENSE_ST_TCONFA_CHAIN_MASK 0x4000UL
1636 #define _LESENSE_ST_TCONFA_CHAIN_DEFAULT 0x00000000UL
1637 #define LESENSE_ST_TCONFA_CHAIN_DEFAULT (_LESENSE_ST_TCONFA_CHAIN_DEFAULT << 14)
1638 #define LESENSE_ST_TCONFA_SETIF (0x1UL << 15)
1639 #define _LESENSE_ST_TCONFA_SETIF_SHIFT 15
1640 #define _LESENSE_ST_TCONFA_SETIF_MASK 0x8000UL
1641 #define _LESENSE_ST_TCONFA_SETIF_DEFAULT 0x00000000UL
1642 #define LESENSE_ST_TCONFA_SETIF_DEFAULT (_LESENSE_ST_TCONFA_SETIF_DEFAULT << 15)
1643 #define _LESENSE_ST_TCONFA_PRSACT_SHIFT 16
1644 #define _LESENSE_ST_TCONFA_PRSACT_MASK 0x70000UL
1645 #define _LESENSE_ST_TCONFA_PRSACT_DEFAULT 0x00000000UL
1646 #define _LESENSE_ST_TCONFA_PRSACT_NONE 0x00000000UL
1647 #define _LESENSE_ST_TCONFA_PRSACT_UP 0x00000001UL
1648 #define _LESENSE_ST_TCONFA_PRSACT_PRS0 0x00000001UL
1649 #define _LESENSE_ST_TCONFA_PRSACT_PRS1 0x00000002UL
1650 #define _LESENSE_ST_TCONFA_PRSACT_DOWN 0x00000002UL
1651 #define _LESENSE_ST_TCONFA_PRSACT_PRS01 0x00000003UL
1652 #define _LESENSE_ST_TCONFA_PRSACT_PRS2 0x00000004UL
1653 #define _LESENSE_ST_TCONFA_PRSACT_PRS02 0x00000005UL
1654 #define _LESENSE_ST_TCONFA_PRSACT_UPANDPRS2 0x00000005UL
1655 #define _LESENSE_ST_TCONFA_PRSACT_PRS12 0x00000006UL
1656 #define _LESENSE_ST_TCONFA_PRSACT_DOWNANDPRS2 0x00000006UL
1657 #define _LESENSE_ST_TCONFA_PRSACT_PRS012 0x00000007UL
1658 #define LESENSE_ST_TCONFA_PRSACT_DEFAULT (_LESENSE_ST_TCONFA_PRSACT_DEFAULT << 16)
1659 #define LESENSE_ST_TCONFA_PRSACT_NONE (_LESENSE_ST_TCONFA_PRSACT_NONE << 16)
1660 #define LESENSE_ST_TCONFA_PRSACT_UP (_LESENSE_ST_TCONFA_PRSACT_UP << 16)
1661 #define LESENSE_ST_TCONFA_PRSACT_PRS0 (_LESENSE_ST_TCONFA_PRSACT_PRS0 << 16)
1662 #define LESENSE_ST_TCONFA_PRSACT_PRS1 (_LESENSE_ST_TCONFA_PRSACT_PRS1 << 16)
1663 #define LESENSE_ST_TCONFA_PRSACT_DOWN (_LESENSE_ST_TCONFA_PRSACT_DOWN << 16)
1664 #define LESENSE_ST_TCONFA_PRSACT_PRS01 (_LESENSE_ST_TCONFA_PRSACT_PRS01 << 16)
1665 #define LESENSE_ST_TCONFA_PRSACT_PRS2 (_LESENSE_ST_TCONFA_PRSACT_PRS2 << 16)
1666 #define LESENSE_ST_TCONFA_PRSACT_PRS02 (_LESENSE_ST_TCONFA_PRSACT_PRS02 << 16)
1667 #define LESENSE_ST_TCONFA_PRSACT_UPANDPRS2 (_LESENSE_ST_TCONFA_PRSACT_UPANDPRS2 << 16)
1668 #define LESENSE_ST_TCONFA_PRSACT_PRS12 (_LESENSE_ST_TCONFA_PRSACT_PRS12 << 16)
1669 #define LESENSE_ST_TCONFA_PRSACT_DOWNANDPRS2 (_LESENSE_ST_TCONFA_PRSACT_DOWNANDPRS2 << 16)
1670 #define LESENSE_ST_TCONFA_PRSACT_PRS012 (_LESENSE_ST_TCONFA_PRSACT_PRS012 << 16)
1672 /* Bit fields for LESENSE ST_TCONFB */
1673 #define _LESENSE_ST_TCONFB_RESETVALUE 0x00000000UL
1674 #define _LESENSE_ST_TCONFB_MASK 0x00079FFFUL
1675 #define _LESENSE_ST_TCONFB_COMP_SHIFT 0
1676 #define _LESENSE_ST_TCONFB_COMP_MASK 0xFUL
1677 #define _LESENSE_ST_TCONFB_COMP_DEFAULT 0x00000000UL
1678 #define LESENSE_ST_TCONFB_COMP_DEFAULT (_LESENSE_ST_TCONFB_COMP_DEFAULT << 0)
1679 #define _LESENSE_ST_TCONFB_MASK_SHIFT 4
1680 #define _LESENSE_ST_TCONFB_MASK_MASK 0xF0UL
1681 #define _LESENSE_ST_TCONFB_MASK_DEFAULT 0x00000000UL
1682 #define LESENSE_ST_TCONFB_MASK_DEFAULT (_LESENSE_ST_TCONFB_MASK_DEFAULT << 4)
1683 #define _LESENSE_ST_TCONFB_NEXTSTATE_SHIFT 8
1684 #define _LESENSE_ST_TCONFB_NEXTSTATE_MASK 0x1F00UL
1685 #define _LESENSE_ST_TCONFB_NEXTSTATE_DEFAULT 0x00000000UL
1686 #define LESENSE_ST_TCONFB_NEXTSTATE_DEFAULT (_LESENSE_ST_TCONFB_NEXTSTATE_DEFAULT << 8)
1687 #define LESENSE_ST_TCONFB_SETIF (0x1UL << 15)
1688 #define _LESENSE_ST_TCONFB_SETIF_SHIFT 15
1689 #define _LESENSE_ST_TCONFB_SETIF_MASK 0x8000UL
1690 #define _LESENSE_ST_TCONFB_SETIF_DEFAULT 0x00000000UL
1691 #define LESENSE_ST_TCONFB_SETIF_DEFAULT (_LESENSE_ST_TCONFB_SETIF_DEFAULT << 15)
1692 #define _LESENSE_ST_TCONFB_PRSACT_SHIFT 16
1693 #define _LESENSE_ST_TCONFB_PRSACT_MASK 0x70000UL
1694 #define _LESENSE_ST_TCONFB_PRSACT_DEFAULT 0x00000000UL
1695 #define _LESENSE_ST_TCONFB_PRSACT_NONE 0x00000000UL
1696 #define _LESENSE_ST_TCONFB_PRSACT_UP 0x00000001UL
1697 #define _LESENSE_ST_TCONFB_PRSACT_PRS0 0x00000001UL
1698 #define _LESENSE_ST_TCONFB_PRSACT_PRS1 0x00000002UL
1699 #define _LESENSE_ST_TCONFB_PRSACT_DOWN 0x00000002UL
1700 #define _LESENSE_ST_TCONFB_PRSACT_PRS01 0x00000003UL
1701 #define _LESENSE_ST_TCONFB_PRSACT_PRS2 0x00000004UL
1702 #define _LESENSE_ST_TCONFB_PRSACT_PRS02 0x00000005UL
1703 #define _LESENSE_ST_TCONFB_PRSACT_UPANDPRS2 0x00000005UL
1704 #define _LESENSE_ST_TCONFB_PRSACT_PRS12 0x00000006UL
1705 #define _LESENSE_ST_TCONFB_PRSACT_DOWNANDPRS2 0x00000006UL
1706 #define _LESENSE_ST_TCONFB_PRSACT_PRS012 0x00000007UL
1707 #define LESENSE_ST_TCONFB_PRSACT_DEFAULT (_LESENSE_ST_TCONFB_PRSACT_DEFAULT << 16)
1708 #define LESENSE_ST_TCONFB_PRSACT_NONE (_LESENSE_ST_TCONFB_PRSACT_NONE << 16)
1709 #define LESENSE_ST_TCONFB_PRSACT_UP (_LESENSE_ST_TCONFB_PRSACT_UP << 16)
1710 #define LESENSE_ST_TCONFB_PRSACT_PRS0 (_LESENSE_ST_TCONFB_PRSACT_PRS0 << 16)
1711 #define LESENSE_ST_TCONFB_PRSACT_PRS1 (_LESENSE_ST_TCONFB_PRSACT_PRS1 << 16)
1712 #define LESENSE_ST_TCONFB_PRSACT_DOWN (_LESENSE_ST_TCONFB_PRSACT_DOWN << 16)
1713 #define LESENSE_ST_TCONFB_PRSACT_PRS01 (_LESENSE_ST_TCONFB_PRSACT_PRS01 << 16)
1714 #define LESENSE_ST_TCONFB_PRSACT_PRS2 (_LESENSE_ST_TCONFB_PRSACT_PRS2 << 16)
1715 #define LESENSE_ST_TCONFB_PRSACT_PRS02 (_LESENSE_ST_TCONFB_PRSACT_PRS02 << 16)
1716 #define LESENSE_ST_TCONFB_PRSACT_UPANDPRS2 (_LESENSE_ST_TCONFB_PRSACT_UPANDPRS2 << 16)
1717 #define LESENSE_ST_TCONFB_PRSACT_PRS12 (_LESENSE_ST_TCONFB_PRSACT_PRS12 << 16)
1718 #define LESENSE_ST_TCONFB_PRSACT_DOWNANDPRS2 (_LESENSE_ST_TCONFB_PRSACT_DOWNANDPRS2 << 16)
1719 #define LESENSE_ST_TCONFB_PRSACT_PRS012 (_LESENSE_ST_TCONFB_PRSACT_PRS012 << 16)
1721 /* Bit fields for LESENSE BUF_DATA */
1722 #define _LESENSE_BUF_DATA_RESETVALUE 0x00000000UL
1723 #define _LESENSE_BUF_DATA_MASK 0x000FFFFFUL
1724 #define _LESENSE_BUF_DATA_DATA_SHIFT 0
1725 #define _LESENSE_BUF_DATA_DATA_MASK 0xFFFFUL
1726 #define _LESENSE_BUF_DATA_DATA_DEFAULT 0x00000000UL
1727 #define LESENSE_BUF_DATA_DATA_DEFAULT (_LESENSE_BUF_DATA_DATA_DEFAULT << 0)
1728 #define _LESENSE_BUF_DATA_DATASRC_SHIFT 16
1729 #define _LESENSE_BUF_DATA_DATASRC_MASK 0xF0000UL
1730 #define _LESENSE_BUF_DATA_DATASRC_DEFAULT 0x00000000UL
1731 #define LESENSE_BUF_DATA_DATASRC_DEFAULT (_LESENSE_BUF_DATA_DATASRC_DEFAULT << 16)
1733 /* Bit fields for LESENSE CH_TIMING */
1734 #define _LESENSE_CH_TIMING_RESETVALUE 0x00000000UL
1735 #define _LESENSE_CH_TIMING_MASK 0x00FFFFFFUL
1736 #define _LESENSE_CH_TIMING_EXTIME_SHIFT 0
1737 #define _LESENSE_CH_TIMING_EXTIME_MASK 0x3FUL
1738 #define _LESENSE_CH_TIMING_EXTIME_DEFAULT 0x00000000UL
1739 #define LESENSE_CH_TIMING_EXTIME_DEFAULT (_LESENSE_CH_TIMING_EXTIME_DEFAULT << 0)
1740 #define _LESENSE_CH_TIMING_SAMPLEDLY_SHIFT 6
1741 #define _LESENSE_CH_TIMING_SAMPLEDLY_MASK 0x3FC0UL
1742 #define _LESENSE_CH_TIMING_SAMPLEDLY_DEFAULT 0x00000000UL
1743 #define LESENSE_CH_TIMING_SAMPLEDLY_DEFAULT (_LESENSE_CH_TIMING_SAMPLEDLY_DEFAULT << 6)
1744 #define _LESENSE_CH_TIMING_MEASUREDLY_SHIFT 14
1745 #define _LESENSE_CH_TIMING_MEASUREDLY_MASK 0xFFC000UL
1746 #define _LESENSE_CH_TIMING_MEASUREDLY_DEFAULT 0x00000000UL
1747 #define LESENSE_CH_TIMING_MEASUREDLY_DEFAULT (_LESENSE_CH_TIMING_MEASUREDLY_DEFAULT << 14)
1749 /* Bit fields for LESENSE CH_INTERACT */
1750 #define _LESENSE_CH_INTERACT_RESETVALUE 0x00000000UL
1751 #define _LESENSE_CH_INTERACT_MASK 0x003FFFFFUL
1752 #define _LESENSE_CH_INTERACT_THRES_SHIFT 0
1753 #define _LESENSE_CH_INTERACT_THRES_MASK 0xFFFUL
1754 #define _LESENSE_CH_INTERACT_THRES_DEFAULT 0x00000000UL
1755 #define LESENSE_CH_INTERACT_THRES_DEFAULT (_LESENSE_CH_INTERACT_THRES_DEFAULT << 0)
1756 #define _LESENSE_CH_INTERACT_SAMPLE_SHIFT 12
1757 #define _LESENSE_CH_INTERACT_SAMPLE_MASK 0x3000UL
1758 #define _LESENSE_CH_INTERACT_SAMPLE_DEFAULT 0x00000000UL
1759 #define _LESENSE_CH_INTERACT_SAMPLE_ACMPCOUNT 0x00000000UL
1760 #define _LESENSE_CH_INTERACT_SAMPLE_ACMP 0x00000001UL
1761 #define _LESENSE_CH_INTERACT_SAMPLE_ADC 0x00000002UL
1762 #define _LESENSE_CH_INTERACT_SAMPLE_ADCDIFF 0x00000003UL
1763 #define LESENSE_CH_INTERACT_SAMPLE_DEFAULT (_LESENSE_CH_INTERACT_SAMPLE_DEFAULT << 12)
1764 #define LESENSE_CH_INTERACT_SAMPLE_ACMPCOUNT (_LESENSE_CH_INTERACT_SAMPLE_ACMPCOUNT << 12)
1765 #define LESENSE_CH_INTERACT_SAMPLE_ACMP (_LESENSE_CH_INTERACT_SAMPLE_ACMP << 12)
1766 #define LESENSE_CH_INTERACT_SAMPLE_ADC (_LESENSE_CH_INTERACT_SAMPLE_ADC << 12)
1767 #define LESENSE_CH_INTERACT_SAMPLE_ADCDIFF (_LESENSE_CH_INTERACT_SAMPLE_ADCDIFF << 12)
1768 #define _LESENSE_CH_INTERACT_SETIF_SHIFT 14
1769 #define _LESENSE_CH_INTERACT_SETIF_MASK 0x1C000UL
1770 #define _LESENSE_CH_INTERACT_SETIF_DEFAULT 0x00000000UL
1771 #define _LESENSE_CH_INTERACT_SETIF_NONE 0x00000000UL
1772 #define _LESENSE_CH_INTERACT_SETIF_LEVEL 0x00000001UL
1773 #define _LESENSE_CH_INTERACT_SETIF_POSEDGE 0x00000002UL
1774 #define _LESENSE_CH_INTERACT_SETIF_NEGEDGE 0x00000003UL
1775 #define _LESENSE_CH_INTERACT_SETIF_BOTHEDGES 0x00000004UL
1776 #define LESENSE_CH_INTERACT_SETIF_DEFAULT (_LESENSE_CH_INTERACT_SETIF_DEFAULT << 14)
1777 #define LESENSE_CH_INTERACT_SETIF_NONE (_LESENSE_CH_INTERACT_SETIF_NONE << 14)
1778 #define LESENSE_CH_INTERACT_SETIF_LEVEL (_LESENSE_CH_INTERACT_SETIF_LEVEL << 14)
1779 #define LESENSE_CH_INTERACT_SETIF_POSEDGE (_LESENSE_CH_INTERACT_SETIF_POSEDGE << 14)
1780 #define LESENSE_CH_INTERACT_SETIF_NEGEDGE (_LESENSE_CH_INTERACT_SETIF_NEGEDGE << 14)
1781 #define LESENSE_CH_INTERACT_SETIF_BOTHEDGES (_LESENSE_CH_INTERACT_SETIF_BOTHEDGES << 14)
1782 #define _LESENSE_CH_INTERACT_EXMODE_SHIFT 17
1783 #define _LESENSE_CH_INTERACT_EXMODE_MASK 0x60000UL
1784 #define _LESENSE_CH_INTERACT_EXMODE_DEFAULT 0x00000000UL
1785 #define _LESENSE_CH_INTERACT_EXMODE_DISABLE 0x00000000UL
1786 #define _LESENSE_CH_INTERACT_EXMODE_HIGH 0x00000001UL
1787 #define _LESENSE_CH_INTERACT_EXMODE_LOW 0x00000002UL
1788 #define _LESENSE_CH_INTERACT_EXMODE_DACOUT 0x00000003UL
1789 #define LESENSE_CH_INTERACT_EXMODE_DEFAULT (_LESENSE_CH_INTERACT_EXMODE_DEFAULT << 17)
1790 #define LESENSE_CH_INTERACT_EXMODE_DISABLE (_LESENSE_CH_INTERACT_EXMODE_DISABLE << 17)
1791 #define LESENSE_CH_INTERACT_EXMODE_HIGH (_LESENSE_CH_INTERACT_EXMODE_HIGH << 17)
1792 #define LESENSE_CH_INTERACT_EXMODE_LOW (_LESENSE_CH_INTERACT_EXMODE_LOW << 17)
1793 #define LESENSE_CH_INTERACT_EXMODE_DACOUT (_LESENSE_CH_INTERACT_EXMODE_DACOUT << 17)
1794 #define LESENSE_CH_INTERACT_EXCLK (0x1UL << 19)
1795 #define _LESENSE_CH_INTERACT_EXCLK_SHIFT 19
1796 #define _LESENSE_CH_INTERACT_EXCLK_MASK 0x80000UL
1797 #define _LESENSE_CH_INTERACT_EXCLK_DEFAULT 0x00000000UL
1798 #define _LESENSE_CH_INTERACT_EXCLK_LFACLK 0x00000000UL
1799 #define _LESENSE_CH_INTERACT_EXCLK_AUXHFRCO 0x00000001UL
1800 #define LESENSE_CH_INTERACT_EXCLK_DEFAULT (_LESENSE_CH_INTERACT_EXCLK_DEFAULT << 19)
1801 #define LESENSE_CH_INTERACT_EXCLK_LFACLK (_LESENSE_CH_INTERACT_EXCLK_LFACLK << 19)
1802 #define LESENSE_CH_INTERACT_EXCLK_AUXHFRCO (_LESENSE_CH_INTERACT_EXCLK_AUXHFRCO << 19)
1803 #define LESENSE_CH_INTERACT_SAMPLECLK (0x1UL << 20)
1804 #define _LESENSE_CH_INTERACT_SAMPLECLK_SHIFT 20
1805 #define _LESENSE_CH_INTERACT_SAMPLECLK_MASK 0x100000UL
1806 #define _LESENSE_CH_INTERACT_SAMPLECLK_DEFAULT 0x00000000UL
1807 #define _LESENSE_CH_INTERACT_SAMPLECLK_LFACLK 0x00000000UL
1808 #define _LESENSE_CH_INTERACT_SAMPLECLK_AUXHFRCO 0x00000001UL
1809 #define LESENSE_CH_INTERACT_SAMPLECLK_DEFAULT (_LESENSE_CH_INTERACT_SAMPLECLK_DEFAULT << 20)
1810 #define LESENSE_CH_INTERACT_SAMPLECLK_LFACLK (_LESENSE_CH_INTERACT_SAMPLECLK_LFACLK << 20)
1811 #define LESENSE_CH_INTERACT_SAMPLECLK_AUXHFRCO (_LESENSE_CH_INTERACT_SAMPLECLK_AUXHFRCO << 20)
1812 #define LESENSE_CH_INTERACT_ALTEX (0x1UL << 21)
1813 #define _LESENSE_CH_INTERACT_ALTEX_SHIFT 21
1814 #define _LESENSE_CH_INTERACT_ALTEX_MASK 0x200000UL
1815 #define _LESENSE_CH_INTERACT_ALTEX_DEFAULT 0x00000000UL
1816 #define LESENSE_CH_INTERACT_ALTEX_DEFAULT (_LESENSE_CH_INTERACT_ALTEX_DEFAULT << 21)
1818 /* Bit fields for LESENSE CH_EVAL */
1819 #define _LESENSE_CH_EVAL_RESETVALUE 0x00000000UL
1820 #define _LESENSE_CH_EVAL_MASK 0x007FFFFFUL
1821 #define _LESENSE_CH_EVAL_COMPTHRES_SHIFT 0
1822 #define _LESENSE_CH_EVAL_COMPTHRES_MASK 0xFFFFUL
1823 #define _LESENSE_CH_EVAL_COMPTHRES_DEFAULT 0x00000000UL
1824 #define LESENSE_CH_EVAL_COMPTHRES_DEFAULT (_LESENSE_CH_EVAL_COMPTHRES_DEFAULT << 0)
1825 #define LESENSE_CH_EVAL_COMP (0x1UL << 16)
1826 #define _LESENSE_CH_EVAL_COMP_SHIFT 16
1827 #define _LESENSE_CH_EVAL_COMP_MASK 0x10000UL
1828 #define _LESENSE_CH_EVAL_COMP_DEFAULT 0x00000000UL
1829 #define _LESENSE_CH_EVAL_COMP_LESS 0x00000000UL
1830 #define _LESENSE_CH_EVAL_COMP_GE 0x00000001UL
1831 #define LESENSE_CH_EVAL_COMP_DEFAULT (_LESENSE_CH_EVAL_COMP_DEFAULT << 16)
1832 #define LESENSE_CH_EVAL_COMP_LESS (_LESENSE_CH_EVAL_COMP_LESS << 16)
1833 #define LESENSE_CH_EVAL_COMP_GE (_LESENSE_CH_EVAL_COMP_GE << 16)
1834 #define LESENSE_CH_EVAL_DECODE (0x1UL << 17)
1835 #define _LESENSE_CH_EVAL_DECODE_SHIFT 17
1836 #define _LESENSE_CH_EVAL_DECODE_MASK 0x20000UL
1837 #define _LESENSE_CH_EVAL_DECODE_DEFAULT 0x00000000UL
1838 #define LESENSE_CH_EVAL_DECODE_DEFAULT (_LESENSE_CH_EVAL_DECODE_DEFAULT << 17)
1839 #define _LESENSE_CH_EVAL_STRSAMPLE_SHIFT 18
1840 #define _LESENSE_CH_EVAL_STRSAMPLE_MASK 0xC0000UL
1841 #define _LESENSE_CH_EVAL_STRSAMPLE_DEFAULT 0x00000000UL
1842 #define _LESENSE_CH_EVAL_STRSAMPLE_DISABLE 0x00000000UL
1843 #define _LESENSE_CH_EVAL_STRSAMPLE_DATA 0x00000001UL
1844 #define _LESENSE_CH_EVAL_STRSAMPLE_DATASRC 0x00000002UL
1845 #define LESENSE_CH_EVAL_STRSAMPLE_DEFAULT (_LESENSE_CH_EVAL_STRSAMPLE_DEFAULT << 18)
1846 #define LESENSE_CH_EVAL_STRSAMPLE_DISABLE (_LESENSE_CH_EVAL_STRSAMPLE_DISABLE << 18)
1847 #define LESENSE_CH_EVAL_STRSAMPLE_DATA (_LESENSE_CH_EVAL_STRSAMPLE_DATA << 18)
1848 #define LESENSE_CH_EVAL_STRSAMPLE_DATASRC (_LESENSE_CH_EVAL_STRSAMPLE_DATASRC << 18)
1849 #define LESENSE_CH_EVAL_SCANRESINV (0x1UL << 20)
1850 #define _LESENSE_CH_EVAL_SCANRESINV_SHIFT 20
1851 #define _LESENSE_CH_EVAL_SCANRESINV_MASK 0x100000UL
1852 #define _LESENSE_CH_EVAL_SCANRESINV_DEFAULT 0x00000000UL
1853 #define LESENSE_CH_EVAL_SCANRESINV_DEFAULT (_LESENSE_CH_EVAL_SCANRESINV_DEFAULT << 20)
1854 #define _LESENSE_CH_EVAL_MODE_SHIFT 21
1855 #define _LESENSE_CH_EVAL_MODE_MASK 0x600000UL
1856 #define _LESENSE_CH_EVAL_MODE_DEFAULT 0x00000000UL
1857 #define _LESENSE_CH_EVAL_MODE_THRES 0x00000000UL
1858 #define _LESENSE_CH_EVAL_MODE_SLIDINGWIN 0x00000001UL
1859 #define _LESENSE_CH_EVAL_MODE_STEPDET 0x00000002UL
1860 #define LESENSE_CH_EVAL_MODE_DEFAULT (_LESENSE_CH_EVAL_MODE_DEFAULT << 21)
1861 #define LESENSE_CH_EVAL_MODE_THRES (_LESENSE_CH_EVAL_MODE_THRES << 21)
1862 #define LESENSE_CH_EVAL_MODE_SLIDINGWIN (_LESENSE_CH_EVAL_MODE_SLIDINGWIN << 21)
1863 #define LESENSE_CH_EVAL_MODE_STEPDET (_LESENSE_CH_EVAL_MODE_STEPDET << 21)
__IOM uint32_t ROUTEPEN
__IOM uint32_t PERCTRL
__IOM uint32_t SCANRES
__IM uint32_t IF
__IOM uint32_t CTRL
__IOM uint32_t IFC
__IOM uint32_t DECCTRL
__IOM uint32_t CMD
LESENSE_CH EFR32MG13P LESENSE CH.
__IOM uint32_t TIMCTRL
__IOM uint32_t SENSORSTATE
__IM uint32_t BUFDATA
__IM uint32_t SYNCBUSY
__IM uint32_t PTR
__IM uint32_t STATUS
__IOM uint32_t CHEN
LESENSE_BUF EFR32MG13P LESENSE BUF.
__IOM uint32_t EVALCTRL
LESENSE_ST EFR32MG13P LESENSE ST.
__IOM uint32_t DECSTATE
__IOM uint32_t PRSCTRL
__IOM uint32_t IDLECONF
__IOM uint32_t IEN
__IOM uint32_t BIASCTRL
__IOM uint32_t IFS
__IOM uint32_t ALTEXCONF
__IM uint32_t CURCH