EFM32 Tiny Gecko Software Documentation  efm32tg-doc-5.1.2
efm32tg_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 CMD;
49  __IOM uint32_t CHEN;
50  __IM uint32_t SCANRES;
51  __IM uint32_t STATUS;
52  __IM uint32_t PTR;
53  __IM uint32_t BUFDATA;
54  __IM uint32_t CURCH;
55  __IOM uint32_t DECSTATE;
56  __IOM uint32_t SENSORSTATE;
57  __IOM uint32_t IDLECONF;
58  __IOM uint32_t ALTEXCONF;
59  __IM uint32_t IF;
60  __IOM uint32_t IFC;
61  __IOM uint32_t IFS;
62  __IOM uint32_t IEN;
63  __IM uint32_t SYNCBUSY;
64  __IOM uint32_t ROUTE;
65  __IOM uint32_t POWERDOWN;
67  uint32_t RESERVED0[105];
75 /**************************************************************************/
80 /* Bit fields for LESENSE CTRL */
81 #define _LESENSE_CTRL_RESETVALUE 0x00000000UL
82 #define _LESENSE_CTRL_MASK 0x00772EDFUL
83 #define _LESENSE_CTRL_SCANMODE_SHIFT 0
84 #define _LESENSE_CTRL_SCANMODE_MASK 0x3UL
85 #define _LESENSE_CTRL_SCANMODE_DEFAULT 0x00000000UL
86 #define _LESENSE_CTRL_SCANMODE_PERIODIC 0x00000000UL
87 #define _LESENSE_CTRL_SCANMODE_ONESHOT 0x00000001UL
88 #define _LESENSE_CTRL_SCANMODE_PRS 0x00000002UL
89 #define LESENSE_CTRL_SCANMODE_DEFAULT (_LESENSE_CTRL_SCANMODE_DEFAULT << 0)
90 #define LESENSE_CTRL_SCANMODE_PERIODIC (_LESENSE_CTRL_SCANMODE_PERIODIC << 0)
91 #define LESENSE_CTRL_SCANMODE_ONESHOT (_LESENSE_CTRL_SCANMODE_ONESHOT << 0)
92 #define LESENSE_CTRL_SCANMODE_PRS (_LESENSE_CTRL_SCANMODE_PRS << 0)
93 #define _LESENSE_CTRL_PRSSEL_SHIFT 2
94 #define _LESENSE_CTRL_PRSSEL_MASK 0x1CUL
95 #define _LESENSE_CTRL_PRSSEL_DEFAULT 0x00000000UL
96 #define _LESENSE_CTRL_PRSSEL_PRSCH0 0x00000000UL
97 #define _LESENSE_CTRL_PRSSEL_PRSCH1 0x00000001UL
98 #define _LESENSE_CTRL_PRSSEL_PRSCH2 0x00000002UL
99 #define _LESENSE_CTRL_PRSSEL_PRSCH3 0x00000003UL
100 #define _LESENSE_CTRL_PRSSEL_PRSCH4 0x00000004UL
101 #define _LESENSE_CTRL_PRSSEL_PRSCH5 0x00000005UL
102 #define _LESENSE_CTRL_PRSSEL_PRSCH6 0x00000006UL
103 #define _LESENSE_CTRL_PRSSEL_PRSCH7 0x00000007UL
104 #define LESENSE_CTRL_PRSSEL_DEFAULT (_LESENSE_CTRL_PRSSEL_DEFAULT << 2)
105 #define LESENSE_CTRL_PRSSEL_PRSCH0 (_LESENSE_CTRL_PRSSEL_PRSCH0 << 2)
106 #define LESENSE_CTRL_PRSSEL_PRSCH1 (_LESENSE_CTRL_PRSSEL_PRSCH1 << 2)
107 #define LESENSE_CTRL_PRSSEL_PRSCH2 (_LESENSE_CTRL_PRSSEL_PRSCH2 << 2)
108 #define LESENSE_CTRL_PRSSEL_PRSCH3 (_LESENSE_CTRL_PRSSEL_PRSCH3 << 2)
109 #define LESENSE_CTRL_PRSSEL_PRSCH4 (_LESENSE_CTRL_PRSSEL_PRSCH4 << 2)
110 #define LESENSE_CTRL_PRSSEL_PRSCH5 (_LESENSE_CTRL_PRSSEL_PRSCH5 << 2)
111 #define LESENSE_CTRL_PRSSEL_PRSCH6 (_LESENSE_CTRL_PRSSEL_PRSCH6 << 2)
112 #define LESENSE_CTRL_PRSSEL_PRSCH7 (_LESENSE_CTRL_PRSSEL_PRSCH7 << 2)
113 #define _LESENSE_CTRL_SCANCONF_SHIFT 6
114 #define _LESENSE_CTRL_SCANCONF_MASK 0xC0UL
115 #define _LESENSE_CTRL_SCANCONF_DEFAULT 0x00000000UL
116 #define _LESENSE_CTRL_SCANCONF_DIRMAP 0x00000000UL
117 #define _LESENSE_CTRL_SCANCONF_INVMAP 0x00000001UL
118 #define _LESENSE_CTRL_SCANCONF_TOGGLE 0x00000002UL
119 #define _LESENSE_CTRL_SCANCONF_DECDEF 0x00000003UL
120 #define LESENSE_CTRL_SCANCONF_DEFAULT (_LESENSE_CTRL_SCANCONF_DEFAULT << 6)
121 #define LESENSE_CTRL_SCANCONF_DIRMAP (_LESENSE_CTRL_SCANCONF_DIRMAP << 6)
122 #define LESENSE_CTRL_SCANCONF_INVMAP (_LESENSE_CTRL_SCANCONF_INVMAP << 6)
123 #define LESENSE_CTRL_SCANCONF_TOGGLE (_LESENSE_CTRL_SCANCONF_TOGGLE << 6)
124 #define LESENSE_CTRL_SCANCONF_DECDEF (_LESENSE_CTRL_SCANCONF_DECDEF << 6)
125 #define LESENSE_CTRL_ACMP0INV (0x1UL << 9)
126 #define _LESENSE_CTRL_ACMP0INV_SHIFT 9
127 #define _LESENSE_CTRL_ACMP0INV_MASK 0x200UL
128 #define _LESENSE_CTRL_ACMP0INV_DEFAULT 0x00000000UL
129 #define LESENSE_CTRL_ACMP0INV_DEFAULT (_LESENSE_CTRL_ACMP0INV_DEFAULT << 9)
130 #define LESENSE_CTRL_ACMP1INV (0x1UL << 10)
131 #define _LESENSE_CTRL_ACMP1INV_SHIFT 10
132 #define _LESENSE_CTRL_ACMP1INV_MASK 0x400UL
133 #define _LESENSE_CTRL_ACMP1INV_DEFAULT 0x00000000UL
134 #define LESENSE_CTRL_ACMP1INV_DEFAULT (_LESENSE_CTRL_ACMP1INV_DEFAULT << 10)
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_ACMP 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_ACMP (_LESENSE_CTRL_ALTEXMAP_ACMP << 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 << 18)
160 #define _LESENSE_CTRL_BUFIDL_SHIFT 18
161 #define _LESENSE_CTRL_BUFIDL_MASK 0x40000UL
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 << 18)
166 #define LESENSE_CTRL_BUFIDL_HALFFULL (_LESENSE_CTRL_BUFIDL_HALFFULL << 18)
167 #define LESENSE_CTRL_BUFIDL_FULL (_LESENSE_CTRL_BUFIDL_FULL << 18)
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 0x00CFF773UL
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)
248 /* Bit fields for LESENSE PERCTRL */
249 #define _LESENSE_PERCTRL_RESETVALUE 0x00000000UL
250 #define _LESENSE_PERCTRL_MASK 0x0CF47FFFUL
251 #define LESENSE_PERCTRL_DACCH0DATA (0x1UL << 0)
252 #define _LESENSE_PERCTRL_DACCH0DATA_SHIFT 0
253 #define _LESENSE_PERCTRL_DACCH0DATA_MASK 0x1UL
254 #define _LESENSE_PERCTRL_DACCH0DATA_DEFAULT 0x00000000UL
255 #define _LESENSE_PERCTRL_DACCH0DATA_DACDATA 0x00000000UL
256 #define _LESENSE_PERCTRL_DACCH0DATA_ACMPTHRES 0x00000001UL
257 #define LESENSE_PERCTRL_DACCH0DATA_DEFAULT (_LESENSE_PERCTRL_DACCH0DATA_DEFAULT << 0)
258 #define LESENSE_PERCTRL_DACCH0DATA_DACDATA (_LESENSE_PERCTRL_DACCH0DATA_DACDATA << 0)
259 #define LESENSE_PERCTRL_DACCH0DATA_ACMPTHRES (_LESENSE_PERCTRL_DACCH0DATA_ACMPTHRES << 0)
260 #define LESENSE_PERCTRL_DACCH1DATA (0x1UL << 1)
261 #define _LESENSE_PERCTRL_DACCH1DATA_SHIFT 1
262 #define _LESENSE_PERCTRL_DACCH1DATA_MASK 0x2UL
263 #define _LESENSE_PERCTRL_DACCH1DATA_DEFAULT 0x00000000UL
264 #define _LESENSE_PERCTRL_DACCH1DATA_DACDATA 0x00000000UL
265 #define _LESENSE_PERCTRL_DACCH1DATA_ACMPTHRES 0x00000001UL
266 #define LESENSE_PERCTRL_DACCH1DATA_DEFAULT (_LESENSE_PERCTRL_DACCH1DATA_DEFAULT << 1)
267 #define LESENSE_PERCTRL_DACCH1DATA_DACDATA (_LESENSE_PERCTRL_DACCH1DATA_DACDATA << 1)
268 #define LESENSE_PERCTRL_DACCH1DATA_ACMPTHRES (_LESENSE_PERCTRL_DACCH1DATA_ACMPTHRES << 1)
269 #define _LESENSE_PERCTRL_DACCH0CONV_SHIFT 2
270 #define _LESENSE_PERCTRL_DACCH0CONV_MASK 0xCUL
271 #define _LESENSE_PERCTRL_DACCH0CONV_DEFAULT 0x00000000UL
272 #define _LESENSE_PERCTRL_DACCH0CONV_DISABLE 0x00000000UL
273 #define _LESENSE_PERCTRL_DACCH0CONV_CONTINUOUS 0x00000001UL
274 #define _LESENSE_PERCTRL_DACCH0CONV_SAMPLEHOLD 0x00000002UL
275 #define _LESENSE_PERCTRL_DACCH0CONV_SAMPLEOFF 0x00000003UL
276 #define LESENSE_PERCTRL_DACCH0CONV_DEFAULT (_LESENSE_PERCTRL_DACCH0CONV_DEFAULT << 2)
277 #define LESENSE_PERCTRL_DACCH0CONV_DISABLE (_LESENSE_PERCTRL_DACCH0CONV_DISABLE << 2)
278 #define LESENSE_PERCTRL_DACCH0CONV_CONTINUOUS (_LESENSE_PERCTRL_DACCH0CONV_CONTINUOUS << 2)
279 #define LESENSE_PERCTRL_DACCH0CONV_SAMPLEHOLD (_LESENSE_PERCTRL_DACCH0CONV_SAMPLEHOLD << 2)
280 #define LESENSE_PERCTRL_DACCH0CONV_SAMPLEOFF (_LESENSE_PERCTRL_DACCH0CONV_SAMPLEOFF << 2)
281 #define _LESENSE_PERCTRL_DACCH1CONV_SHIFT 4
282 #define _LESENSE_PERCTRL_DACCH1CONV_MASK 0x30UL
283 #define _LESENSE_PERCTRL_DACCH1CONV_DEFAULT 0x00000000UL
284 #define _LESENSE_PERCTRL_DACCH1CONV_DISABLE 0x00000000UL
285 #define _LESENSE_PERCTRL_DACCH1CONV_CONTINUOUS 0x00000001UL
286 #define _LESENSE_PERCTRL_DACCH1CONV_SAMPLEHOLD 0x00000002UL
287 #define _LESENSE_PERCTRL_DACCH1CONV_SAMPLEOFF 0x00000003UL
288 #define LESENSE_PERCTRL_DACCH1CONV_DEFAULT (_LESENSE_PERCTRL_DACCH1CONV_DEFAULT << 4)
289 #define LESENSE_PERCTRL_DACCH1CONV_DISABLE (_LESENSE_PERCTRL_DACCH1CONV_DISABLE << 4)
290 #define LESENSE_PERCTRL_DACCH1CONV_CONTINUOUS (_LESENSE_PERCTRL_DACCH1CONV_CONTINUOUS << 4)
291 #define LESENSE_PERCTRL_DACCH1CONV_SAMPLEHOLD (_LESENSE_PERCTRL_DACCH1CONV_SAMPLEHOLD << 4)
292 #define LESENSE_PERCTRL_DACCH1CONV_SAMPLEOFF (_LESENSE_PERCTRL_DACCH1CONV_SAMPLEOFF << 4)
293 #define _LESENSE_PERCTRL_DACCH0OUT_SHIFT 6
294 #define _LESENSE_PERCTRL_DACCH0OUT_MASK 0xC0UL
295 #define _LESENSE_PERCTRL_DACCH0OUT_DEFAULT 0x00000000UL
296 #define _LESENSE_PERCTRL_DACCH0OUT_DISABLE 0x00000000UL
297 #define _LESENSE_PERCTRL_DACCH0OUT_PIN 0x00000001UL
298 #define _LESENSE_PERCTRL_DACCH0OUT_ADCACMP 0x00000002UL
299 #define _LESENSE_PERCTRL_DACCH0OUT_PINADCACMP 0x00000003UL
300 #define LESENSE_PERCTRL_DACCH0OUT_DEFAULT (_LESENSE_PERCTRL_DACCH0OUT_DEFAULT << 6)
301 #define LESENSE_PERCTRL_DACCH0OUT_DISABLE (_LESENSE_PERCTRL_DACCH0OUT_DISABLE << 6)
302 #define LESENSE_PERCTRL_DACCH0OUT_PIN (_LESENSE_PERCTRL_DACCH0OUT_PIN << 6)
303 #define LESENSE_PERCTRL_DACCH0OUT_ADCACMP (_LESENSE_PERCTRL_DACCH0OUT_ADCACMP << 6)
304 #define LESENSE_PERCTRL_DACCH0OUT_PINADCACMP (_LESENSE_PERCTRL_DACCH0OUT_PINADCACMP << 6)
305 #define _LESENSE_PERCTRL_DACCH1OUT_SHIFT 8
306 #define _LESENSE_PERCTRL_DACCH1OUT_MASK 0x300UL
307 #define _LESENSE_PERCTRL_DACCH1OUT_DEFAULT 0x00000000UL
308 #define _LESENSE_PERCTRL_DACCH1OUT_DISABLE 0x00000000UL
309 #define _LESENSE_PERCTRL_DACCH1OUT_PIN 0x00000001UL
310 #define _LESENSE_PERCTRL_DACCH1OUT_ADCACMP 0x00000002UL
311 #define _LESENSE_PERCTRL_DACCH1OUT_PINADCACMP 0x00000003UL
312 #define LESENSE_PERCTRL_DACCH1OUT_DEFAULT (_LESENSE_PERCTRL_DACCH1OUT_DEFAULT << 8)
313 #define LESENSE_PERCTRL_DACCH1OUT_DISABLE (_LESENSE_PERCTRL_DACCH1OUT_DISABLE << 8)
314 #define LESENSE_PERCTRL_DACCH1OUT_PIN (_LESENSE_PERCTRL_DACCH1OUT_PIN << 8)
315 #define LESENSE_PERCTRL_DACCH1OUT_ADCACMP (_LESENSE_PERCTRL_DACCH1OUT_ADCACMP << 8)
316 #define LESENSE_PERCTRL_DACCH1OUT_PINADCACMP (_LESENSE_PERCTRL_DACCH1OUT_PINADCACMP << 8)
317 #define _LESENSE_PERCTRL_DACPRESC_SHIFT 10
318 #define _LESENSE_PERCTRL_DACPRESC_MASK 0x7C00UL
319 #define _LESENSE_PERCTRL_DACPRESC_DEFAULT 0x00000000UL
320 #define LESENSE_PERCTRL_DACPRESC_DEFAULT (_LESENSE_PERCTRL_DACPRESC_DEFAULT << 10)
321 #define LESENSE_PERCTRL_DACREF (0x1UL << 18)
322 #define _LESENSE_PERCTRL_DACREF_SHIFT 18
323 #define _LESENSE_PERCTRL_DACREF_MASK 0x40000UL
324 #define _LESENSE_PERCTRL_DACREF_DEFAULT 0x00000000UL
325 #define _LESENSE_PERCTRL_DACREF_VDD 0x00000000UL
326 #define _LESENSE_PERCTRL_DACREF_BANDGAP 0x00000001UL
327 #define LESENSE_PERCTRL_DACREF_DEFAULT (_LESENSE_PERCTRL_DACREF_DEFAULT << 18)
328 #define LESENSE_PERCTRL_DACREF_VDD (_LESENSE_PERCTRL_DACREF_VDD << 18)
329 #define LESENSE_PERCTRL_DACREF_BANDGAP (_LESENSE_PERCTRL_DACREF_BANDGAP << 18)
330 #define _LESENSE_PERCTRL_ACMP0MODE_SHIFT 20
331 #define _LESENSE_PERCTRL_ACMP0MODE_MASK 0x300000UL
332 #define _LESENSE_PERCTRL_ACMP0MODE_DEFAULT 0x00000000UL
333 #define _LESENSE_PERCTRL_ACMP0MODE_DISABLE 0x00000000UL
334 #define _LESENSE_PERCTRL_ACMP0MODE_MUX 0x00000001UL
335 #define _LESENSE_PERCTRL_ACMP0MODE_MUXTHRES 0x00000002UL
336 #define LESENSE_PERCTRL_ACMP0MODE_DEFAULT (_LESENSE_PERCTRL_ACMP0MODE_DEFAULT << 20)
337 #define LESENSE_PERCTRL_ACMP0MODE_DISABLE (_LESENSE_PERCTRL_ACMP0MODE_DISABLE << 20)
338 #define LESENSE_PERCTRL_ACMP0MODE_MUX (_LESENSE_PERCTRL_ACMP0MODE_MUX << 20)
339 #define LESENSE_PERCTRL_ACMP0MODE_MUXTHRES (_LESENSE_PERCTRL_ACMP0MODE_MUXTHRES << 20)
340 #define _LESENSE_PERCTRL_ACMP1MODE_SHIFT 22
341 #define _LESENSE_PERCTRL_ACMP1MODE_MASK 0xC00000UL
342 #define _LESENSE_PERCTRL_ACMP1MODE_DEFAULT 0x00000000UL
343 #define _LESENSE_PERCTRL_ACMP1MODE_DISABLE 0x00000000UL
344 #define _LESENSE_PERCTRL_ACMP1MODE_MUX 0x00000001UL
345 #define _LESENSE_PERCTRL_ACMP1MODE_MUXTHRES 0x00000002UL
346 #define LESENSE_PERCTRL_ACMP1MODE_DEFAULT (_LESENSE_PERCTRL_ACMP1MODE_DEFAULT << 22)
347 #define LESENSE_PERCTRL_ACMP1MODE_DISABLE (_LESENSE_PERCTRL_ACMP1MODE_DISABLE << 22)
348 #define LESENSE_PERCTRL_ACMP1MODE_MUX (_LESENSE_PERCTRL_ACMP1MODE_MUX << 22)
349 #define LESENSE_PERCTRL_ACMP1MODE_MUXTHRES (_LESENSE_PERCTRL_ACMP1MODE_MUXTHRES << 22)
350 #define _LESENSE_PERCTRL_WARMUPMODE_SHIFT 26
351 #define _LESENSE_PERCTRL_WARMUPMODE_MASK 0xC000000UL
352 #define _LESENSE_PERCTRL_WARMUPMODE_DEFAULT 0x00000000UL
353 #define _LESENSE_PERCTRL_WARMUPMODE_NORMAL 0x00000000UL
354 #define _LESENSE_PERCTRL_WARMUPMODE_KEEPACMPWARM 0x00000001UL
355 #define _LESENSE_PERCTRL_WARMUPMODE_KEEPDACWARM 0x00000002UL
356 #define _LESENSE_PERCTRL_WARMUPMODE_KEEPACMPDACWARM 0x00000003UL
357 #define LESENSE_PERCTRL_WARMUPMODE_DEFAULT (_LESENSE_PERCTRL_WARMUPMODE_DEFAULT << 26)
358 #define LESENSE_PERCTRL_WARMUPMODE_NORMAL (_LESENSE_PERCTRL_WARMUPMODE_NORMAL << 26)
359 #define LESENSE_PERCTRL_WARMUPMODE_KEEPACMPWARM (_LESENSE_PERCTRL_WARMUPMODE_KEEPACMPWARM << 26)
360 #define LESENSE_PERCTRL_WARMUPMODE_KEEPDACWARM (_LESENSE_PERCTRL_WARMUPMODE_KEEPDACWARM << 26)
361 #define LESENSE_PERCTRL_WARMUPMODE_KEEPACMPDACWARM (_LESENSE_PERCTRL_WARMUPMODE_KEEPACMPDACWARM << 26)
363 /* Bit fields for LESENSE DECCTRL */
364 #define _LESENSE_DECCTRL_RESETVALUE 0x00000000UL
365 #define _LESENSE_DECCTRL_MASK 0x01DDDDFFUL
366 #define LESENSE_DECCTRL_DISABLE (0x1UL << 0)
367 #define _LESENSE_DECCTRL_DISABLE_SHIFT 0
368 #define _LESENSE_DECCTRL_DISABLE_MASK 0x1UL
369 #define _LESENSE_DECCTRL_DISABLE_DEFAULT 0x00000000UL
370 #define LESENSE_DECCTRL_DISABLE_DEFAULT (_LESENSE_DECCTRL_DISABLE_DEFAULT << 0)
371 #define LESENSE_DECCTRL_ERRCHK (0x1UL << 1)
372 #define _LESENSE_DECCTRL_ERRCHK_SHIFT 1
373 #define _LESENSE_DECCTRL_ERRCHK_MASK 0x2UL
374 #define _LESENSE_DECCTRL_ERRCHK_DEFAULT 0x00000000UL
375 #define LESENSE_DECCTRL_ERRCHK_DEFAULT (_LESENSE_DECCTRL_ERRCHK_DEFAULT << 1)
376 #define LESENSE_DECCTRL_INTMAP (0x1UL << 2)
377 #define _LESENSE_DECCTRL_INTMAP_SHIFT 2
378 #define _LESENSE_DECCTRL_INTMAP_MASK 0x4UL
379 #define _LESENSE_DECCTRL_INTMAP_DEFAULT 0x00000000UL
380 #define LESENSE_DECCTRL_INTMAP_DEFAULT (_LESENSE_DECCTRL_INTMAP_DEFAULT << 2)
381 #define LESENSE_DECCTRL_HYSTPRS0 (0x1UL << 3)
382 #define _LESENSE_DECCTRL_HYSTPRS0_SHIFT 3
383 #define _LESENSE_DECCTRL_HYSTPRS0_MASK 0x8UL
384 #define _LESENSE_DECCTRL_HYSTPRS0_DEFAULT 0x00000000UL
385 #define LESENSE_DECCTRL_HYSTPRS0_DEFAULT (_LESENSE_DECCTRL_HYSTPRS0_DEFAULT << 3)
386 #define LESENSE_DECCTRL_HYSTPRS1 (0x1UL << 4)
387 #define _LESENSE_DECCTRL_HYSTPRS1_SHIFT 4
388 #define _LESENSE_DECCTRL_HYSTPRS1_MASK 0x10UL
389 #define _LESENSE_DECCTRL_HYSTPRS1_DEFAULT 0x00000000UL
390 #define LESENSE_DECCTRL_HYSTPRS1_DEFAULT (_LESENSE_DECCTRL_HYSTPRS1_DEFAULT << 4)
391 #define LESENSE_DECCTRL_HYSTPRS2 (0x1UL << 5)
392 #define _LESENSE_DECCTRL_HYSTPRS2_SHIFT 5
393 #define _LESENSE_DECCTRL_HYSTPRS2_MASK 0x20UL
394 #define _LESENSE_DECCTRL_HYSTPRS2_DEFAULT 0x00000000UL
395 #define LESENSE_DECCTRL_HYSTPRS2_DEFAULT (_LESENSE_DECCTRL_HYSTPRS2_DEFAULT << 5)
396 #define LESENSE_DECCTRL_HYSTIRQ (0x1UL << 6)
397 #define _LESENSE_DECCTRL_HYSTIRQ_SHIFT 6
398 #define _LESENSE_DECCTRL_HYSTIRQ_MASK 0x40UL
399 #define _LESENSE_DECCTRL_HYSTIRQ_DEFAULT 0x00000000UL
400 #define LESENSE_DECCTRL_HYSTIRQ_DEFAULT (_LESENSE_DECCTRL_HYSTIRQ_DEFAULT << 6)
401 #define LESENSE_DECCTRL_PRSCNT (0x1UL << 7)
402 #define _LESENSE_DECCTRL_PRSCNT_SHIFT 7
403 #define _LESENSE_DECCTRL_PRSCNT_MASK 0x80UL
404 #define _LESENSE_DECCTRL_PRSCNT_DEFAULT 0x00000000UL
405 #define LESENSE_DECCTRL_PRSCNT_DEFAULT (_LESENSE_DECCTRL_PRSCNT_DEFAULT << 7)
406 #define LESENSE_DECCTRL_INPUT (0x1UL << 8)
407 #define _LESENSE_DECCTRL_INPUT_SHIFT 8
408 #define _LESENSE_DECCTRL_INPUT_MASK 0x100UL
409 #define _LESENSE_DECCTRL_INPUT_DEFAULT 0x00000000UL
410 #define _LESENSE_DECCTRL_INPUT_SENSORSTATE 0x00000000UL
411 #define _LESENSE_DECCTRL_INPUT_PRS 0x00000001UL
412 #define LESENSE_DECCTRL_INPUT_DEFAULT (_LESENSE_DECCTRL_INPUT_DEFAULT << 8)
413 #define LESENSE_DECCTRL_INPUT_SENSORSTATE (_LESENSE_DECCTRL_INPUT_SENSORSTATE << 8)
414 #define LESENSE_DECCTRL_INPUT_PRS (_LESENSE_DECCTRL_INPUT_PRS << 8)
415 #define _LESENSE_DECCTRL_PRSSEL0_SHIFT 10
416 #define _LESENSE_DECCTRL_PRSSEL0_MASK 0x1C00UL
417 #define _LESENSE_DECCTRL_PRSSEL0_DEFAULT 0x00000000UL
418 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH0 0x00000000UL
419 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH1 0x00000001UL
420 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH2 0x00000002UL
421 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH3 0x00000003UL
422 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH4 0x00000004UL
423 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH5 0x00000005UL
424 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH6 0x00000006UL
425 #define _LESENSE_DECCTRL_PRSSEL0_PRSCH7 0x00000007UL
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_PRSSEL1_SHIFT 14
436 #define _LESENSE_DECCTRL_PRSSEL1_MASK 0x1C000UL
437 #define _LESENSE_DECCTRL_PRSSEL1_DEFAULT 0x00000000UL
438 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH0 0x00000000UL
439 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH1 0x00000001UL
440 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH2 0x00000002UL
441 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH3 0x00000003UL
442 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH4 0x00000004UL
443 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH5 0x00000005UL
444 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH6 0x00000006UL
445 #define _LESENSE_DECCTRL_PRSSEL1_PRSCH7 0x00000007UL
446 #define LESENSE_DECCTRL_PRSSEL1_DEFAULT (_LESENSE_DECCTRL_PRSSEL1_DEFAULT << 14)
447 #define LESENSE_DECCTRL_PRSSEL1_PRSCH0 (_LESENSE_DECCTRL_PRSSEL1_PRSCH0 << 14)
448 #define LESENSE_DECCTRL_PRSSEL1_PRSCH1 (_LESENSE_DECCTRL_PRSSEL1_PRSCH1 << 14)
449 #define LESENSE_DECCTRL_PRSSEL1_PRSCH2 (_LESENSE_DECCTRL_PRSSEL1_PRSCH2 << 14)
450 #define LESENSE_DECCTRL_PRSSEL1_PRSCH3 (_LESENSE_DECCTRL_PRSSEL1_PRSCH3 << 14)
451 #define LESENSE_DECCTRL_PRSSEL1_PRSCH4 (_LESENSE_DECCTRL_PRSSEL1_PRSCH4 << 14)
452 #define LESENSE_DECCTRL_PRSSEL1_PRSCH5 (_LESENSE_DECCTRL_PRSSEL1_PRSCH5 << 14)
453 #define LESENSE_DECCTRL_PRSSEL1_PRSCH6 (_LESENSE_DECCTRL_PRSSEL1_PRSCH6 << 14)
454 #define LESENSE_DECCTRL_PRSSEL1_PRSCH7 (_LESENSE_DECCTRL_PRSSEL1_PRSCH7 << 14)
455 #define _LESENSE_DECCTRL_PRSSEL2_SHIFT 18
456 #define _LESENSE_DECCTRL_PRSSEL2_MASK 0x1C0000UL
457 #define _LESENSE_DECCTRL_PRSSEL2_DEFAULT 0x00000000UL
458 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH0 0x00000000UL
459 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH1 0x00000001UL
460 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH2 0x00000002UL
461 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH3 0x00000003UL
462 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH4 0x00000004UL
463 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH5 0x00000005UL
464 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH6 0x00000006UL
465 #define _LESENSE_DECCTRL_PRSSEL2_PRSCH7 0x00000007UL
466 #define LESENSE_DECCTRL_PRSSEL2_DEFAULT (_LESENSE_DECCTRL_PRSSEL2_DEFAULT << 18)
467 #define LESENSE_DECCTRL_PRSSEL2_PRSCH0 (_LESENSE_DECCTRL_PRSSEL2_PRSCH0 << 18)
468 #define LESENSE_DECCTRL_PRSSEL2_PRSCH1 (_LESENSE_DECCTRL_PRSSEL2_PRSCH1 << 18)
469 #define LESENSE_DECCTRL_PRSSEL2_PRSCH2 (_LESENSE_DECCTRL_PRSSEL2_PRSCH2 << 18)
470 #define LESENSE_DECCTRL_PRSSEL2_PRSCH3 (_LESENSE_DECCTRL_PRSSEL2_PRSCH3 << 18)
471 #define LESENSE_DECCTRL_PRSSEL2_PRSCH4 (_LESENSE_DECCTRL_PRSSEL2_PRSCH4 << 18)
472 #define LESENSE_DECCTRL_PRSSEL2_PRSCH5 (_LESENSE_DECCTRL_PRSSEL2_PRSCH5 << 18)
473 #define LESENSE_DECCTRL_PRSSEL2_PRSCH6 (_LESENSE_DECCTRL_PRSSEL2_PRSCH6 << 18)
474 #define LESENSE_DECCTRL_PRSSEL2_PRSCH7 (_LESENSE_DECCTRL_PRSSEL2_PRSCH7 << 18)
475 #define _LESENSE_DECCTRL_PRSSEL3_SHIFT 22
476 #define _LESENSE_DECCTRL_PRSSEL3_MASK 0x1C00000UL
477 #define _LESENSE_DECCTRL_PRSSEL3_DEFAULT 0x00000000UL
478 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH0 0x00000000UL
479 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH1 0x00000001UL
480 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH2 0x00000002UL
481 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH3 0x00000003UL
482 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH4 0x00000004UL
483 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH5 0x00000005UL
484 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH6 0x00000006UL
485 #define _LESENSE_DECCTRL_PRSSEL3_PRSCH7 0x00000007UL
486 #define LESENSE_DECCTRL_PRSSEL3_DEFAULT (_LESENSE_DECCTRL_PRSSEL3_DEFAULT << 22)
487 #define LESENSE_DECCTRL_PRSSEL3_PRSCH0 (_LESENSE_DECCTRL_PRSSEL3_PRSCH0 << 22)
488 #define LESENSE_DECCTRL_PRSSEL3_PRSCH1 (_LESENSE_DECCTRL_PRSSEL3_PRSCH1 << 22)
489 #define LESENSE_DECCTRL_PRSSEL3_PRSCH2 (_LESENSE_DECCTRL_PRSSEL3_PRSCH2 << 22)
490 #define LESENSE_DECCTRL_PRSSEL3_PRSCH3 (_LESENSE_DECCTRL_PRSSEL3_PRSCH3 << 22)
491 #define LESENSE_DECCTRL_PRSSEL3_PRSCH4 (_LESENSE_DECCTRL_PRSSEL3_PRSCH4 << 22)
492 #define LESENSE_DECCTRL_PRSSEL3_PRSCH5 (_LESENSE_DECCTRL_PRSSEL3_PRSCH5 << 22)
493 #define LESENSE_DECCTRL_PRSSEL3_PRSCH6 (_LESENSE_DECCTRL_PRSSEL3_PRSCH6 << 22)
494 #define LESENSE_DECCTRL_PRSSEL3_PRSCH7 (_LESENSE_DECCTRL_PRSSEL3_PRSCH7 << 22)
496 /* Bit fields for LESENSE BIASCTRL */
497 #define _LESENSE_BIASCTRL_RESETVALUE 0x00000000UL
498 #define _LESENSE_BIASCTRL_MASK 0x00000003UL
499 #define _LESENSE_BIASCTRL_BIASMODE_SHIFT 0
500 #define _LESENSE_BIASCTRL_BIASMODE_MASK 0x3UL
501 #define _LESENSE_BIASCTRL_BIASMODE_DEFAULT 0x00000000UL
502 #define _LESENSE_BIASCTRL_BIASMODE_DUTYCYCLE 0x00000000UL
503 #define _LESENSE_BIASCTRL_BIASMODE_HIGHACC 0x00000001UL
504 #define _LESENSE_BIASCTRL_BIASMODE_DONTTOUCH 0x00000002UL
505 #define LESENSE_BIASCTRL_BIASMODE_DEFAULT (_LESENSE_BIASCTRL_BIASMODE_DEFAULT << 0)
506 #define LESENSE_BIASCTRL_BIASMODE_DUTYCYCLE (_LESENSE_BIASCTRL_BIASMODE_DUTYCYCLE << 0)
507 #define LESENSE_BIASCTRL_BIASMODE_HIGHACC (_LESENSE_BIASCTRL_BIASMODE_HIGHACC << 0)
508 #define LESENSE_BIASCTRL_BIASMODE_DONTTOUCH (_LESENSE_BIASCTRL_BIASMODE_DONTTOUCH << 0)
510 /* Bit fields for LESENSE CMD */
511 #define _LESENSE_CMD_RESETVALUE 0x00000000UL
512 #define _LESENSE_CMD_MASK 0x0000000FUL
513 #define LESENSE_CMD_START (0x1UL << 0)
514 #define _LESENSE_CMD_START_SHIFT 0
515 #define _LESENSE_CMD_START_MASK 0x1UL
516 #define _LESENSE_CMD_START_DEFAULT 0x00000000UL
517 #define LESENSE_CMD_START_DEFAULT (_LESENSE_CMD_START_DEFAULT << 0)
518 #define LESENSE_CMD_STOP (0x1UL << 1)
519 #define _LESENSE_CMD_STOP_SHIFT 1
520 #define _LESENSE_CMD_STOP_MASK 0x2UL
521 #define _LESENSE_CMD_STOP_DEFAULT 0x00000000UL
522 #define LESENSE_CMD_STOP_DEFAULT (_LESENSE_CMD_STOP_DEFAULT << 1)
523 #define LESENSE_CMD_DECODE (0x1UL << 2)
524 #define _LESENSE_CMD_DECODE_SHIFT 2
525 #define _LESENSE_CMD_DECODE_MASK 0x4UL
526 #define _LESENSE_CMD_DECODE_DEFAULT 0x00000000UL
527 #define LESENSE_CMD_DECODE_DEFAULT (_LESENSE_CMD_DECODE_DEFAULT << 2)
528 #define LESENSE_CMD_CLEARBUF (0x1UL << 3)
529 #define _LESENSE_CMD_CLEARBUF_SHIFT 3
530 #define _LESENSE_CMD_CLEARBUF_MASK 0x8UL
531 #define _LESENSE_CMD_CLEARBUF_DEFAULT 0x00000000UL
532 #define LESENSE_CMD_CLEARBUF_DEFAULT (_LESENSE_CMD_CLEARBUF_DEFAULT << 3)
534 /* Bit fields for LESENSE CHEN */
535 #define _LESENSE_CHEN_RESETVALUE 0x00000000UL
536 #define _LESENSE_CHEN_MASK 0x0000FFFFUL
537 #define _LESENSE_CHEN_CHEN_SHIFT 0
538 #define _LESENSE_CHEN_CHEN_MASK 0xFFFFUL
539 #define _LESENSE_CHEN_CHEN_DEFAULT 0x00000000UL
540 #define LESENSE_CHEN_CHEN_DEFAULT (_LESENSE_CHEN_CHEN_DEFAULT << 0)
542 /* Bit fields for LESENSE SCANRES */
543 #define _LESENSE_SCANRES_RESETVALUE 0x00000000UL
544 #define _LESENSE_SCANRES_MASK 0x0000FFFFUL
545 #define _LESENSE_SCANRES_SCANRES_SHIFT 0
546 #define _LESENSE_SCANRES_SCANRES_MASK 0xFFFFUL
547 #define _LESENSE_SCANRES_SCANRES_DEFAULT 0x00000000UL
548 #define LESENSE_SCANRES_SCANRES_DEFAULT (_LESENSE_SCANRES_SCANRES_DEFAULT << 0)
550 /* Bit fields for LESENSE STATUS */
551 #define _LESENSE_STATUS_RESETVALUE 0x00000000UL
552 #define _LESENSE_STATUS_MASK 0x0000003FUL
553 #define LESENSE_STATUS_BUFDATAV (0x1UL << 0)
554 #define _LESENSE_STATUS_BUFDATAV_SHIFT 0
555 #define _LESENSE_STATUS_BUFDATAV_MASK 0x1UL
556 #define _LESENSE_STATUS_BUFDATAV_DEFAULT 0x00000000UL
557 #define LESENSE_STATUS_BUFDATAV_DEFAULT (_LESENSE_STATUS_BUFDATAV_DEFAULT << 0)
558 #define LESENSE_STATUS_BUFHALFFULL (0x1UL << 1)
559 #define _LESENSE_STATUS_BUFHALFFULL_SHIFT 1
560 #define _LESENSE_STATUS_BUFHALFFULL_MASK 0x2UL
561 #define _LESENSE_STATUS_BUFHALFFULL_DEFAULT 0x00000000UL
562 #define LESENSE_STATUS_BUFHALFFULL_DEFAULT (_LESENSE_STATUS_BUFHALFFULL_DEFAULT << 1)
563 #define LESENSE_STATUS_BUFFULL (0x1UL << 2)
564 #define _LESENSE_STATUS_BUFFULL_SHIFT 2
565 #define _LESENSE_STATUS_BUFFULL_MASK 0x4UL
566 #define _LESENSE_STATUS_BUFFULL_DEFAULT 0x00000000UL
567 #define LESENSE_STATUS_BUFFULL_DEFAULT (_LESENSE_STATUS_BUFFULL_DEFAULT << 2)
568 #define LESENSE_STATUS_RUNNING (0x1UL << 3)
569 #define _LESENSE_STATUS_RUNNING_SHIFT 3
570 #define _LESENSE_STATUS_RUNNING_MASK 0x8UL
571 #define _LESENSE_STATUS_RUNNING_DEFAULT 0x00000000UL
572 #define LESENSE_STATUS_RUNNING_DEFAULT (_LESENSE_STATUS_RUNNING_DEFAULT << 3)
573 #define LESENSE_STATUS_SCANACTIVE (0x1UL << 4)
574 #define _LESENSE_STATUS_SCANACTIVE_SHIFT 4
575 #define _LESENSE_STATUS_SCANACTIVE_MASK 0x10UL
576 #define _LESENSE_STATUS_SCANACTIVE_DEFAULT 0x00000000UL
577 #define LESENSE_STATUS_SCANACTIVE_DEFAULT (_LESENSE_STATUS_SCANACTIVE_DEFAULT << 4)
578 #define LESENSE_STATUS_DACACTIVE (0x1UL << 5)
579 #define _LESENSE_STATUS_DACACTIVE_SHIFT 5
580 #define _LESENSE_STATUS_DACACTIVE_MASK 0x20UL
581 #define _LESENSE_STATUS_DACACTIVE_DEFAULT 0x00000000UL
582 #define LESENSE_STATUS_DACACTIVE_DEFAULT (_LESENSE_STATUS_DACACTIVE_DEFAULT << 5)
584 /* Bit fields for LESENSE PTR */
585 #define _LESENSE_PTR_RESETVALUE 0x00000000UL
586 #define _LESENSE_PTR_MASK 0x000001EFUL
587 #define _LESENSE_PTR_RD_SHIFT 0
588 #define _LESENSE_PTR_RD_MASK 0xFUL
589 #define _LESENSE_PTR_RD_DEFAULT 0x00000000UL
590 #define LESENSE_PTR_RD_DEFAULT (_LESENSE_PTR_RD_DEFAULT << 0)
591 #define _LESENSE_PTR_WR_SHIFT 5
592 #define _LESENSE_PTR_WR_MASK 0x1E0UL
593 #define _LESENSE_PTR_WR_DEFAULT 0x00000000UL
594 #define LESENSE_PTR_WR_DEFAULT (_LESENSE_PTR_WR_DEFAULT << 5)
596 /* Bit fields for LESENSE BUFDATA */
597 #define _LESENSE_BUFDATA_RESETVALUE 0x00000000UL
598 #define _LESENSE_BUFDATA_MASK 0x0000FFFFUL
599 #define _LESENSE_BUFDATA_BUFDATA_SHIFT 0
600 #define _LESENSE_BUFDATA_BUFDATA_MASK 0xFFFFUL
601 #define _LESENSE_BUFDATA_BUFDATA_DEFAULT 0x00000000UL
602 #define LESENSE_BUFDATA_BUFDATA_DEFAULT (_LESENSE_BUFDATA_BUFDATA_DEFAULT << 0)
604 /* Bit fields for LESENSE CURCH */
605 #define _LESENSE_CURCH_RESETVALUE 0x00000000UL
606 #define _LESENSE_CURCH_MASK 0x0000000FUL
607 #define _LESENSE_CURCH_CURCH_SHIFT 0
608 #define _LESENSE_CURCH_CURCH_MASK 0xFUL
609 #define _LESENSE_CURCH_CURCH_DEFAULT 0x00000000UL
610 #define LESENSE_CURCH_CURCH_DEFAULT (_LESENSE_CURCH_CURCH_DEFAULT << 0)
612 /* Bit fields for LESENSE DECSTATE */
613 #define _LESENSE_DECSTATE_RESETVALUE 0x00000000UL
614 #define _LESENSE_DECSTATE_MASK 0x0000000FUL
615 #define _LESENSE_DECSTATE_DECSTATE_SHIFT 0
616 #define _LESENSE_DECSTATE_DECSTATE_MASK 0xFUL
617 #define _LESENSE_DECSTATE_DECSTATE_DEFAULT 0x00000000UL
618 #define LESENSE_DECSTATE_DECSTATE_DEFAULT (_LESENSE_DECSTATE_DECSTATE_DEFAULT << 0)
620 /* Bit fields for LESENSE SENSORSTATE */
621 #define _LESENSE_SENSORSTATE_RESETVALUE 0x00000000UL
622 #define _LESENSE_SENSORSTATE_MASK 0x0000000FUL
623 #define _LESENSE_SENSORSTATE_SENSORSTATE_SHIFT 0
624 #define _LESENSE_SENSORSTATE_SENSORSTATE_MASK 0xFUL
625 #define _LESENSE_SENSORSTATE_SENSORSTATE_DEFAULT 0x00000000UL
626 #define LESENSE_SENSORSTATE_SENSORSTATE_DEFAULT (_LESENSE_SENSORSTATE_SENSORSTATE_DEFAULT << 0)
628 /* Bit fields for LESENSE IDLECONF */
629 #define _LESENSE_IDLECONF_RESETVALUE 0x00000000UL
630 #define _LESENSE_IDLECONF_MASK 0xFFFFFFFFUL
631 #define _LESENSE_IDLECONF_CH0_SHIFT 0
632 #define _LESENSE_IDLECONF_CH0_MASK 0x3UL
633 #define _LESENSE_IDLECONF_CH0_DEFAULT 0x00000000UL
634 #define _LESENSE_IDLECONF_CH0_DISABLE 0x00000000UL
635 #define _LESENSE_IDLECONF_CH0_HIGH 0x00000001UL
636 #define _LESENSE_IDLECONF_CH0_LOW 0x00000002UL
637 #define _LESENSE_IDLECONF_CH0_DACCH0 0x00000003UL
638 #define LESENSE_IDLECONF_CH0_DEFAULT (_LESENSE_IDLECONF_CH0_DEFAULT << 0)
639 #define LESENSE_IDLECONF_CH0_DISABLE (_LESENSE_IDLECONF_CH0_DISABLE << 0)
640 #define LESENSE_IDLECONF_CH0_HIGH (_LESENSE_IDLECONF_CH0_HIGH << 0)
641 #define LESENSE_IDLECONF_CH0_LOW (_LESENSE_IDLECONF_CH0_LOW << 0)
642 #define LESENSE_IDLECONF_CH0_DACCH0 (_LESENSE_IDLECONF_CH0_DACCH0 << 0)
643 #define _LESENSE_IDLECONF_CH1_SHIFT 2
644 #define _LESENSE_IDLECONF_CH1_MASK 0xCUL
645 #define _LESENSE_IDLECONF_CH1_DEFAULT 0x00000000UL
646 #define _LESENSE_IDLECONF_CH1_DISABLE 0x00000000UL
647 #define _LESENSE_IDLECONF_CH1_HIGH 0x00000001UL
648 #define _LESENSE_IDLECONF_CH1_LOW 0x00000002UL
649 #define _LESENSE_IDLECONF_CH1_DACCH0 0x00000003UL
650 #define LESENSE_IDLECONF_CH1_DEFAULT (_LESENSE_IDLECONF_CH1_DEFAULT << 2)
651 #define LESENSE_IDLECONF_CH1_DISABLE (_LESENSE_IDLECONF_CH1_DISABLE << 2)
652 #define LESENSE_IDLECONF_CH1_HIGH (_LESENSE_IDLECONF_CH1_HIGH << 2)
653 #define LESENSE_IDLECONF_CH1_LOW (_LESENSE_IDLECONF_CH1_LOW << 2)
654 #define LESENSE_IDLECONF_CH1_DACCH0 (_LESENSE_IDLECONF_CH1_DACCH0 << 2)
655 #define _LESENSE_IDLECONF_CH2_SHIFT 4
656 #define _LESENSE_IDLECONF_CH2_MASK 0x30UL
657 #define _LESENSE_IDLECONF_CH2_DEFAULT 0x00000000UL
658 #define _LESENSE_IDLECONF_CH2_DISABLE 0x00000000UL
659 #define _LESENSE_IDLECONF_CH2_HIGH 0x00000001UL
660 #define _LESENSE_IDLECONF_CH2_LOW 0x00000002UL
661 #define _LESENSE_IDLECONF_CH2_DACCH0 0x00000003UL
662 #define LESENSE_IDLECONF_CH2_DEFAULT (_LESENSE_IDLECONF_CH2_DEFAULT << 4)
663 #define LESENSE_IDLECONF_CH2_DISABLE (_LESENSE_IDLECONF_CH2_DISABLE << 4)
664 #define LESENSE_IDLECONF_CH2_HIGH (_LESENSE_IDLECONF_CH2_HIGH << 4)
665 #define LESENSE_IDLECONF_CH2_LOW (_LESENSE_IDLECONF_CH2_LOW << 4)
666 #define LESENSE_IDLECONF_CH2_DACCH0 (_LESENSE_IDLECONF_CH2_DACCH0 << 4)
667 #define _LESENSE_IDLECONF_CH3_SHIFT 6
668 #define _LESENSE_IDLECONF_CH3_MASK 0xC0UL
669 #define _LESENSE_IDLECONF_CH3_DEFAULT 0x00000000UL
670 #define _LESENSE_IDLECONF_CH3_DISABLE 0x00000000UL
671 #define _LESENSE_IDLECONF_CH3_HIGH 0x00000001UL
672 #define _LESENSE_IDLECONF_CH3_LOW 0x00000002UL
673 #define _LESENSE_IDLECONF_CH3_DACCH0 0x00000003UL
674 #define LESENSE_IDLECONF_CH3_DEFAULT (_LESENSE_IDLECONF_CH3_DEFAULT << 6)
675 #define LESENSE_IDLECONF_CH3_DISABLE (_LESENSE_IDLECONF_CH3_DISABLE << 6)
676 #define LESENSE_IDLECONF_CH3_HIGH (_LESENSE_IDLECONF_CH3_HIGH << 6)
677 #define LESENSE_IDLECONF_CH3_LOW (_LESENSE_IDLECONF_CH3_LOW << 6)
678 #define LESENSE_IDLECONF_CH3_DACCH0 (_LESENSE_IDLECONF_CH3_DACCH0 << 6)
679 #define _LESENSE_IDLECONF_CH4_SHIFT 8
680 #define _LESENSE_IDLECONF_CH4_MASK 0x300UL
681 #define _LESENSE_IDLECONF_CH4_DEFAULT 0x00000000UL
682 #define _LESENSE_IDLECONF_CH4_DISABLE 0x00000000UL
683 #define _LESENSE_IDLECONF_CH4_HIGH 0x00000001UL
684 #define _LESENSE_IDLECONF_CH4_LOW 0x00000002UL
685 #define LESENSE_IDLECONF_CH4_DEFAULT (_LESENSE_IDLECONF_CH4_DEFAULT << 8)
686 #define LESENSE_IDLECONF_CH4_DISABLE (_LESENSE_IDLECONF_CH4_DISABLE << 8)
687 #define LESENSE_IDLECONF_CH4_HIGH (_LESENSE_IDLECONF_CH4_HIGH << 8)
688 #define LESENSE_IDLECONF_CH4_LOW (_LESENSE_IDLECONF_CH4_LOW << 8)
689 #define _LESENSE_IDLECONF_CH5_SHIFT 10
690 #define _LESENSE_IDLECONF_CH5_MASK 0xC00UL
691 #define _LESENSE_IDLECONF_CH5_DEFAULT 0x00000000UL
692 #define _LESENSE_IDLECONF_CH5_DISABLE 0x00000000UL
693 #define _LESENSE_IDLECONF_CH5_HIGH 0x00000001UL
694 #define _LESENSE_IDLECONF_CH5_LOW 0x00000002UL
695 #define LESENSE_IDLECONF_CH5_DEFAULT (_LESENSE_IDLECONF_CH5_DEFAULT << 10)
696 #define LESENSE_IDLECONF_CH5_DISABLE (_LESENSE_IDLECONF_CH5_DISABLE << 10)
697 #define LESENSE_IDLECONF_CH5_HIGH (_LESENSE_IDLECONF_CH5_HIGH << 10)
698 #define LESENSE_IDLECONF_CH5_LOW (_LESENSE_IDLECONF_CH5_LOW << 10)
699 #define _LESENSE_IDLECONF_CH6_SHIFT 12
700 #define _LESENSE_IDLECONF_CH6_MASK 0x3000UL
701 #define _LESENSE_IDLECONF_CH6_DEFAULT 0x00000000UL
702 #define _LESENSE_IDLECONF_CH6_DISABLE 0x00000000UL
703 #define _LESENSE_IDLECONF_CH6_HIGH 0x00000001UL
704 #define _LESENSE_IDLECONF_CH6_LOW 0x00000002UL
705 #define LESENSE_IDLECONF_CH6_DEFAULT (_LESENSE_IDLECONF_CH6_DEFAULT << 12)
706 #define LESENSE_IDLECONF_CH6_DISABLE (_LESENSE_IDLECONF_CH6_DISABLE << 12)
707 #define LESENSE_IDLECONF_CH6_HIGH (_LESENSE_IDLECONF_CH6_HIGH << 12)
708 #define LESENSE_IDLECONF_CH6_LOW (_LESENSE_IDLECONF_CH6_LOW << 12)
709 #define _LESENSE_IDLECONF_CH7_SHIFT 14
710 #define _LESENSE_IDLECONF_CH7_MASK 0xC000UL
711 #define _LESENSE_IDLECONF_CH7_DEFAULT 0x00000000UL
712 #define _LESENSE_IDLECONF_CH7_DISABLE 0x00000000UL
713 #define _LESENSE_IDLECONF_CH7_HIGH 0x00000001UL
714 #define _LESENSE_IDLECONF_CH7_LOW 0x00000002UL
715 #define LESENSE_IDLECONF_CH7_DEFAULT (_LESENSE_IDLECONF_CH7_DEFAULT << 14)
716 #define LESENSE_IDLECONF_CH7_DISABLE (_LESENSE_IDLECONF_CH7_DISABLE << 14)
717 #define LESENSE_IDLECONF_CH7_HIGH (_LESENSE_IDLECONF_CH7_HIGH << 14)
718 #define LESENSE_IDLECONF_CH7_LOW (_LESENSE_IDLECONF_CH7_LOW << 14)
719 #define _LESENSE_IDLECONF_CH8_SHIFT 16
720 #define _LESENSE_IDLECONF_CH8_MASK 0x30000UL
721 #define _LESENSE_IDLECONF_CH8_DEFAULT 0x00000000UL
722 #define _LESENSE_IDLECONF_CH8_DISABLE 0x00000000UL
723 #define _LESENSE_IDLECONF_CH8_HIGH 0x00000001UL
724 #define _LESENSE_IDLECONF_CH8_LOW 0x00000002UL
725 #define LESENSE_IDLECONF_CH8_DEFAULT (_LESENSE_IDLECONF_CH8_DEFAULT << 16)
726 #define LESENSE_IDLECONF_CH8_DISABLE (_LESENSE_IDLECONF_CH8_DISABLE << 16)
727 #define LESENSE_IDLECONF_CH8_HIGH (_LESENSE_IDLECONF_CH8_HIGH << 16)
728 #define LESENSE_IDLECONF_CH8_LOW (_LESENSE_IDLECONF_CH8_LOW << 16)
729 #define _LESENSE_IDLECONF_CH9_SHIFT 18
730 #define _LESENSE_IDLECONF_CH9_MASK 0xC0000UL
731 #define _LESENSE_IDLECONF_CH9_DEFAULT 0x00000000UL
732 #define _LESENSE_IDLECONF_CH9_DISABLE 0x00000000UL
733 #define _LESENSE_IDLECONF_CH9_HIGH 0x00000001UL
734 #define _LESENSE_IDLECONF_CH9_LOW 0x00000002UL
735 #define LESENSE_IDLECONF_CH9_DEFAULT (_LESENSE_IDLECONF_CH9_DEFAULT << 18)
736 #define LESENSE_IDLECONF_CH9_DISABLE (_LESENSE_IDLECONF_CH9_DISABLE << 18)
737 #define LESENSE_IDLECONF_CH9_HIGH (_LESENSE_IDLECONF_CH9_HIGH << 18)
738 #define LESENSE_IDLECONF_CH9_LOW (_LESENSE_IDLECONF_CH9_LOW << 18)
739 #define _LESENSE_IDLECONF_CH10_SHIFT 20
740 #define _LESENSE_IDLECONF_CH10_MASK 0x300000UL
741 #define _LESENSE_IDLECONF_CH10_DEFAULT 0x00000000UL
742 #define _LESENSE_IDLECONF_CH10_DISABLE 0x00000000UL
743 #define _LESENSE_IDLECONF_CH10_HIGH 0x00000001UL
744 #define _LESENSE_IDLECONF_CH10_LOW 0x00000002UL
745 #define LESENSE_IDLECONF_CH10_DEFAULT (_LESENSE_IDLECONF_CH10_DEFAULT << 20)
746 #define LESENSE_IDLECONF_CH10_DISABLE (_LESENSE_IDLECONF_CH10_DISABLE << 20)
747 #define LESENSE_IDLECONF_CH10_HIGH (_LESENSE_IDLECONF_CH10_HIGH << 20)
748 #define LESENSE_IDLECONF_CH10_LOW (_LESENSE_IDLECONF_CH10_LOW << 20)
749 #define _LESENSE_IDLECONF_CH11_SHIFT 22
750 #define _LESENSE_IDLECONF_CH11_MASK 0xC00000UL
751 #define _LESENSE_IDLECONF_CH11_DEFAULT 0x00000000UL
752 #define _LESENSE_IDLECONF_CH11_DISABLE 0x00000000UL
753 #define _LESENSE_IDLECONF_CH11_HIGH 0x00000001UL
754 #define _LESENSE_IDLECONF_CH11_LOW 0x00000002UL
755 #define LESENSE_IDLECONF_CH11_DEFAULT (_LESENSE_IDLECONF_CH11_DEFAULT << 22)
756 #define LESENSE_IDLECONF_CH11_DISABLE (_LESENSE_IDLECONF_CH11_DISABLE << 22)
757 #define LESENSE_IDLECONF_CH11_HIGH (_LESENSE_IDLECONF_CH11_HIGH << 22)
758 #define LESENSE_IDLECONF_CH11_LOW (_LESENSE_IDLECONF_CH11_LOW << 22)
759 #define _LESENSE_IDLECONF_CH12_SHIFT 24
760 #define _LESENSE_IDLECONF_CH12_MASK 0x3000000UL
761 #define _LESENSE_IDLECONF_CH12_DEFAULT 0x00000000UL
762 #define _LESENSE_IDLECONF_CH12_DISABLE 0x00000000UL
763 #define _LESENSE_IDLECONF_CH12_HIGH 0x00000001UL
764 #define _LESENSE_IDLECONF_CH12_LOW 0x00000002UL
765 #define _LESENSE_IDLECONF_CH12_DACCH1 0x00000003UL
766 #define LESENSE_IDLECONF_CH12_DEFAULT (_LESENSE_IDLECONF_CH12_DEFAULT << 24)
767 #define LESENSE_IDLECONF_CH12_DISABLE (_LESENSE_IDLECONF_CH12_DISABLE << 24)
768 #define LESENSE_IDLECONF_CH12_HIGH (_LESENSE_IDLECONF_CH12_HIGH << 24)
769 #define LESENSE_IDLECONF_CH12_LOW (_LESENSE_IDLECONF_CH12_LOW << 24)
770 #define LESENSE_IDLECONF_CH12_DACCH1 (_LESENSE_IDLECONF_CH12_DACCH1 << 24)
771 #define _LESENSE_IDLECONF_CH13_SHIFT 26
772 #define _LESENSE_IDLECONF_CH13_MASK 0xC000000UL
773 #define _LESENSE_IDLECONF_CH13_DEFAULT 0x00000000UL
774 #define _LESENSE_IDLECONF_CH13_DISABLE 0x00000000UL
775 #define _LESENSE_IDLECONF_CH13_HIGH 0x00000001UL
776 #define _LESENSE_IDLECONF_CH13_LOW 0x00000002UL
777 #define _LESENSE_IDLECONF_CH13_DACCH1 0x00000003UL
778 #define LESENSE_IDLECONF_CH13_DEFAULT (_LESENSE_IDLECONF_CH13_DEFAULT << 26)
779 #define LESENSE_IDLECONF_CH13_DISABLE (_LESENSE_IDLECONF_CH13_DISABLE << 26)
780 #define LESENSE_IDLECONF_CH13_HIGH (_LESENSE_IDLECONF_CH13_HIGH << 26)
781 #define LESENSE_IDLECONF_CH13_LOW (_LESENSE_IDLECONF_CH13_LOW << 26)
782 #define LESENSE_IDLECONF_CH13_DACCH1 (_LESENSE_IDLECONF_CH13_DACCH1 << 26)
783 #define _LESENSE_IDLECONF_CH14_SHIFT 28
784 #define _LESENSE_IDLECONF_CH14_MASK 0x30000000UL
785 #define _LESENSE_IDLECONF_CH14_DEFAULT 0x00000000UL
786 #define _LESENSE_IDLECONF_CH14_DISABLE 0x00000000UL
787 #define _LESENSE_IDLECONF_CH14_HIGH 0x00000001UL
788 #define _LESENSE_IDLECONF_CH14_LOW 0x00000002UL
789 #define _LESENSE_IDLECONF_CH14_DACCH1 0x00000003UL
790 #define LESENSE_IDLECONF_CH14_DEFAULT (_LESENSE_IDLECONF_CH14_DEFAULT << 28)
791 #define LESENSE_IDLECONF_CH14_DISABLE (_LESENSE_IDLECONF_CH14_DISABLE << 28)
792 #define LESENSE_IDLECONF_CH14_HIGH (_LESENSE_IDLECONF_CH14_HIGH << 28)
793 #define LESENSE_IDLECONF_CH14_LOW (_LESENSE_IDLECONF_CH14_LOW << 28)
794 #define LESENSE_IDLECONF_CH14_DACCH1 (_LESENSE_IDLECONF_CH14_DACCH1 << 28)
795 #define _LESENSE_IDLECONF_CH15_SHIFT 30
796 #define _LESENSE_IDLECONF_CH15_MASK 0xC0000000UL
797 #define _LESENSE_IDLECONF_CH15_DEFAULT 0x00000000UL
798 #define _LESENSE_IDLECONF_CH15_DISABLE 0x00000000UL
799 #define _LESENSE_IDLECONF_CH15_HIGH 0x00000001UL
800 #define _LESENSE_IDLECONF_CH15_LOW 0x00000002UL
801 #define _LESENSE_IDLECONF_CH15_DACCH1 0x00000003UL
802 #define LESENSE_IDLECONF_CH15_DEFAULT (_LESENSE_IDLECONF_CH15_DEFAULT << 30)
803 #define LESENSE_IDLECONF_CH15_DISABLE (_LESENSE_IDLECONF_CH15_DISABLE << 30)
804 #define LESENSE_IDLECONF_CH15_HIGH (_LESENSE_IDLECONF_CH15_HIGH << 30)
805 #define LESENSE_IDLECONF_CH15_LOW (_LESENSE_IDLECONF_CH15_LOW << 30)
806 #define LESENSE_IDLECONF_CH15_DACCH1 (_LESENSE_IDLECONF_CH15_DACCH1 << 30)
808 /* Bit fields for LESENSE ALTEXCONF */
809 #define _LESENSE_ALTEXCONF_RESETVALUE 0x00000000UL
810 #define _LESENSE_ALTEXCONF_MASK 0x00FFFFFFUL
811 #define _LESENSE_ALTEXCONF_IDLECONF0_SHIFT 0
812 #define _LESENSE_ALTEXCONF_IDLECONF0_MASK 0x3UL
813 #define _LESENSE_ALTEXCONF_IDLECONF0_DEFAULT 0x00000000UL
814 #define _LESENSE_ALTEXCONF_IDLECONF0_DISABLE 0x00000000UL
815 #define _LESENSE_ALTEXCONF_IDLECONF0_HIGH 0x00000001UL
816 #define _LESENSE_ALTEXCONF_IDLECONF0_LOW 0x00000002UL
817 #define LESENSE_ALTEXCONF_IDLECONF0_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF0_DEFAULT << 0)
818 #define LESENSE_ALTEXCONF_IDLECONF0_DISABLE (_LESENSE_ALTEXCONF_IDLECONF0_DISABLE << 0)
819 #define LESENSE_ALTEXCONF_IDLECONF0_HIGH (_LESENSE_ALTEXCONF_IDLECONF0_HIGH << 0)
820 #define LESENSE_ALTEXCONF_IDLECONF0_LOW (_LESENSE_ALTEXCONF_IDLECONF0_LOW << 0)
821 #define _LESENSE_ALTEXCONF_IDLECONF1_SHIFT 2
822 #define _LESENSE_ALTEXCONF_IDLECONF1_MASK 0xCUL
823 #define _LESENSE_ALTEXCONF_IDLECONF1_DEFAULT 0x00000000UL
824 #define _LESENSE_ALTEXCONF_IDLECONF1_DISABLE 0x00000000UL
825 #define _LESENSE_ALTEXCONF_IDLECONF1_HIGH 0x00000001UL
826 #define _LESENSE_ALTEXCONF_IDLECONF1_LOW 0x00000002UL
827 #define LESENSE_ALTEXCONF_IDLECONF1_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF1_DEFAULT << 2)
828 #define LESENSE_ALTEXCONF_IDLECONF1_DISABLE (_LESENSE_ALTEXCONF_IDLECONF1_DISABLE << 2)
829 #define LESENSE_ALTEXCONF_IDLECONF1_HIGH (_LESENSE_ALTEXCONF_IDLECONF1_HIGH << 2)
830 #define LESENSE_ALTEXCONF_IDLECONF1_LOW (_LESENSE_ALTEXCONF_IDLECONF1_LOW << 2)
831 #define _LESENSE_ALTEXCONF_IDLECONF2_SHIFT 4
832 #define _LESENSE_ALTEXCONF_IDLECONF2_MASK 0x30UL
833 #define _LESENSE_ALTEXCONF_IDLECONF2_DEFAULT 0x00000000UL
834 #define _LESENSE_ALTEXCONF_IDLECONF2_DISABLE 0x00000000UL
835 #define _LESENSE_ALTEXCONF_IDLECONF2_HIGH 0x00000001UL
836 #define _LESENSE_ALTEXCONF_IDLECONF2_LOW 0x00000002UL
837 #define LESENSE_ALTEXCONF_IDLECONF2_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF2_DEFAULT << 4)
838 #define LESENSE_ALTEXCONF_IDLECONF2_DISABLE (_LESENSE_ALTEXCONF_IDLECONF2_DISABLE << 4)
839 #define LESENSE_ALTEXCONF_IDLECONF2_HIGH (_LESENSE_ALTEXCONF_IDLECONF2_HIGH << 4)
840 #define LESENSE_ALTEXCONF_IDLECONF2_LOW (_LESENSE_ALTEXCONF_IDLECONF2_LOW << 4)
841 #define _LESENSE_ALTEXCONF_IDLECONF3_SHIFT 6
842 #define _LESENSE_ALTEXCONF_IDLECONF3_MASK 0xC0UL
843 #define _LESENSE_ALTEXCONF_IDLECONF3_DEFAULT 0x00000000UL
844 #define _LESENSE_ALTEXCONF_IDLECONF3_DISABLE 0x00000000UL
845 #define _LESENSE_ALTEXCONF_IDLECONF3_HIGH 0x00000001UL
846 #define _LESENSE_ALTEXCONF_IDLECONF3_LOW 0x00000002UL
847 #define LESENSE_ALTEXCONF_IDLECONF3_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF3_DEFAULT << 6)
848 #define LESENSE_ALTEXCONF_IDLECONF3_DISABLE (_LESENSE_ALTEXCONF_IDLECONF3_DISABLE << 6)
849 #define LESENSE_ALTEXCONF_IDLECONF3_HIGH (_LESENSE_ALTEXCONF_IDLECONF3_HIGH << 6)
850 #define LESENSE_ALTEXCONF_IDLECONF3_LOW (_LESENSE_ALTEXCONF_IDLECONF3_LOW << 6)
851 #define _LESENSE_ALTEXCONF_IDLECONF4_SHIFT 8
852 #define _LESENSE_ALTEXCONF_IDLECONF4_MASK 0x300UL
853 #define _LESENSE_ALTEXCONF_IDLECONF4_DEFAULT 0x00000000UL
854 #define _LESENSE_ALTEXCONF_IDLECONF4_DISABLE 0x00000000UL
855 #define _LESENSE_ALTEXCONF_IDLECONF4_HIGH 0x00000001UL
856 #define _LESENSE_ALTEXCONF_IDLECONF4_LOW 0x00000002UL
857 #define LESENSE_ALTEXCONF_IDLECONF4_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF4_DEFAULT << 8)
858 #define LESENSE_ALTEXCONF_IDLECONF4_DISABLE (_LESENSE_ALTEXCONF_IDLECONF4_DISABLE << 8)
859 #define LESENSE_ALTEXCONF_IDLECONF4_HIGH (_LESENSE_ALTEXCONF_IDLECONF4_HIGH << 8)
860 #define LESENSE_ALTEXCONF_IDLECONF4_LOW (_LESENSE_ALTEXCONF_IDLECONF4_LOW << 8)
861 #define _LESENSE_ALTEXCONF_IDLECONF5_SHIFT 10
862 #define _LESENSE_ALTEXCONF_IDLECONF5_MASK 0xC00UL
863 #define _LESENSE_ALTEXCONF_IDLECONF5_DEFAULT 0x00000000UL
864 #define _LESENSE_ALTEXCONF_IDLECONF5_DISABLE 0x00000000UL
865 #define _LESENSE_ALTEXCONF_IDLECONF5_HIGH 0x00000001UL
866 #define _LESENSE_ALTEXCONF_IDLECONF5_LOW 0x00000002UL
867 #define LESENSE_ALTEXCONF_IDLECONF5_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF5_DEFAULT << 10)
868 #define LESENSE_ALTEXCONF_IDLECONF5_DISABLE (_LESENSE_ALTEXCONF_IDLECONF5_DISABLE << 10)
869 #define LESENSE_ALTEXCONF_IDLECONF5_HIGH (_LESENSE_ALTEXCONF_IDLECONF5_HIGH << 10)
870 #define LESENSE_ALTEXCONF_IDLECONF5_LOW (_LESENSE_ALTEXCONF_IDLECONF5_LOW << 10)
871 #define _LESENSE_ALTEXCONF_IDLECONF6_SHIFT 12
872 #define _LESENSE_ALTEXCONF_IDLECONF6_MASK 0x3000UL
873 #define _LESENSE_ALTEXCONF_IDLECONF6_DEFAULT 0x00000000UL
874 #define _LESENSE_ALTEXCONF_IDLECONF6_DISABLE 0x00000000UL
875 #define _LESENSE_ALTEXCONF_IDLECONF6_HIGH 0x00000001UL
876 #define _LESENSE_ALTEXCONF_IDLECONF6_LOW 0x00000002UL
877 #define LESENSE_ALTEXCONF_IDLECONF6_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF6_DEFAULT << 12)
878 #define LESENSE_ALTEXCONF_IDLECONF6_DISABLE (_LESENSE_ALTEXCONF_IDLECONF6_DISABLE << 12)
879 #define LESENSE_ALTEXCONF_IDLECONF6_HIGH (_LESENSE_ALTEXCONF_IDLECONF6_HIGH << 12)
880 #define LESENSE_ALTEXCONF_IDLECONF6_LOW (_LESENSE_ALTEXCONF_IDLECONF6_LOW << 12)
881 #define _LESENSE_ALTEXCONF_IDLECONF7_SHIFT 14
882 #define _LESENSE_ALTEXCONF_IDLECONF7_MASK 0xC000UL
883 #define _LESENSE_ALTEXCONF_IDLECONF7_DEFAULT 0x00000000UL
884 #define _LESENSE_ALTEXCONF_IDLECONF7_DISABLE 0x00000000UL
885 #define _LESENSE_ALTEXCONF_IDLECONF7_HIGH 0x00000001UL
886 #define _LESENSE_ALTEXCONF_IDLECONF7_LOW 0x00000002UL
887 #define LESENSE_ALTEXCONF_IDLECONF7_DEFAULT (_LESENSE_ALTEXCONF_IDLECONF7_DEFAULT << 14)
888 #define LESENSE_ALTEXCONF_IDLECONF7_DISABLE (_LESENSE_ALTEXCONF_IDLECONF7_DISABLE << 14)
889 #define LESENSE_ALTEXCONF_IDLECONF7_HIGH (_LESENSE_ALTEXCONF_IDLECONF7_HIGH << 14)
890 #define LESENSE_ALTEXCONF_IDLECONF7_LOW (_LESENSE_ALTEXCONF_IDLECONF7_LOW << 14)
891 #define LESENSE_ALTEXCONF_AEX0 (0x1UL << 16)
892 #define _LESENSE_ALTEXCONF_AEX0_SHIFT 16
893 #define _LESENSE_ALTEXCONF_AEX0_MASK 0x10000UL
894 #define _LESENSE_ALTEXCONF_AEX0_DEFAULT 0x00000000UL
895 #define LESENSE_ALTEXCONF_AEX0_DEFAULT (_LESENSE_ALTEXCONF_AEX0_DEFAULT << 16)
896 #define LESENSE_ALTEXCONF_AEX1 (0x1UL << 17)
897 #define _LESENSE_ALTEXCONF_AEX1_SHIFT 17
898 #define _LESENSE_ALTEXCONF_AEX1_MASK 0x20000UL
899 #define _LESENSE_ALTEXCONF_AEX1_DEFAULT 0x00000000UL
900 #define LESENSE_ALTEXCONF_AEX1_DEFAULT (_LESENSE_ALTEXCONF_AEX1_DEFAULT << 17)
901 #define LESENSE_ALTEXCONF_AEX2 (0x1UL << 18)
902 #define _LESENSE_ALTEXCONF_AEX2_SHIFT 18
903 #define _LESENSE_ALTEXCONF_AEX2_MASK 0x40000UL
904 #define _LESENSE_ALTEXCONF_AEX2_DEFAULT 0x00000000UL
905 #define LESENSE_ALTEXCONF_AEX2_DEFAULT (_LESENSE_ALTEXCONF_AEX2_DEFAULT << 18)
906 #define LESENSE_ALTEXCONF_AEX3 (0x1UL << 19)
907 #define _LESENSE_ALTEXCONF_AEX3_SHIFT 19
908 #define _LESENSE_ALTEXCONF_AEX3_MASK 0x80000UL
909 #define _LESENSE_ALTEXCONF_AEX3_DEFAULT 0x00000000UL
910 #define LESENSE_ALTEXCONF_AEX3_DEFAULT (_LESENSE_ALTEXCONF_AEX3_DEFAULT << 19)
911 #define LESENSE_ALTEXCONF_AEX4 (0x1UL << 20)
912 #define _LESENSE_ALTEXCONF_AEX4_SHIFT 20
913 #define _LESENSE_ALTEXCONF_AEX4_MASK 0x100000UL
914 #define _LESENSE_ALTEXCONF_AEX4_DEFAULT 0x00000000UL
915 #define LESENSE_ALTEXCONF_AEX4_DEFAULT (_LESENSE_ALTEXCONF_AEX4_DEFAULT << 20)
916 #define LESENSE_ALTEXCONF_AEX5 (0x1UL << 21)
917 #define _LESENSE_ALTEXCONF_AEX5_SHIFT 21
918 #define _LESENSE_ALTEXCONF_AEX5_MASK 0x200000UL
919 #define _LESENSE_ALTEXCONF_AEX5_DEFAULT 0x00000000UL
920 #define LESENSE_ALTEXCONF_AEX5_DEFAULT (_LESENSE_ALTEXCONF_AEX5_DEFAULT << 21)
921 #define LESENSE_ALTEXCONF_AEX6 (0x1UL << 22)
922 #define _LESENSE_ALTEXCONF_AEX6_SHIFT 22
923 #define _LESENSE_ALTEXCONF_AEX6_MASK 0x400000UL
924 #define _LESENSE_ALTEXCONF_AEX6_DEFAULT 0x00000000UL
925 #define LESENSE_ALTEXCONF_AEX6_DEFAULT (_LESENSE_ALTEXCONF_AEX6_DEFAULT << 22)
926 #define LESENSE_ALTEXCONF_AEX7 (0x1UL << 23)
927 #define _LESENSE_ALTEXCONF_AEX7_SHIFT 23
928 #define _LESENSE_ALTEXCONF_AEX7_MASK 0x800000UL
929 #define _LESENSE_ALTEXCONF_AEX7_DEFAULT 0x00000000UL
930 #define LESENSE_ALTEXCONF_AEX7_DEFAULT (_LESENSE_ALTEXCONF_AEX7_DEFAULT << 23)
932 /* Bit fields for LESENSE IF */
933 #define _LESENSE_IF_RESETVALUE 0x00000000UL
934 #define _LESENSE_IF_MASK 0x007FFFFFUL
935 #define LESENSE_IF_CH0 (0x1UL << 0)
936 #define _LESENSE_IF_CH0_SHIFT 0
937 #define _LESENSE_IF_CH0_MASK 0x1UL
938 #define _LESENSE_IF_CH0_DEFAULT 0x00000000UL
939 #define LESENSE_IF_CH0_DEFAULT (_LESENSE_IF_CH0_DEFAULT << 0)
940 #define LESENSE_IF_CH1 (0x1UL << 1)
941 #define _LESENSE_IF_CH1_SHIFT 1
942 #define _LESENSE_IF_CH1_MASK 0x2UL
943 #define _LESENSE_IF_CH1_DEFAULT 0x00000000UL
944 #define LESENSE_IF_CH1_DEFAULT (_LESENSE_IF_CH1_DEFAULT << 1)
945 #define LESENSE_IF_CH2 (0x1UL << 2)
946 #define _LESENSE_IF_CH2_SHIFT 2
947 #define _LESENSE_IF_CH2_MASK 0x4UL
948 #define _LESENSE_IF_CH2_DEFAULT 0x00000000UL
949 #define LESENSE_IF_CH2_DEFAULT (_LESENSE_IF_CH2_DEFAULT << 2)
950 #define LESENSE_IF_CH3 (0x1UL << 3)
951 #define _LESENSE_IF_CH3_SHIFT 3
952 #define _LESENSE_IF_CH3_MASK 0x8UL
953 #define _LESENSE_IF_CH3_DEFAULT 0x00000000UL
954 #define LESENSE_IF_CH3_DEFAULT (_LESENSE_IF_CH3_DEFAULT << 3)
955 #define LESENSE_IF_CH4 (0x1UL << 4)
956 #define _LESENSE_IF_CH4_SHIFT 4
957 #define _LESENSE_IF_CH4_MASK 0x10UL
958 #define _LESENSE_IF_CH4_DEFAULT 0x00000000UL
959 #define LESENSE_IF_CH4_DEFAULT (_LESENSE_IF_CH4_DEFAULT << 4)
960 #define LESENSE_IF_CH5 (0x1UL << 5)
961 #define _LESENSE_IF_CH5_SHIFT 5
962 #define _LESENSE_IF_CH5_MASK 0x20UL
963 #define _LESENSE_IF_CH5_DEFAULT 0x00000000UL
964 #define LESENSE_IF_CH5_DEFAULT (_LESENSE_IF_CH5_DEFAULT << 5)
965 #define LESENSE_IF_CH6 (0x1UL << 6)
966 #define _LESENSE_IF_CH6_SHIFT 6
967 #define _LESENSE_IF_CH6_MASK 0x40UL
968 #define _LESENSE_IF_CH6_DEFAULT 0x00000000UL
969 #define LESENSE_IF_CH6_DEFAULT (_LESENSE_IF_CH6_DEFAULT << 6)
970 #define LESENSE_IF_CH7 (0x1UL << 7)
971 #define _LESENSE_IF_CH7_SHIFT 7
972 #define _LESENSE_IF_CH7_MASK 0x80UL
973 #define _LESENSE_IF_CH7_DEFAULT 0x00000000UL
974 #define LESENSE_IF_CH7_DEFAULT (_LESENSE_IF_CH7_DEFAULT << 7)
975 #define LESENSE_IF_CH8 (0x1UL << 8)
976 #define _LESENSE_IF_CH8_SHIFT 8
977 #define _LESENSE_IF_CH8_MASK 0x100UL
978 #define _LESENSE_IF_CH8_DEFAULT 0x00000000UL
979 #define LESENSE_IF_CH8_DEFAULT (_LESENSE_IF_CH8_DEFAULT << 8)
980 #define LESENSE_IF_CH9 (0x1UL << 9)
981 #define _LESENSE_IF_CH9_SHIFT 9
982 #define _LESENSE_IF_CH9_MASK 0x200UL
983 #define _LESENSE_IF_CH9_DEFAULT 0x00000000UL
984 #define LESENSE_IF_CH9_DEFAULT (_LESENSE_IF_CH9_DEFAULT << 9)
985 #define LESENSE_IF_CH10 (0x1UL << 10)
986 #define _LESENSE_IF_CH10_SHIFT 10
987 #define _LESENSE_IF_CH10_MASK 0x400UL
988 #define _LESENSE_IF_CH10_DEFAULT 0x00000000UL
989 #define LESENSE_IF_CH10_DEFAULT (_LESENSE_IF_CH10_DEFAULT << 10)
990 #define LESENSE_IF_CH11 (0x1UL << 11)
991 #define _LESENSE_IF_CH11_SHIFT 11
992 #define _LESENSE_IF_CH11_MASK 0x800UL
993 #define _LESENSE_IF_CH11_DEFAULT 0x00000000UL
994 #define LESENSE_IF_CH11_DEFAULT (_LESENSE_IF_CH11_DEFAULT << 11)
995 #define LESENSE_IF_CH12 (0x1UL << 12)
996 #define _LESENSE_IF_CH12_SHIFT 12
997 #define _LESENSE_IF_CH12_MASK 0x1000UL
998 #define _LESENSE_IF_CH12_DEFAULT 0x00000000UL
999 #define LESENSE_IF_CH12_DEFAULT (_LESENSE_IF_CH12_DEFAULT << 12)
1000 #define LESENSE_IF_CH13 (0x1UL << 13)
1001 #define _LESENSE_IF_CH13_SHIFT 13
1002 #define _LESENSE_IF_CH13_MASK 0x2000UL
1003 #define _LESENSE_IF_CH13_DEFAULT 0x00000000UL
1004 #define LESENSE_IF_CH13_DEFAULT (_LESENSE_IF_CH13_DEFAULT << 13)
1005 #define LESENSE_IF_CH14 (0x1UL << 14)
1006 #define _LESENSE_IF_CH14_SHIFT 14
1007 #define _LESENSE_IF_CH14_MASK 0x4000UL
1008 #define _LESENSE_IF_CH14_DEFAULT 0x00000000UL
1009 #define LESENSE_IF_CH14_DEFAULT (_LESENSE_IF_CH14_DEFAULT << 14)
1010 #define LESENSE_IF_CH15 (0x1UL << 15)
1011 #define _LESENSE_IF_CH15_SHIFT 15
1012 #define _LESENSE_IF_CH15_MASK 0x8000UL
1013 #define _LESENSE_IF_CH15_DEFAULT 0x00000000UL
1014 #define LESENSE_IF_CH15_DEFAULT (_LESENSE_IF_CH15_DEFAULT << 15)
1015 #define LESENSE_IF_SCANCOMPLETE (0x1UL << 16)
1016 #define _LESENSE_IF_SCANCOMPLETE_SHIFT 16
1017 #define _LESENSE_IF_SCANCOMPLETE_MASK 0x10000UL
1018 #define _LESENSE_IF_SCANCOMPLETE_DEFAULT 0x00000000UL
1019 #define LESENSE_IF_SCANCOMPLETE_DEFAULT (_LESENSE_IF_SCANCOMPLETE_DEFAULT << 16)
1020 #define LESENSE_IF_DEC (0x1UL << 17)
1021 #define _LESENSE_IF_DEC_SHIFT 17
1022 #define _LESENSE_IF_DEC_MASK 0x20000UL
1023 #define _LESENSE_IF_DEC_DEFAULT 0x00000000UL
1024 #define LESENSE_IF_DEC_DEFAULT (_LESENSE_IF_DEC_DEFAULT << 17)
1025 #define LESENSE_IF_DECERR (0x1UL << 18)
1026 #define _LESENSE_IF_DECERR_SHIFT 18
1027 #define _LESENSE_IF_DECERR_MASK 0x40000UL
1028 #define _LESENSE_IF_DECERR_DEFAULT 0x00000000UL
1029 #define LESENSE_IF_DECERR_DEFAULT (_LESENSE_IF_DECERR_DEFAULT << 18)
1030 #define LESENSE_IF_BUFDATAV (0x1UL << 19)
1031 #define _LESENSE_IF_BUFDATAV_SHIFT 19
1032 #define _LESENSE_IF_BUFDATAV_MASK 0x80000UL
1033 #define _LESENSE_IF_BUFDATAV_DEFAULT 0x00000000UL
1034 #define LESENSE_IF_BUFDATAV_DEFAULT (_LESENSE_IF_BUFDATAV_DEFAULT << 19)
1035 #define LESENSE_IF_BUFLEVEL (0x1UL << 20)
1036 #define _LESENSE_IF_BUFLEVEL_SHIFT 20
1037 #define _LESENSE_IF_BUFLEVEL_MASK 0x100000UL
1038 #define _LESENSE_IF_BUFLEVEL_DEFAULT 0x00000000UL
1039 #define LESENSE_IF_BUFLEVEL_DEFAULT (_LESENSE_IF_BUFLEVEL_DEFAULT << 20)
1040 #define LESENSE_IF_BUFOF (0x1UL << 21)
1041 #define _LESENSE_IF_BUFOF_SHIFT 21
1042 #define _LESENSE_IF_BUFOF_MASK 0x200000UL
1043 #define _LESENSE_IF_BUFOF_DEFAULT 0x00000000UL
1044 #define LESENSE_IF_BUFOF_DEFAULT (_LESENSE_IF_BUFOF_DEFAULT << 21)
1045 #define LESENSE_IF_CNTOF (0x1UL << 22)
1046 #define _LESENSE_IF_CNTOF_SHIFT 22
1047 #define _LESENSE_IF_CNTOF_MASK 0x400000UL
1048 #define _LESENSE_IF_CNTOF_DEFAULT 0x00000000UL
1049 #define LESENSE_IF_CNTOF_DEFAULT (_LESENSE_IF_CNTOF_DEFAULT << 22)
1051 /* Bit fields for LESENSE IFC */
1052 #define _LESENSE_IFC_RESETVALUE 0x00000000UL
1053 #define _LESENSE_IFC_MASK 0x007FFFFFUL
1054 #define LESENSE_IFC_CH0 (0x1UL << 0)
1055 #define _LESENSE_IFC_CH0_SHIFT 0
1056 #define _LESENSE_IFC_CH0_MASK 0x1UL
1057 #define _LESENSE_IFC_CH0_DEFAULT 0x00000000UL
1058 #define LESENSE_IFC_CH0_DEFAULT (_LESENSE_IFC_CH0_DEFAULT << 0)
1059 #define LESENSE_IFC_CH1 (0x1UL << 1)
1060 #define _LESENSE_IFC_CH1_SHIFT 1
1061 #define _LESENSE_IFC_CH1_MASK 0x2UL
1062 #define _LESENSE_IFC_CH1_DEFAULT 0x00000000UL
1063 #define LESENSE_IFC_CH1_DEFAULT (_LESENSE_IFC_CH1_DEFAULT << 1)
1064 #define LESENSE_IFC_CH2 (0x1UL << 2)
1065 #define _LESENSE_IFC_CH2_SHIFT 2
1066 #define _LESENSE_IFC_CH2_MASK 0x4UL
1067 #define _LESENSE_IFC_CH2_DEFAULT 0x00000000UL
1068 #define LESENSE_IFC_CH2_DEFAULT (_LESENSE_IFC_CH2_DEFAULT << 2)
1069 #define LESENSE_IFC_CH3 (0x1UL << 3)
1070 #define _LESENSE_IFC_CH3_SHIFT 3
1071 #define _LESENSE_IFC_CH3_MASK 0x8UL
1072 #define _LESENSE_IFC_CH3_DEFAULT 0x00000000UL
1073 #define LESENSE_IFC_CH3_DEFAULT (_LESENSE_IFC_CH3_DEFAULT << 3)
1074 #define LESENSE_IFC_CH4 (0x1UL << 4)
1075 #define _LESENSE_IFC_CH4_SHIFT 4
1076 #define _LESENSE_IFC_CH4_MASK 0x10UL
1077 #define _LESENSE_IFC_CH4_DEFAULT 0x00000000UL
1078 #define LESENSE_IFC_CH4_DEFAULT (_LESENSE_IFC_CH4_DEFAULT << 4)
1079 #define LESENSE_IFC_CH5 (0x1UL << 5)
1080 #define _LESENSE_IFC_CH5_SHIFT 5
1081 #define _LESENSE_IFC_CH5_MASK 0x20UL
1082 #define _LESENSE_IFC_CH5_DEFAULT 0x00000000UL
1083 #define LESENSE_IFC_CH5_DEFAULT (_LESENSE_IFC_CH5_DEFAULT << 5)
1084 #define LESENSE_IFC_CH6 (0x1UL << 6)
1085 #define _LESENSE_IFC_CH6_SHIFT 6
1086 #define _LESENSE_IFC_CH6_MASK 0x40UL
1087 #define _LESENSE_IFC_CH6_DEFAULT 0x00000000UL
1088 #define LESENSE_IFC_CH6_DEFAULT (_LESENSE_IFC_CH6_DEFAULT << 6)
1089 #define LESENSE_IFC_CH7 (0x1UL << 7)
1090 #define _LESENSE_IFC_CH7_SHIFT 7
1091 #define _LESENSE_IFC_CH7_MASK 0x80UL
1092 #define _LESENSE_IFC_CH7_DEFAULT 0x00000000UL
1093 #define LESENSE_IFC_CH7_DEFAULT (_LESENSE_IFC_CH7_DEFAULT << 7)
1094 #define LESENSE_IFC_CH8 (0x1UL << 8)
1095 #define _LESENSE_IFC_CH8_SHIFT 8
1096 #define _LESENSE_IFC_CH8_MASK 0x100UL
1097 #define _LESENSE_IFC_CH8_DEFAULT 0x00000000UL
1098 #define LESENSE_IFC_CH8_DEFAULT (_LESENSE_IFC_CH8_DEFAULT << 8)
1099 #define LESENSE_IFC_CH9 (0x1UL << 9)
1100 #define _LESENSE_IFC_CH9_SHIFT 9
1101 #define _LESENSE_IFC_CH9_MASK 0x200UL
1102 #define _LESENSE_IFC_CH9_DEFAULT 0x00000000UL
1103 #define LESENSE_IFC_CH9_DEFAULT (_LESENSE_IFC_CH9_DEFAULT << 9)
1104 #define LESENSE_IFC_CH10 (0x1UL << 10)
1105 #define _LESENSE_IFC_CH10_SHIFT 10
1106 #define _LESENSE_IFC_CH10_MASK 0x400UL
1107 #define _LESENSE_IFC_CH10_DEFAULT 0x00000000UL
1108 #define LESENSE_IFC_CH10_DEFAULT (_LESENSE_IFC_CH10_DEFAULT << 10)
1109 #define LESENSE_IFC_CH11 (0x1UL << 11)
1110 #define _LESENSE_IFC_CH11_SHIFT 11
1111 #define _LESENSE_IFC_CH11_MASK 0x800UL
1112 #define _LESENSE_IFC_CH11_DEFAULT 0x00000000UL
1113 #define LESENSE_IFC_CH11_DEFAULT (_LESENSE_IFC_CH11_DEFAULT << 11)
1114 #define LESENSE_IFC_CH12 (0x1UL << 12)
1115 #define _LESENSE_IFC_CH12_SHIFT 12
1116 #define _LESENSE_IFC_CH12_MASK 0x1000UL
1117 #define _LESENSE_IFC_CH12_DEFAULT 0x00000000UL
1118 #define LESENSE_IFC_CH12_DEFAULT (_LESENSE_IFC_CH12_DEFAULT << 12)
1119 #define LESENSE_IFC_CH13 (0x1UL << 13)
1120 #define _LESENSE_IFC_CH13_SHIFT 13
1121 #define _LESENSE_IFC_CH13_MASK 0x2000UL
1122 #define _LESENSE_IFC_CH13_DEFAULT 0x00000000UL
1123 #define LESENSE_IFC_CH13_DEFAULT (_LESENSE_IFC_CH13_DEFAULT << 13)
1124 #define LESENSE_IFC_CH14 (0x1UL << 14)
1125 #define _LESENSE_IFC_CH14_SHIFT 14
1126 #define _LESENSE_IFC_CH14_MASK 0x4000UL
1127 #define _LESENSE_IFC_CH14_DEFAULT 0x00000000UL
1128 #define LESENSE_IFC_CH14_DEFAULT (_LESENSE_IFC_CH14_DEFAULT << 14)
1129 #define LESENSE_IFC_CH15 (0x1UL << 15)
1130 #define _LESENSE_IFC_CH15_SHIFT 15
1131 #define _LESENSE_IFC_CH15_MASK 0x8000UL
1132 #define _LESENSE_IFC_CH15_DEFAULT 0x00000000UL
1133 #define LESENSE_IFC_CH15_DEFAULT (_LESENSE_IFC_CH15_DEFAULT << 15)
1134 #define LESENSE_IFC_SCANCOMPLETE (0x1UL << 16)
1135 #define _LESENSE_IFC_SCANCOMPLETE_SHIFT 16
1136 #define _LESENSE_IFC_SCANCOMPLETE_MASK 0x10000UL
1137 #define _LESENSE_IFC_SCANCOMPLETE_DEFAULT 0x00000000UL
1138 #define LESENSE_IFC_SCANCOMPLETE_DEFAULT (_LESENSE_IFC_SCANCOMPLETE_DEFAULT << 16)
1139 #define LESENSE_IFC_DEC (0x1UL << 17)
1140 #define _LESENSE_IFC_DEC_SHIFT 17
1141 #define _LESENSE_IFC_DEC_MASK 0x20000UL
1142 #define _LESENSE_IFC_DEC_DEFAULT 0x00000000UL
1143 #define LESENSE_IFC_DEC_DEFAULT (_LESENSE_IFC_DEC_DEFAULT << 17)
1144 #define LESENSE_IFC_DECERR (0x1UL << 18)
1145 #define _LESENSE_IFC_DECERR_SHIFT 18
1146 #define _LESENSE_IFC_DECERR_MASK 0x40000UL
1147 #define _LESENSE_IFC_DECERR_DEFAULT 0x00000000UL
1148 #define LESENSE_IFC_DECERR_DEFAULT (_LESENSE_IFC_DECERR_DEFAULT << 18)
1149 #define LESENSE_IFC_BUFDATAV (0x1UL << 19)
1150 #define _LESENSE_IFC_BUFDATAV_SHIFT 19
1151 #define _LESENSE_IFC_BUFDATAV_MASK 0x80000UL
1152 #define _LESENSE_IFC_BUFDATAV_DEFAULT 0x00000000UL
1153 #define LESENSE_IFC_BUFDATAV_DEFAULT (_LESENSE_IFC_BUFDATAV_DEFAULT << 19)
1154 #define LESENSE_IFC_BUFLEVEL (0x1UL << 20)
1155 #define _LESENSE_IFC_BUFLEVEL_SHIFT 20
1156 #define _LESENSE_IFC_BUFLEVEL_MASK 0x100000UL
1157 #define _LESENSE_IFC_BUFLEVEL_DEFAULT 0x00000000UL
1158 #define LESENSE_IFC_BUFLEVEL_DEFAULT (_LESENSE_IFC_BUFLEVEL_DEFAULT << 20)
1159 #define LESENSE_IFC_BUFOF (0x1UL << 21)
1160 #define _LESENSE_IFC_BUFOF_SHIFT 21
1161 #define _LESENSE_IFC_BUFOF_MASK 0x200000UL
1162 #define _LESENSE_IFC_BUFOF_DEFAULT 0x00000000UL
1163 #define LESENSE_IFC_BUFOF_DEFAULT (_LESENSE_IFC_BUFOF_DEFAULT << 21)
1164 #define LESENSE_IFC_CNTOF (0x1UL << 22)
1165 #define _LESENSE_IFC_CNTOF_SHIFT 22
1166 #define _LESENSE_IFC_CNTOF_MASK 0x400000UL
1167 #define _LESENSE_IFC_CNTOF_DEFAULT 0x00000000UL
1168 #define LESENSE_IFC_CNTOF_DEFAULT (_LESENSE_IFC_CNTOF_DEFAULT << 22)
1170 /* Bit fields for LESENSE IFS */
1171 #define _LESENSE_IFS_RESETVALUE 0x00000000UL
1172 #define _LESENSE_IFS_MASK 0x007FFFFFUL
1173 #define LESENSE_IFS_CH0 (0x1UL << 0)
1174 #define _LESENSE_IFS_CH0_SHIFT 0
1175 #define _LESENSE_IFS_CH0_MASK 0x1UL
1176 #define _LESENSE_IFS_CH0_DEFAULT 0x00000000UL
1177 #define LESENSE_IFS_CH0_DEFAULT (_LESENSE_IFS_CH0_DEFAULT << 0)
1178 #define LESENSE_IFS_CH1 (0x1UL << 1)
1179 #define _LESENSE_IFS_CH1_SHIFT 1
1180 #define _LESENSE_IFS_CH1_MASK 0x2UL
1181 #define _LESENSE_IFS_CH1_DEFAULT 0x00000000UL
1182 #define LESENSE_IFS_CH1_DEFAULT (_LESENSE_IFS_CH1_DEFAULT << 1)
1183 #define LESENSE_IFS_CH2 (0x1UL << 2)
1184 #define _LESENSE_IFS_CH2_SHIFT 2
1185 #define _LESENSE_IFS_CH2_MASK 0x4UL
1186 #define _LESENSE_IFS_CH2_DEFAULT 0x00000000UL
1187 #define LESENSE_IFS_CH2_DEFAULT (_LESENSE_IFS_CH2_DEFAULT << 2)
1188 #define LESENSE_IFS_CH3 (0x1UL << 3)
1189 #define _LESENSE_IFS_CH3_SHIFT 3
1190 #define _LESENSE_IFS_CH3_MASK 0x8UL
1191 #define _LESENSE_IFS_CH3_DEFAULT 0x00000000UL
1192 #define LESENSE_IFS_CH3_DEFAULT (_LESENSE_IFS_CH3_DEFAULT << 3)
1193 #define LESENSE_IFS_CH4 (0x1UL << 4)
1194 #define _LESENSE_IFS_CH4_SHIFT 4
1195 #define _LESENSE_IFS_CH4_MASK 0x10UL
1196 #define _LESENSE_IFS_CH4_DEFAULT 0x00000000UL
1197 #define LESENSE_IFS_CH4_DEFAULT (_LESENSE_IFS_CH4_DEFAULT << 4)
1198 #define LESENSE_IFS_CH5 (0x1UL << 5)
1199 #define _LESENSE_IFS_CH5_SHIFT 5
1200 #define _LESENSE_IFS_CH5_MASK 0x20UL
1201 #define _LESENSE_IFS_CH5_DEFAULT 0x00000000UL
1202 #define LESENSE_IFS_CH5_DEFAULT (_LESENSE_IFS_CH5_DEFAULT << 5)
1203 #define LESENSE_IFS_CH6 (0x1UL << 6)
1204 #define _LESENSE_IFS_CH6_SHIFT 6
1205 #define _LESENSE_IFS_CH6_MASK 0x40UL
1206 #define _LESENSE_IFS_CH6_DEFAULT 0x00000000UL
1207 #define LESENSE_IFS_CH6_DEFAULT (_LESENSE_IFS_CH6_DEFAULT << 6)
1208 #define LESENSE_IFS_CH7 (0x1UL << 7)
1209 #define _LESENSE_IFS_CH7_SHIFT 7
1210 #define _LESENSE_IFS_CH7_MASK 0x80UL
1211 #define _LESENSE_IFS_CH7_DEFAULT 0x00000000UL
1212 #define LESENSE_IFS_CH7_DEFAULT (_LESENSE_IFS_CH7_DEFAULT << 7)
1213 #define LESENSE_IFS_CH8 (0x1UL << 8)
1214 #define _LESENSE_IFS_CH8_SHIFT 8
1215 #define _LESENSE_IFS_CH8_MASK 0x100UL
1216 #define _LESENSE_IFS_CH8_DEFAULT 0x00000000UL
1217 #define LESENSE_IFS_CH8_DEFAULT (_LESENSE_IFS_CH8_DEFAULT << 8)
1218 #define LESENSE_IFS_CH9 (0x1UL << 9)
1219 #define _LESENSE_IFS_CH9_SHIFT 9
1220 #define _LESENSE_IFS_CH9_MASK 0x200UL
1221 #define _LESENSE_IFS_CH9_DEFAULT 0x00000000UL
1222 #define LESENSE_IFS_CH9_DEFAULT (_LESENSE_IFS_CH9_DEFAULT << 9)
1223 #define LESENSE_IFS_CH10 (0x1UL << 10)
1224 #define _LESENSE_IFS_CH10_SHIFT 10
1225 #define _LESENSE_IFS_CH10_MASK 0x400UL
1226 #define _LESENSE_IFS_CH10_DEFAULT 0x00000000UL
1227 #define LESENSE_IFS_CH10_DEFAULT (_LESENSE_IFS_CH10_DEFAULT << 10)
1228 #define LESENSE_IFS_CH11 (0x1UL << 11)
1229 #define _LESENSE_IFS_CH11_SHIFT 11
1230 #define _LESENSE_IFS_CH11_MASK 0x800UL
1231 #define _LESENSE_IFS_CH11_DEFAULT 0x00000000UL
1232 #define LESENSE_IFS_CH11_DEFAULT (_LESENSE_IFS_CH11_DEFAULT << 11)
1233 #define LESENSE_IFS_CH12 (0x1UL << 12)
1234 #define _LESENSE_IFS_CH12_SHIFT 12
1235 #define _LESENSE_IFS_CH12_MASK 0x1000UL
1236 #define _LESENSE_IFS_CH12_DEFAULT 0x00000000UL
1237 #define LESENSE_IFS_CH12_DEFAULT (_LESENSE_IFS_CH12_DEFAULT << 12)
1238 #define LESENSE_IFS_CH13 (0x1UL << 13)
1239 #define _LESENSE_IFS_CH13_SHIFT 13
1240 #define _LESENSE_IFS_CH13_MASK 0x2000UL
1241 #define _LESENSE_IFS_CH13_DEFAULT 0x00000000UL
1242 #define LESENSE_IFS_CH13_DEFAULT (_LESENSE_IFS_CH13_DEFAULT << 13)
1243 #define LESENSE_IFS_CH14 (0x1UL << 14)
1244 #define _LESENSE_IFS_CH14_SHIFT 14
1245 #define _LESENSE_IFS_CH14_MASK 0x4000UL
1246 #define _LESENSE_IFS_CH14_DEFAULT 0x00000000UL
1247 #define LESENSE_IFS_CH14_DEFAULT (_LESENSE_IFS_CH14_DEFAULT << 14)
1248 #define LESENSE_IFS_CH15 (0x1UL << 15)
1249 #define _LESENSE_IFS_CH15_SHIFT 15
1250 #define _LESENSE_IFS_CH15_MASK 0x8000UL
1251 #define _LESENSE_IFS_CH15_DEFAULT 0x00000000UL
1252 #define LESENSE_IFS_CH15_DEFAULT (_LESENSE_IFS_CH15_DEFAULT << 15)
1253 #define LESENSE_IFS_SCANCOMPLETE (0x1UL << 16)
1254 #define _LESENSE_IFS_SCANCOMPLETE_SHIFT 16
1255 #define _LESENSE_IFS_SCANCOMPLETE_MASK 0x10000UL
1256 #define _LESENSE_IFS_SCANCOMPLETE_DEFAULT 0x00000000UL
1257 #define LESENSE_IFS_SCANCOMPLETE_DEFAULT (_LESENSE_IFS_SCANCOMPLETE_DEFAULT << 16)
1258 #define LESENSE_IFS_DEC (0x1UL << 17)
1259 #define _LESENSE_IFS_DEC_SHIFT 17
1260 #define _LESENSE_IFS_DEC_MASK 0x20000UL
1261 #define _LESENSE_IFS_DEC_DEFAULT 0x00000000UL
1262 #define LESENSE_IFS_DEC_DEFAULT (_LESENSE_IFS_DEC_DEFAULT << 17)
1263 #define LESENSE_IFS_DECERR (0x1UL << 18)
1264 #define _LESENSE_IFS_DECERR_SHIFT 18
1265 #define _LESENSE_IFS_DECERR_MASK 0x40000UL
1266 #define _LESENSE_IFS_DECERR_DEFAULT 0x00000000UL
1267 #define LESENSE_IFS_DECERR_DEFAULT (_LESENSE_IFS_DECERR_DEFAULT << 18)
1268 #define LESENSE_IFS_BUFDATAV (0x1UL << 19)
1269 #define _LESENSE_IFS_BUFDATAV_SHIFT 19
1270 #define _LESENSE_IFS_BUFDATAV_MASK 0x80000UL
1271 #define _LESENSE_IFS_BUFDATAV_DEFAULT 0x00000000UL
1272 #define LESENSE_IFS_BUFDATAV_DEFAULT (_LESENSE_IFS_BUFDATAV_DEFAULT << 19)
1273 #define LESENSE_IFS_BUFLEVEL (0x1UL << 20)
1274 #define _LESENSE_IFS_BUFLEVEL_SHIFT 20
1275 #define _LESENSE_IFS_BUFLEVEL_MASK 0x100000UL
1276 #define _LESENSE_IFS_BUFLEVEL_DEFAULT 0x00000000UL
1277 #define LESENSE_IFS_BUFLEVEL_DEFAULT (_LESENSE_IFS_BUFLEVEL_DEFAULT << 20)
1278 #define LESENSE_IFS_BUFOF (0x1UL << 21)
1279 #define _LESENSE_IFS_BUFOF_SHIFT 21
1280 #define _LESENSE_IFS_BUFOF_MASK 0x200000UL
1281 #define _LESENSE_IFS_BUFOF_DEFAULT 0x00000000UL
1282 #define LESENSE_IFS_BUFOF_DEFAULT (_LESENSE_IFS_BUFOF_DEFAULT << 21)
1283 #define LESENSE_IFS_CNTOF (0x1UL << 22)
1284 #define _LESENSE_IFS_CNTOF_SHIFT 22
1285 #define _LESENSE_IFS_CNTOF_MASK 0x400000UL
1286 #define _LESENSE_IFS_CNTOF_DEFAULT 0x00000000UL
1287 #define LESENSE_IFS_CNTOF_DEFAULT (_LESENSE_IFS_CNTOF_DEFAULT << 22)
1289 /* Bit fields for LESENSE IEN */
1290 #define _LESENSE_IEN_RESETVALUE 0x00000000UL
1291 #define _LESENSE_IEN_MASK 0x007FFFFFUL
1292 #define LESENSE_IEN_CH0 (0x1UL << 0)
1293 #define _LESENSE_IEN_CH0_SHIFT 0
1294 #define _LESENSE_IEN_CH0_MASK 0x1UL
1295 #define _LESENSE_IEN_CH0_DEFAULT 0x00000000UL
1296 #define LESENSE_IEN_CH0_DEFAULT (_LESENSE_IEN_CH0_DEFAULT << 0)
1297 #define LESENSE_IEN_CH1 (0x1UL << 1)
1298 #define _LESENSE_IEN_CH1_SHIFT 1
1299 #define _LESENSE_IEN_CH1_MASK 0x2UL
1300 #define _LESENSE_IEN_CH1_DEFAULT 0x00000000UL
1301 #define LESENSE_IEN_CH1_DEFAULT (_LESENSE_IEN_CH1_DEFAULT << 1)
1302 #define LESENSE_IEN_CH2 (0x1UL << 2)
1303 #define _LESENSE_IEN_CH2_SHIFT 2
1304 #define _LESENSE_IEN_CH2_MASK 0x4UL
1305 #define _LESENSE_IEN_CH2_DEFAULT 0x00000000UL
1306 #define LESENSE_IEN_CH2_DEFAULT (_LESENSE_IEN_CH2_DEFAULT << 2)
1307 #define LESENSE_IEN_CH3 (0x1UL << 3)
1308 #define _LESENSE_IEN_CH3_SHIFT 3
1309 #define _LESENSE_IEN_CH3_MASK 0x8UL
1310 #define _LESENSE_IEN_CH3_DEFAULT 0x00000000UL
1311 #define LESENSE_IEN_CH3_DEFAULT (_LESENSE_IEN_CH3_DEFAULT << 3)
1312 #define LESENSE_IEN_CH4 (0x1UL << 4)
1313 #define _LESENSE_IEN_CH4_SHIFT 4
1314 #define _LESENSE_IEN_CH4_MASK 0x10UL
1315 #define _LESENSE_IEN_CH4_DEFAULT 0x00000000UL
1316 #define LESENSE_IEN_CH4_DEFAULT (_LESENSE_IEN_CH4_DEFAULT << 4)
1317 #define LESENSE_IEN_CH5 (0x1UL << 5)
1318 #define _LESENSE_IEN_CH5_SHIFT 5
1319 #define _LESENSE_IEN_CH5_MASK 0x20UL
1320 #define _LESENSE_IEN_CH5_DEFAULT 0x00000000UL
1321 #define LESENSE_IEN_CH5_DEFAULT (_LESENSE_IEN_CH5_DEFAULT << 5)
1322 #define LESENSE_IEN_CH6 (0x1UL << 6)
1323 #define _LESENSE_IEN_CH6_SHIFT 6
1324 #define _LESENSE_IEN_CH6_MASK 0x40UL
1325 #define _LESENSE_IEN_CH6_DEFAULT 0x00000000UL
1326 #define LESENSE_IEN_CH6_DEFAULT (_LESENSE_IEN_CH6_DEFAULT << 6)
1327 #define LESENSE_IEN_CH7 (0x1UL << 7)
1328 #define _LESENSE_IEN_CH7_SHIFT 7
1329 #define _LESENSE_IEN_CH7_MASK 0x80UL
1330 #define _LESENSE_IEN_CH7_DEFAULT 0x00000000UL
1331 #define LESENSE_IEN_CH7_DEFAULT (_LESENSE_IEN_CH7_DEFAULT << 7)
1332 #define LESENSE_IEN_CH8 (0x1UL << 8)
1333 #define _LESENSE_IEN_CH8_SHIFT 8
1334 #define _LESENSE_IEN_CH8_MASK 0x100UL
1335 #define _LESENSE_IEN_CH8_DEFAULT 0x00000000UL
1336 #define LESENSE_IEN_CH8_DEFAULT (_LESENSE_IEN_CH8_DEFAULT << 8)
1337 #define LESENSE_IEN_CH9 (0x1UL << 9)
1338 #define _LESENSE_IEN_CH9_SHIFT 9
1339 #define _LESENSE_IEN_CH9_MASK 0x200UL
1340 #define _LESENSE_IEN_CH9_DEFAULT 0x00000000UL
1341 #define LESENSE_IEN_CH9_DEFAULT (_LESENSE_IEN_CH9_DEFAULT << 9)
1342 #define LESENSE_IEN_CH10 (0x1UL << 10)
1343 #define _LESENSE_IEN_CH10_SHIFT 10
1344 #define _LESENSE_IEN_CH10_MASK 0x400UL
1345 #define _LESENSE_IEN_CH10_DEFAULT 0x00000000UL
1346 #define LESENSE_IEN_CH10_DEFAULT (_LESENSE_IEN_CH10_DEFAULT << 10)
1347 #define LESENSE_IEN_CH11 (0x1UL << 11)
1348 #define _LESENSE_IEN_CH11_SHIFT 11
1349 #define _LESENSE_IEN_CH11_MASK 0x800UL
1350 #define _LESENSE_IEN_CH11_DEFAULT 0x00000000UL
1351 #define LESENSE_IEN_CH11_DEFAULT (_LESENSE_IEN_CH11_DEFAULT << 11)
1352 #define LESENSE_IEN_CH12 (0x1UL << 12)
1353 #define _LESENSE_IEN_CH12_SHIFT 12
1354 #define _LESENSE_IEN_CH12_MASK 0x1000UL
1355 #define _LESENSE_IEN_CH12_DEFAULT 0x00000000UL
1356 #define LESENSE_IEN_CH12_DEFAULT (_LESENSE_IEN_CH12_DEFAULT << 12)
1357 #define LESENSE_IEN_CH13 (0x1UL << 13)
1358 #define _LESENSE_IEN_CH13_SHIFT 13
1359 #define _LESENSE_IEN_CH13_MASK 0x2000UL
1360 #define _LESENSE_IEN_CH13_DEFAULT 0x00000000UL
1361 #define LESENSE_IEN_CH13_DEFAULT (_LESENSE_IEN_CH13_DEFAULT << 13)
1362 #define LESENSE_IEN_CH14 (0x1UL << 14)
1363 #define _LESENSE_IEN_CH14_SHIFT 14
1364 #define _LESENSE_IEN_CH14_MASK 0x4000UL
1365 #define _LESENSE_IEN_CH14_DEFAULT 0x00000000UL
1366 #define LESENSE_IEN_CH14_DEFAULT (_LESENSE_IEN_CH14_DEFAULT << 14)
1367 #define LESENSE_IEN_CH15 (0x1UL << 15)
1368 #define _LESENSE_IEN_CH15_SHIFT 15
1369 #define _LESENSE_IEN_CH15_MASK 0x8000UL
1370 #define _LESENSE_IEN_CH15_DEFAULT 0x00000000UL
1371 #define LESENSE_IEN_CH15_DEFAULT (_LESENSE_IEN_CH15_DEFAULT << 15)
1372 #define LESENSE_IEN_SCANCOMPLETE (0x1UL << 16)
1373 #define _LESENSE_IEN_SCANCOMPLETE_SHIFT 16
1374 #define _LESENSE_IEN_SCANCOMPLETE_MASK 0x10000UL
1375 #define _LESENSE_IEN_SCANCOMPLETE_DEFAULT 0x00000000UL
1376 #define LESENSE_IEN_SCANCOMPLETE_DEFAULT (_LESENSE_IEN_SCANCOMPLETE_DEFAULT << 16)
1377 #define LESENSE_IEN_DEC (0x1UL << 17)
1378 #define _LESENSE_IEN_DEC_SHIFT 17
1379 #define _LESENSE_IEN_DEC_MASK 0x20000UL
1380 #define _LESENSE_IEN_DEC_DEFAULT 0x00000000UL
1381 #define LESENSE_IEN_DEC_DEFAULT (_LESENSE_IEN_DEC_DEFAULT << 17)
1382 #define LESENSE_IEN_DECERR (0x1UL << 18)
1383 #define _LESENSE_IEN_DECERR_SHIFT 18
1384 #define _LESENSE_IEN_DECERR_MASK 0x40000UL
1385 #define _LESENSE_IEN_DECERR_DEFAULT 0x00000000UL
1386 #define LESENSE_IEN_DECERR_DEFAULT (_LESENSE_IEN_DECERR_DEFAULT << 18)
1387 #define LESENSE_IEN_BUFDATAV (0x1UL << 19)
1388 #define _LESENSE_IEN_BUFDATAV_SHIFT 19
1389 #define _LESENSE_IEN_BUFDATAV_MASK 0x80000UL
1390 #define _LESENSE_IEN_BUFDATAV_DEFAULT 0x00000000UL
1391 #define LESENSE_IEN_BUFDATAV_DEFAULT (_LESENSE_IEN_BUFDATAV_DEFAULT << 19)
1392 #define LESENSE_IEN_BUFLEVEL (0x1UL << 20)
1393 #define _LESENSE_IEN_BUFLEVEL_SHIFT 20
1394 #define _LESENSE_IEN_BUFLEVEL_MASK 0x100000UL
1395 #define _LESENSE_IEN_BUFLEVEL_DEFAULT 0x00000000UL
1396 #define LESENSE_IEN_BUFLEVEL_DEFAULT (_LESENSE_IEN_BUFLEVEL_DEFAULT << 20)
1397 #define LESENSE_IEN_BUFOF (0x1UL << 21)
1398 #define _LESENSE_IEN_BUFOF_SHIFT 21
1399 #define _LESENSE_IEN_BUFOF_MASK 0x200000UL
1400 #define _LESENSE_IEN_BUFOF_DEFAULT 0x00000000UL
1401 #define LESENSE_IEN_BUFOF_DEFAULT (_LESENSE_IEN_BUFOF_DEFAULT << 21)
1402 #define LESENSE_IEN_CNTOF (0x1UL << 22)
1403 #define _LESENSE_IEN_CNTOF_SHIFT 22
1404 #define _LESENSE_IEN_CNTOF_MASK 0x400000UL
1405 #define _LESENSE_IEN_CNTOF_DEFAULT 0x00000000UL
1406 #define LESENSE_IEN_CNTOF_DEFAULT (_LESENSE_IEN_CNTOF_DEFAULT << 22)
1408 /* Bit fields for LESENSE SYNCBUSY */
1409 #define _LESENSE_SYNCBUSY_RESETVALUE 0x00000000UL
1410 #define _LESENSE_SYNCBUSY_MASK 0x07E3FFFFUL
1411 #define LESENSE_SYNCBUSY_CTRL (0x1UL << 0)
1412 #define _LESENSE_SYNCBUSY_CTRL_SHIFT 0
1413 #define _LESENSE_SYNCBUSY_CTRL_MASK 0x1UL
1414 #define _LESENSE_SYNCBUSY_CTRL_DEFAULT 0x00000000UL
1415 #define LESENSE_SYNCBUSY_CTRL_DEFAULT (_LESENSE_SYNCBUSY_CTRL_DEFAULT << 0)
1416 #define LESENSE_SYNCBUSY_TIMCTRL (0x1UL << 1)
1417 #define _LESENSE_SYNCBUSY_TIMCTRL_SHIFT 1
1418 #define _LESENSE_SYNCBUSY_TIMCTRL_MASK 0x2UL
1419 #define _LESENSE_SYNCBUSY_TIMCTRL_DEFAULT 0x00000000UL
1420 #define LESENSE_SYNCBUSY_TIMCTRL_DEFAULT (_LESENSE_SYNCBUSY_TIMCTRL_DEFAULT << 1)
1421 #define LESENSE_SYNCBUSY_PERCTRL (0x1UL << 2)
1422 #define _LESENSE_SYNCBUSY_PERCTRL_SHIFT 2
1423 #define _LESENSE_SYNCBUSY_PERCTRL_MASK 0x4UL
1424 #define _LESENSE_SYNCBUSY_PERCTRL_DEFAULT 0x00000000UL
1425 #define LESENSE_SYNCBUSY_PERCTRL_DEFAULT (_LESENSE_SYNCBUSY_PERCTRL_DEFAULT << 2)
1426 #define LESENSE_SYNCBUSY_DECCTRL (0x1UL << 3)
1427 #define _LESENSE_SYNCBUSY_DECCTRL_SHIFT 3
1428 #define _LESENSE_SYNCBUSY_DECCTRL_MASK 0x8UL
1429 #define _LESENSE_SYNCBUSY_DECCTRL_DEFAULT 0x00000000UL
1430 #define LESENSE_SYNCBUSY_DECCTRL_DEFAULT (_LESENSE_SYNCBUSY_DECCTRL_DEFAULT << 3)
1431 #define LESENSE_SYNCBUSY_BIASCTRL (0x1UL << 4)
1432 #define _LESENSE_SYNCBUSY_BIASCTRL_SHIFT 4
1433 #define _LESENSE_SYNCBUSY_BIASCTRL_MASK 0x10UL
1434 #define _LESENSE_SYNCBUSY_BIASCTRL_DEFAULT 0x00000000UL
1435 #define LESENSE_SYNCBUSY_BIASCTRL_DEFAULT (_LESENSE_SYNCBUSY_BIASCTRL_DEFAULT << 4)
1436 #define LESENSE_SYNCBUSY_CMD (0x1UL << 5)
1437 #define _LESENSE_SYNCBUSY_CMD_SHIFT 5
1438 #define _LESENSE_SYNCBUSY_CMD_MASK 0x20UL
1439 #define _LESENSE_SYNCBUSY_CMD_DEFAULT 0x00000000UL
1440 #define LESENSE_SYNCBUSY_CMD_DEFAULT (_LESENSE_SYNCBUSY_CMD_DEFAULT << 5)
1441 #define LESENSE_SYNCBUSY_CHEN (0x1UL << 6)
1442 #define _LESENSE_SYNCBUSY_CHEN_SHIFT 6
1443 #define _LESENSE_SYNCBUSY_CHEN_MASK 0x40UL
1444 #define _LESENSE_SYNCBUSY_CHEN_DEFAULT 0x00000000UL
1445 #define LESENSE_SYNCBUSY_CHEN_DEFAULT (_LESENSE_SYNCBUSY_CHEN_DEFAULT << 6)
1446 #define LESENSE_SYNCBUSY_SCANRES (0x1UL << 7)
1447 #define _LESENSE_SYNCBUSY_SCANRES_SHIFT 7
1448 #define _LESENSE_SYNCBUSY_SCANRES_MASK 0x80UL
1449 #define _LESENSE_SYNCBUSY_SCANRES_DEFAULT 0x00000000UL
1450 #define LESENSE_SYNCBUSY_SCANRES_DEFAULT (_LESENSE_SYNCBUSY_SCANRES_DEFAULT << 7)
1451 #define LESENSE_SYNCBUSY_STATUS (0x1UL << 8)
1452 #define _LESENSE_SYNCBUSY_STATUS_SHIFT 8
1453 #define _LESENSE_SYNCBUSY_STATUS_MASK 0x100UL
1454 #define _LESENSE_SYNCBUSY_STATUS_DEFAULT 0x00000000UL
1455 #define LESENSE_SYNCBUSY_STATUS_DEFAULT (_LESENSE_SYNCBUSY_STATUS_DEFAULT << 8)
1456 #define LESENSE_SYNCBUSY_PTR (0x1UL << 9)
1457 #define _LESENSE_SYNCBUSY_PTR_SHIFT 9
1458 #define _LESENSE_SYNCBUSY_PTR_MASK 0x200UL
1459 #define _LESENSE_SYNCBUSY_PTR_DEFAULT 0x00000000UL
1460 #define LESENSE_SYNCBUSY_PTR_DEFAULT (_LESENSE_SYNCBUSY_PTR_DEFAULT << 9)
1461 #define LESENSE_SYNCBUSY_BUFDATA (0x1UL << 10)
1462 #define _LESENSE_SYNCBUSY_BUFDATA_SHIFT 10
1463 #define _LESENSE_SYNCBUSY_BUFDATA_MASK 0x400UL
1464 #define _LESENSE_SYNCBUSY_BUFDATA_DEFAULT 0x00000000UL
1465 #define LESENSE_SYNCBUSY_BUFDATA_DEFAULT (_LESENSE_SYNCBUSY_BUFDATA_DEFAULT << 10)
1466 #define LESENSE_SYNCBUSY_CURCH (0x1UL << 11)
1467 #define _LESENSE_SYNCBUSY_CURCH_SHIFT 11
1468 #define _LESENSE_SYNCBUSY_CURCH_MASK 0x800UL
1469 #define _LESENSE_SYNCBUSY_CURCH_DEFAULT 0x00000000UL
1470 #define LESENSE_SYNCBUSY_CURCH_DEFAULT (_LESENSE_SYNCBUSY_CURCH_DEFAULT << 11)
1471 #define LESENSE_SYNCBUSY_DECSTATE (0x1UL << 12)
1472 #define _LESENSE_SYNCBUSY_DECSTATE_SHIFT 12
1473 #define _LESENSE_SYNCBUSY_DECSTATE_MASK 0x1000UL
1474 #define _LESENSE_SYNCBUSY_DECSTATE_DEFAULT 0x00000000UL
1475 #define LESENSE_SYNCBUSY_DECSTATE_DEFAULT (_LESENSE_SYNCBUSY_DECSTATE_DEFAULT << 12)
1476 #define LESENSE_SYNCBUSY_SENSORSTATE (0x1UL << 13)
1477 #define _LESENSE_SYNCBUSY_SENSORSTATE_SHIFT 13
1478 #define _LESENSE_SYNCBUSY_SENSORSTATE_MASK 0x2000UL
1479 #define _LESENSE_SYNCBUSY_SENSORSTATE_DEFAULT 0x00000000UL
1480 #define LESENSE_SYNCBUSY_SENSORSTATE_DEFAULT (_LESENSE_SYNCBUSY_SENSORSTATE_DEFAULT << 13)
1481 #define LESENSE_SYNCBUSY_IDLECONF (0x1UL << 14)
1482 #define _LESENSE_SYNCBUSY_IDLECONF_SHIFT 14
1483 #define _LESENSE_SYNCBUSY_IDLECONF_MASK 0x4000UL
1484 #define _LESENSE_SYNCBUSY_IDLECONF_DEFAULT 0x00000000UL
1485 #define LESENSE_SYNCBUSY_IDLECONF_DEFAULT (_LESENSE_SYNCBUSY_IDLECONF_DEFAULT << 14)
1486 #define LESENSE_SYNCBUSY_ALTEXCONF (0x1UL << 15)
1487 #define _LESENSE_SYNCBUSY_ALTEXCONF_SHIFT 15
1488 #define _LESENSE_SYNCBUSY_ALTEXCONF_MASK 0x8000UL
1489 #define _LESENSE_SYNCBUSY_ALTEXCONF_DEFAULT 0x00000000UL
1490 #define LESENSE_SYNCBUSY_ALTEXCONF_DEFAULT (_LESENSE_SYNCBUSY_ALTEXCONF_DEFAULT << 15)
1491 #define LESENSE_SYNCBUSY_ROUTE (0x1UL << 16)
1492 #define _LESENSE_SYNCBUSY_ROUTE_SHIFT 16
1493 #define _LESENSE_SYNCBUSY_ROUTE_MASK 0x10000UL
1494 #define _LESENSE_SYNCBUSY_ROUTE_DEFAULT 0x00000000UL
1495 #define LESENSE_SYNCBUSY_ROUTE_DEFAULT (_LESENSE_SYNCBUSY_ROUTE_DEFAULT << 16)
1496 #define LESENSE_SYNCBUSY_POWERDOWN (0x1UL << 17)
1497 #define _LESENSE_SYNCBUSY_POWERDOWN_SHIFT 17
1498 #define _LESENSE_SYNCBUSY_POWERDOWN_MASK 0x20000UL
1499 #define _LESENSE_SYNCBUSY_POWERDOWN_DEFAULT 0x00000000UL
1500 #define LESENSE_SYNCBUSY_POWERDOWN_DEFAULT (_LESENSE_SYNCBUSY_POWERDOWN_DEFAULT << 17)
1501 #define LESENSE_SYNCBUSY_TCONFA (0x1UL << 21)
1502 #define _LESENSE_SYNCBUSY_TCONFA_SHIFT 21
1503 #define _LESENSE_SYNCBUSY_TCONFA_MASK 0x200000UL
1504 #define _LESENSE_SYNCBUSY_TCONFA_DEFAULT 0x00000000UL
1505 #define LESENSE_SYNCBUSY_TCONFA_DEFAULT (_LESENSE_SYNCBUSY_TCONFA_DEFAULT << 21)
1506 #define LESENSE_SYNCBUSY_TCONFB (0x1UL << 22)
1507 #define _LESENSE_SYNCBUSY_TCONFB_SHIFT 22
1508 #define _LESENSE_SYNCBUSY_TCONFB_MASK 0x400000UL
1509 #define _LESENSE_SYNCBUSY_TCONFB_DEFAULT 0x00000000UL
1510 #define LESENSE_SYNCBUSY_TCONFB_DEFAULT (_LESENSE_SYNCBUSY_TCONFB_DEFAULT << 22)
1511 #define LESENSE_SYNCBUSY_DATA (0x1UL << 23)
1512 #define _LESENSE_SYNCBUSY_DATA_SHIFT 23
1513 #define _LESENSE_SYNCBUSY_DATA_MASK 0x800000UL
1514 #define _LESENSE_SYNCBUSY_DATA_DEFAULT 0x00000000UL
1515 #define LESENSE_SYNCBUSY_DATA_DEFAULT (_LESENSE_SYNCBUSY_DATA_DEFAULT << 23)
1516 #define LESENSE_SYNCBUSY_TIMING (0x1UL << 24)
1517 #define _LESENSE_SYNCBUSY_TIMING_SHIFT 24
1518 #define _LESENSE_SYNCBUSY_TIMING_MASK 0x1000000UL
1519 #define _LESENSE_SYNCBUSY_TIMING_DEFAULT 0x00000000UL
1520 #define LESENSE_SYNCBUSY_TIMING_DEFAULT (_LESENSE_SYNCBUSY_TIMING_DEFAULT << 24)
1521 #define LESENSE_SYNCBUSY_INTERACT (0x1UL << 25)
1522 #define _LESENSE_SYNCBUSY_INTERACT_SHIFT 25
1523 #define _LESENSE_SYNCBUSY_INTERACT_MASK 0x2000000UL
1524 #define _LESENSE_SYNCBUSY_INTERACT_DEFAULT 0x00000000UL
1525 #define LESENSE_SYNCBUSY_INTERACT_DEFAULT (_LESENSE_SYNCBUSY_INTERACT_DEFAULT << 25)
1526 #define LESENSE_SYNCBUSY_EVAL (0x1UL << 26)
1527 #define _LESENSE_SYNCBUSY_EVAL_SHIFT 26
1528 #define _LESENSE_SYNCBUSY_EVAL_MASK 0x4000000UL
1529 #define _LESENSE_SYNCBUSY_EVAL_DEFAULT 0x00000000UL
1530 #define LESENSE_SYNCBUSY_EVAL_DEFAULT (_LESENSE_SYNCBUSY_EVAL_DEFAULT << 26)
1532 /* Bit fields for LESENSE ROUTE */
1533 #define _LESENSE_ROUTE_RESETVALUE 0x00000000UL
1534 #define _LESENSE_ROUTE_MASK 0x00FFFFFFUL
1535 #define LESENSE_ROUTE_CH0PEN (0x1UL << 0)
1536 #define _LESENSE_ROUTE_CH0PEN_SHIFT 0
1537 #define _LESENSE_ROUTE_CH0PEN_MASK 0x1UL
1538 #define _LESENSE_ROUTE_CH0PEN_DEFAULT 0x00000000UL
1539 #define LESENSE_ROUTE_CH0PEN_DEFAULT (_LESENSE_ROUTE_CH0PEN_DEFAULT << 0)
1540 #define LESENSE_ROUTE_CH1PEN (0x1UL << 1)
1541 #define _LESENSE_ROUTE_CH1PEN_SHIFT 1
1542 #define _LESENSE_ROUTE_CH1PEN_MASK 0x2UL
1543 #define _LESENSE_ROUTE_CH1PEN_DEFAULT 0x00000000UL
1544 #define LESENSE_ROUTE_CH1PEN_DEFAULT (_LESENSE_ROUTE_CH1PEN_DEFAULT << 1)
1545 #define LESENSE_ROUTE_CH2PEN (0x1UL << 2)
1546 #define _LESENSE_ROUTE_CH2PEN_SHIFT 2
1547 #define _LESENSE_ROUTE_CH2PEN_MASK 0x4UL
1548 #define _LESENSE_ROUTE_CH2PEN_DEFAULT 0x00000000UL
1549 #define LESENSE_ROUTE_CH2PEN_DEFAULT (_LESENSE_ROUTE_CH2PEN_DEFAULT << 2)
1550 #define LESENSE_ROUTE_CH3PEN (0x1UL << 3)
1551 #define _LESENSE_ROUTE_CH3PEN_SHIFT 3
1552 #define _LESENSE_ROUTE_CH3PEN_MASK 0x8UL
1553 #define _LESENSE_ROUTE_CH3PEN_DEFAULT 0x00000000UL
1554 #define LESENSE_ROUTE_CH3PEN_DEFAULT (_LESENSE_ROUTE_CH3PEN_DEFAULT << 3)
1555 #define LESENSE_ROUTE_CH4PEN (0x1UL << 4)
1556 #define _LESENSE_ROUTE_CH4PEN_SHIFT 4
1557 #define _LESENSE_ROUTE_CH4PEN_MASK 0x10UL
1558 #define _LESENSE_ROUTE_CH4PEN_DEFAULT 0x00000000UL
1559 #define LESENSE_ROUTE_CH4PEN_DEFAULT (_LESENSE_ROUTE_CH4PEN_DEFAULT << 4)
1560 #define LESENSE_ROUTE_CH5PEN (0x1UL << 5)
1561 #define _LESENSE_ROUTE_CH5PEN_SHIFT 5
1562 #define _LESENSE_ROUTE_CH5PEN_MASK 0x20UL
1563 #define _LESENSE_ROUTE_CH5PEN_DEFAULT 0x00000000UL
1564 #define LESENSE_ROUTE_CH5PEN_DEFAULT (_LESENSE_ROUTE_CH5PEN_DEFAULT << 5)
1565 #define LESENSE_ROUTE_CH6PEN (0x1UL << 6)
1566 #define _LESENSE_ROUTE_CH6PEN_SHIFT 6
1567 #define _LESENSE_ROUTE_CH6PEN_MASK 0x40UL
1568 #define _LESENSE_ROUTE_CH6PEN_DEFAULT 0x00000000UL
1569 #define LESENSE_ROUTE_CH6PEN_DEFAULT (_LESENSE_ROUTE_CH6PEN_DEFAULT << 6)
1570 #define LESENSE_ROUTE_CH7PEN (0x1UL << 7)
1571 #define _LESENSE_ROUTE_CH7PEN_SHIFT 7
1572 #define _LESENSE_ROUTE_CH7PEN_MASK 0x80UL
1573 #define _LESENSE_ROUTE_CH7PEN_DEFAULT 0x00000000UL
1574 #define LESENSE_ROUTE_CH7PEN_DEFAULT (_LESENSE_ROUTE_CH7PEN_DEFAULT << 7)
1575 #define LESENSE_ROUTE_CH8PEN (0x1UL << 8)
1576 #define _LESENSE_ROUTE_CH8PEN_SHIFT 8
1577 #define _LESENSE_ROUTE_CH8PEN_MASK 0x100UL
1578 #define _LESENSE_ROUTE_CH8PEN_DEFAULT 0x00000000UL
1579 #define LESENSE_ROUTE_CH8PEN_DEFAULT (_LESENSE_ROUTE_CH8PEN_DEFAULT << 8)
1580 #define LESENSE_ROUTE_CH9PEN (0x1UL << 9)
1581 #define _LESENSE_ROUTE_CH9PEN_SHIFT 9
1582 #define _LESENSE_ROUTE_CH9PEN_MASK 0x200UL
1583 #define _LESENSE_ROUTE_CH9PEN_DEFAULT 0x00000000UL
1584 #define LESENSE_ROUTE_CH9PEN_DEFAULT (_LESENSE_ROUTE_CH9PEN_DEFAULT << 9)
1585 #define LESENSE_ROUTE_CH10PEN (0x1UL << 10)
1586 #define _LESENSE_ROUTE_CH10PEN_SHIFT 10
1587 #define _LESENSE_ROUTE_CH10PEN_MASK 0x400UL
1588 #define _LESENSE_ROUTE_CH10PEN_DEFAULT 0x00000000UL
1589 #define LESENSE_ROUTE_CH10PEN_DEFAULT (_LESENSE_ROUTE_CH10PEN_DEFAULT << 10)
1590 #define LESENSE_ROUTE_CH11PEN (0x1UL << 11)
1591 #define _LESENSE_ROUTE_CH11PEN_SHIFT 11
1592 #define _LESENSE_ROUTE_CH11PEN_MASK 0x800UL
1593 #define _LESENSE_ROUTE_CH11PEN_DEFAULT 0x00000000UL
1594 #define LESENSE_ROUTE_CH11PEN_DEFAULT (_LESENSE_ROUTE_CH11PEN_DEFAULT << 11)
1595 #define LESENSE_ROUTE_CH12PEN (0x1UL << 12)
1596 #define _LESENSE_ROUTE_CH12PEN_SHIFT 12
1597 #define _LESENSE_ROUTE_CH12PEN_MASK 0x1000UL
1598 #define _LESENSE_ROUTE_CH12PEN_DEFAULT 0x00000000UL
1599 #define LESENSE_ROUTE_CH12PEN_DEFAULT (_LESENSE_ROUTE_CH12PEN_DEFAULT << 12)
1600 #define LESENSE_ROUTE_CH13PEN (0x1UL << 13)
1601 #define _LESENSE_ROUTE_CH13PEN_SHIFT 13
1602 #define _LESENSE_ROUTE_CH13PEN_MASK 0x2000UL
1603 #define _LESENSE_ROUTE_CH13PEN_DEFAULT 0x00000000UL
1604 #define LESENSE_ROUTE_CH13PEN_DEFAULT (_LESENSE_ROUTE_CH13PEN_DEFAULT << 13)
1605 #define LESENSE_ROUTE_CH14PEN (0x1UL << 14)
1606 #define _LESENSE_ROUTE_CH14PEN_SHIFT 14
1607 #define _LESENSE_ROUTE_CH14PEN_MASK 0x4000UL
1608 #define _LESENSE_ROUTE_CH14PEN_DEFAULT 0x00000000UL
1609 #define LESENSE_ROUTE_CH14PEN_DEFAULT (_LESENSE_ROUTE_CH14PEN_DEFAULT << 14)
1610 #define LESENSE_ROUTE_CH15PEN (0x1UL << 15)
1611 #define _LESENSE_ROUTE_CH15PEN_SHIFT 15
1612 #define _LESENSE_ROUTE_CH15PEN_MASK 0x8000UL
1613 #define _LESENSE_ROUTE_CH15PEN_DEFAULT 0x00000000UL
1614 #define LESENSE_ROUTE_CH15PEN_DEFAULT (_LESENSE_ROUTE_CH15PEN_DEFAULT << 15)
1615 #define LESENSE_ROUTE_ALTEX0PEN (0x1UL << 16)
1616 #define _LESENSE_ROUTE_ALTEX0PEN_SHIFT 16
1617 #define _LESENSE_ROUTE_ALTEX0PEN_MASK 0x10000UL
1618 #define _LESENSE_ROUTE_ALTEX0PEN_DEFAULT 0x00000000UL
1619 #define LESENSE_ROUTE_ALTEX0PEN_DEFAULT (_LESENSE_ROUTE_ALTEX0PEN_DEFAULT << 16)
1620 #define LESENSE_ROUTE_ALTEX1PEN (0x1UL << 17)
1621 #define _LESENSE_ROUTE_ALTEX1PEN_SHIFT 17
1622 #define _LESENSE_ROUTE_ALTEX1PEN_MASK 0x20000UL
1623 #define _LESENSE_ROUTE_ALTEX1PEN_DEFAULT 0x00000000UL
1624 #define LESENSE_ROUTE_ALTEX1PEN_DEFAULT (_LESENSE_ROUTE_ALTEX1PEN_DEFAULT << 17)
1625 #define LESENSE_ROUTE_ALTEX2PEN (0x1UL << 18)
1626 #define _LESENSE_ROUTE_ALTEX2PEN_SHIFT 18
1627 #define _LESENSE_ROUTE_ALTEX2PEN_MASK 0x40000UL
1628 #define _LESENSE_ROUTE_ALTEX2PEN_DEFAULT 0x00000000UL
1629 #define LESENSE_ROUTE_ALTEX2PEN_DEFAULT (_LESENSE_ROUTE_ALTEX2PEN_DEFAULT << 18)
1630 #define LESENSE_ROUTE_ALTEX3PEN (0x1UL << 19)
1631 #define _LESENSE_ROUTE_ALTEX3PEN_SHIFT 19
1632 #define _LESENSE_ROUTE_ALTEX3PEN_MASK 0x80000UL
1633 #define _LESENSE_ROUTE_ALTEX3PEN_DEFAULT 0x00000000UL
1634 #define LESENSE_ROUTE_ALTEX3PEN_DEFAULT (_LESENSE_ROUTE_ALTEX3PEN_DEFAULT << 19)
1635 #define LESENSE_ROUTE_ALTEX4PEN (0x1UL << 20)
1636 #define _LESENSE_ROUTE_ALTEX4PEN_SHIFT 20
1637 #define _LESENSE_ROUTE_ALTEX4PEN_MASK 0x100000UL
1638 #define _LESENSE_ROUTE_ALTEX4PEN_DEFAULT 0x00000000UL
1639 #define LESENSE_ROUTE_ALTEX4PEN_DEFAULT (_LESENSE_ROUTE_ALTEX4PEN_DEFAULT << 20)
1640 #define LESENSE_ROUTE_ALTEX5PEN (0x1UL << 21)
1641 #define _LESENSE_ROUTE_ALTEX5PEN_SHIFT 21
1642 #define _LESENSE_ROUTE_ALTEX5PEN_MASK 0x200000UL
1643 #define _LESENSE_ROUTE_ALTEX5PEN_DEFAULT 0x00000000UL
1644 #define LESENSE_ROUTE_ALTEX5PEN_DEFAULT (_LESENSE_ROUTE_ALTEX5PEN_DEFAULT << 21)
1645 #define LESENSE_ROUTE_ALTEX6PEN (0x1UL << 22)
1646 #define _LESENSE_ROUTE_ALTEX6PEN_SHIFT 22
1647 #define _LESENSE_ROUTE_ALTEX6PEN_MASK 0x400000UL
1648 #define _LESENSE_ROUTE_ALTEX6PEN_DEFAULT 0x00000000UL
1649 #define LESENSE_ROUTE_ALTEX6PEN_DEFAULT (_LESENSE_ROUTE_ALTEX6PEN_DEFAULT << 22)
1650 #define LESENSE_ROUTE_ALTEX7PEN (0x1UL << 23)
1651 #define _LESENSE_ROUTE_ALTEX7PEN_SHIFT 23
1652 #define _LESENSE_ROUTE_ALTEX7PEN_MASK 0x800000UL
1653 #define _LESENSE_ROUTE_ALTEX7PEN_DEFAULT 0x00000000UL
1654 #define LESENSE_ROUTE_ALTEX7PEN_DEFAULT (_LESENSE_ROUTE_ALTEX7PEN_DEFAULT << 23)
1656 /* Bit fields for LESENSE POWERDOWN */
1657 #define _LESENSE_POWERDOWN_RESETVALUE 0x00000000UL
1658 #define _LESENSE_POWERDOWN_MASK 0x00000001UL
1659 #define LESENSE_POWERDOWN_RAM (0x1UL << 0)
1660 #define _LESENSE_POWERDOWN_RAM_SHIFT 0
1661 #define _LESENSE_POWERDOWN_RAM_MASK 0x1UL
1662 #define _LESENSE_POWERDOWN_RAM_DEFAULT 0x00000000UL
1663 #define LESENSE_POWERDOWN_RAM_DEFAULT (_LESENSE_POWERDOWN_RAM_DEFAULT << 0)
1665 /* Bit fields for LESENSE ST_TCONFA */
1666 #define _LESENSE_ST_TCONFA_RESETVALUE 0x00000000UL
1667 #define _LESENSE_ST_TCONFA_MASK 0x00057FFFUL
1668 #define _LESENSE_ST_TCONFA_COMP_SHIFT 0
1669 #define _LESENSE_ST_TCONFA_COMP_MASK 0xFUL
1670 #define _LESENSE_ST_TCONFA_COMP_DEFAULT 0x00000000UL
1671 #define LESENSE_ST_TCONFA_COMP_DEFAULT (_LESENSE_ST_TCONFA_COMP_DEFAULT << 0)
1672 #define _LESENSE_ST_TCONFA_MASK_SHIFT 4
1673 #define _LESENSE_ST_TCONFA_MASK_MASK 0xF0UL
1674 #define _LESENSE_ST_TCONFA_MASK_DEFAULT 0x00000000UL
1675 #define LESENSE_ST_TCONFA_MASK_DEFAULT (_LESENSE_ST_TCONFA_MASK_DEFAULT << 4)
1676 #define _LESENSE_ST_TCONFA_NEXTSTATE_SHIFT 8
1677 #define _LESENSE_ST_TCONFA_NEXTSTATE_MASK 0xF00UL
1678 #define _LESENSE_ST_TCONFA_NEXTSTATE_DEFAULT 0x00000000UL
1679 #define LESENSE_ST_TCONFA_NEXTSTATE_DEFAULT (_LESENSE_ST_TCONFA_NEXTSTATE_DEFAULT << 8)
1680 #define _LESENSE_ST_TCONFA_PRSACT_SHIFT 12
1681 #define _LESENSE_ST_TCONFA_PRSACT_MASK 0x7000UL
1682 #define _LESENSE_ST_TCONFA_PRSACT_DEFAULT 0x00000000UL
1683 #define _LESENSE_ST_TCONFA_PRSACT_NONE 0x00000000UL
1684 #define _LESENSE_ST_TCONFA_PRSACT_UP 0x00000001UL
1685 #define _LESENSE_ST_TCONFA_PRSACT_PRS0 0x00000001UL
1686 #define _LESENSE_ST_TCONFA_PRSACT_PRS1 0x00000002UL
1687 #define _LESENSE_ST_TCONFA_PRSACT_DOWN 0x00000002UL
1688 #define _LESENSE_ST_TCONFA_PRSACT_PRS01 0x00000003UL
1689 #define _LESENSE_ST_TCONFA_PRSACT_PRS2 0x00000004UL
1690 #define _LESENSE_ST_TCONFA_PRSACT_PRS02 0x00000005UL
1691 #define _LESENSE_ST_TCONFA_PRSACT_UPANDPRS2 0x00000005UL
1692 #define _LESENSE_ST_TCONFA_PRSACT_PRS12 0x00000006UL
1693 #define _LESENSE_ST_TCONFA_PRSACT_DOWNANDPRS2 0x00000006UL
1694 #define _LESENSE_ST_TCONFA_PRSACT_PRS012 0x00000007UL
1695 #define LESENSE_ST_TCONFA_PRSACT_DEFAULT (_LESENSE_ST_TCONFA_PRSACT_DEFAULT << 12)
1696 #define LESENSE_ST_TCONFA_PRSACT_NONE (_LESENSE_ST_TCONFA_PRSACT_NONE << 12)
1697 #define LESENSE_ST_TCONFA_PRSACT_UP (_LESENSE_ST_TCONFA_PRSACT_UP << 12)
1698 #define LESENSE_ST_TCONFA_PRSACT_PRS0 (_LESENSE_ST_TCONFA_PRSACT_PRS0 << 12)
1699 #define LESENSE_ST_TCONFA_PRSACT_PRS1 (_LESENSE_ST_TCONFA_PRSACT_PRS1 << 12)
1700 #define LESENSE_ST_TCONFA_PRSACT_DOWN (_LESENSE_ST_TCONFA_PRSACT_DOWN << 12)
1701 #define LESENSE_ST_TCONFA_PRSACT_PRS01 (_LESENSE_ST_TCONFA_PRSACT_PRS01 << 12)
1702 #define LESENSE_ST_TCONFA_PRSACT_PRS2 (_LESENSE_ST_TCONFA_PRSACT_PRS2 << 12)
1703 #define LESENSE_ST_TCONFA_PRSACT_PRS02 (_LESENSE_ST_TCONFA_PRSACT_PRS02 << 12)
1704 #define LESENSE_ST_TCONFA_PRSACT_UPANDPRS2 (_LESENSE_ST_TCONFA_PRSACT_UPANDPRS2 << 12)
1705 #define LESENSE_ST_TCONFA_PRSACT_PRS12 (_LESENSE_ST_TCONFA_PRSACT_PRS12 << 12)
1706 #define LESENSE_ST_TCONFA_PRSACT_DOWNANDPRS2 (_LESENSE_ST_TCONFA_PRSACT_DOWNANDPRS2 << 12)
1707 #define LESENSE_ST_TCONFA_PRSACT_PRS012 (_LESENSE_ST_TCONFA_PRSACT_PRS012 << 12)
1708 #define LESENSE_ST_TCONFA_SETIF (0x1UL << 16)
1709 #define _LESENSE_ST_TCONFA_SETIF_SHIFT 16
1710 #define _LESENSE_ST_TCONFA_SETIF_MASK 0x10000UL
1711 #define _LESENSE_ST_TCONFA_SETIF_DEFAULT 0x00000000UL
1712 #define LESENSE_ST_TCONFA_SETIF_DEFAULT (_LESENSE_ST_TCONFA_SETIF_DEFAULT << 16)
1713 #define LESENSE_ST_TCONFA_CHAIN (0x1UL << 18)
1714 #define _LESENSE_ST_TCONFA_CHAIN_SHIFT 18
1715 #define _LESENSE_ST_TCONFA_CHAIN_MASK 0x40000UL
1716 #define _LESENSE_ST_TCONFA_CHAIN_DEFAULT 0x00000000UL
1717 #define LESENSE_ST_TCONFA_CHAIN_DEFAULT (_LESENSE_ST_TCONFA_CHAIN_DEFAULT << 18)
1719 /* Bit fields for LESENSE ST_TCONFB */
1720 #define _LESENSE_ST_TCONFB_RESETVALUE 0x00000000UL
1721 #define _LESENSE_ST_TCONFB_MASK 0x00017FFFUL
1722 #define _LESENSE_ST_TCONFB_COMP_SHIFT 0
1723 #define _LESENSE_ST_TCONFB_COMP_MASK 0xFUL
1724 #define _LESENSE_ST_TCONFB_COMP_DEFAULT 0x00000000UL
1725 #define LESENSE_ST_TCONFB_COMP_DEFAULT (_LESENSE_ST_TCONFB_COMP_DEFAULT << 0)
1726 #define _LESENSE_ST_TCONFB_MASK_SHIFT 4
1727 #define _LESENSE_ST_TCONFB_MASK_MASK 0xF0UL
1728 #define _LESENSE_ST_TCONFB_MASK_DEFAULT 0x00000000UL
1729 #define LESENSE_ST_TCONFB_MASK_DEFAULT (_LESENSE_ST_TCONFB_MASK_DEFAULT << 4)
1730 #define _LESENSE_ST_TCONFB_NEXTSTATE_SHIFT 8
1731 #define _LESENSE_ST_TCONFB_NEXTSTATE_MASK 0xF00UL
1732 #define _LESENSE_ST_TCONFB_NEXTSTATE_DEFAULT 0x00000000UL
1733 #define LESENSE_ST_TCONFB_NEXTSTATE_DEFAULT (_LESENSE_ST_TCONFB_NEXTSTATE_DEFAULT << 8)
1734 #define _LESENSE_ST_TCONFB_PRSACT_SHIFT 12
1735 #define _LESENSE_ST_TCONFB_PRSACT_MASK 0x7000UL
1736 #define _LESENSE_ST_TCONFB_PRSACT_DEFAULT 0x00000000UL
1737 #define _LESENSE_ST_TCONFB_PRSACT_NONE 0x00000000UL
1738 #define _LESENSE_ST_TCONFB_PRSACT_UP 0x00000001UL
1739 #define _LESENSE_ST_TCONFB_PRSACT_PRS0 0x00000001UL
1740 #define _LESENSE_ST_TCONFB_PRSACT_PRS1 0x00000002UL
1741 #define _LESENSE_ST_TCONFB_PRSACT_DOWN 0x00000002UL
1742 #define _LESENSE_ST_TCONFB_PRSACT_PRS01 0x00000003UL
1743 #define _LESENSE_ST_TCONFB_PRSACT_PRS2 0x00000004UL
1744 #define _LESENSE_ST_TCONFB_PRSACT_PRS02 0x00000005UL
1745 #define _LESENSE_ST_TCONFB_PRSACT_UPANDPRS2 0x00000005UL
1746 #define _LESENSE_ST_TCONFB_PRSACT_PRS12 0x00000006UL
1747 #define _LESENSE_ST_TCONFB_PRSACT_DOWNANDPRS2 0x00000006UL
1748 #define _LESENSE_ST_TCONFB_PRSACT_PRS012 0x00000007UL
1749 #define LESENSE_ST_TCONFB_PRSACT_DEFAULT (_LESENSE_ST_TCONFB_PRSACT_DEFAULT << 12)
1750 #define LESENSE_ST_TCONFB_PRSACT_NONE (_LESENSE_ST_TCONFB_PRSACT_NONE << 12)
1751 #define LESENSE_ST_TCONFB_PRSACT_UP (_LESENSE_ST_TCONFB_PRSACT_UP << 12)
1752 #define LESENSE_ST_TCONFB_PRSACT_PRS0 (_LESENSE_ST_TCONFB_PRSACT_PRS0 << 12)
1753 #define LESENSE_ST_TCONFB_PRSACT_PRS1 (_LESENSE_ST_TCONFB_PRSACT_PRS1 << 12)
1754 #define LESENSE_ST_TCONFB_PRSACT_DOWN (_LESENSE_ST_TCONFB_PRSACT_DOWN << 12)
1755 #define LESENSE_ST_TCONFB_PRSACT_PRS01 (_LESENSE_ST_TCONFB_PRSACT_PRS01 << 12)
1756 #define LESENSE_ST_TCONFB_PRSACT_PRS2 (_LESENSE_ST_TCONFB_PRSACT_PRS2 << 12)
1757 #define LESENSE_ST_TCONFB_PRSACT_PRS02 (_LESENSE_ST_TCONFB_PRSACT_PRS02 << 12)
1758 #define LESENSE_ST_TCONFB_PRSACT_UPANDPRS2 (_LESENSE_ST_TCONFB_PRSACT_UPANDPRS2 << 12)
1759 #define LESENSE_ST_TCONFB_PRSACT_PRS12 (_LESENSE_ST_TCONFB_PRSACT_PRS12 << 12)
1760 #define LESENSE_ST_TCONFB_PRSACT_DOWNANDPRS2 (_LESENSE_ST_TCONFB_PRSACT_DOWNANDPRS2 << 12)
1761 #define LESENSE_ST_TCONFB_PRSACT_PRS012 (_LESENSE_ST_TCONFB_PRSACT_PRS012 << 12)
1762 #define LESENSE_ST_TCONFB_SETIF (0x1UL << 16)
1763 #define _LESENSE_ST_TCONFB_SETIF_SHIFT 16
1764 #define _LESENSE_ST_TCONFB_SETIF_MASK 0x10000UL
1765 #define _LESENSE_ST_TCONFB_SETIF_DEFAULT 0x00000000UL
1766 #define LESENSE_ST_TCONFB_SETIF_DEFAULT (_LESENSE_ST_TCONFB_SETIF_DEFAULT << 16)
1768 /* Bit fields for LESENSE BUF_DATA */
1769 #define _LESENSE_BUF_DATA_RESETVALUE 0x00000000UL
1770 #define _LESENSE_BUF_DATA_MASK 0x0000FFFFUL
1771 #define _LESENSE_BUF_DATA_DATA_SHIFT 0
1772 #define _LESENSE_BUF_DATA_DATA_MASK 0xFFFFUL
1773 #define _LESENSE_BUF_DATA_DATA_DEFAULT 0x00000000UL
1774 #define LESENSE_BUF_DATA_DATA_DEFAULT (_LESENSE_BUF_DATA_DATA_DEFAULT << 0)
1776 /* Bit fields for LESENSE CH_TIMING */
1777 #define _LESENSE_CH_TIMING_RESETVALUE 0x00000000UL
1778 #define _LESENSE_CH_TIMING_MASK 0x000FFFFFUL
1779 #define _LESENSE_CH_TIMING_EXTIME_SHIFT 0
1780 #define _LESENSE_CH_TIMING_EXTIME_MASK 0x3FUL
1781 #define _LESENSE_CH_TIMING_EXTIME_DEFAULT 0x00000000UL
1782 #define LESENSE_CH_TIMING_EXTIME_DEFAULT (_LESENSE_CH_TIMING_EXTIME_DEFAULT << 0)
1783 #define _LESENSE_CH_TIMING_SAMPLEDLY_SHIFT 6
1784 #define _LESENSE_CH_TIMING_SAMPLEDLY_MASK 0x1FC0UL
1785 #define _LESENSE_CH_TIMING_SAMPLEDLY_DEFAULT 0x00000000UL
1786 #define LESENSE_CH_TIMING_SAMPLEDLY_DEFAULT (_LESENSE_CH_TIMING_SAMPLEDLY_DEFAULT << 6)
1787 #define _LESENSE_CH_TIMING_MEASUREDLY_SHIFT 13
1788 #define _LESENSE_CH_TIMING_MEASUREDLY_MASK 0xFE000UL
1789 #define _LESENSE_CH_TIMING_MEASUREDLY_DEFAULT 0x00000000UL
1790 #define LESENSE_CH_TIMING_MEASUREDLY_DEFAULT (_LESENSE_CH_TIMING_MEASUREDLY_DEFAULT << 13)
1792 /* Bit fields for LESENSE CH_INTERACT */
1793 #define _LESENSE_CH_INTERACT_RESETVALUE 0x00000000UL
1794 #define _LESENSE_CH_INTERACT_MASK 0x000FFFFFUL
1795 #define _LESENSE_CH_INTERACT_ACMPTHRES_SHIFT 0
1796 #define _LESENSE_CH_INTERACT_ACMPTHRES_MASK 0xFFFUL
1797 #define _LESENSE_CH_INTERACT_ACMPTHRES_DEFAULT 0x00000000UL
1798 #define LESENSE_CH_INTERACT_ACMPTHRES_DEFAULT (_LESENSE_CH_INTERACT_ACMPTHRES_DEFAULT << 0)
1799 #define LESENSE_CH_INTERACT_SAMPLE (0x1UL << 12)
1800 #define _LESENSE_CH_INTERACT_SAMPLE_SHIFT 12
1801 #define _LESENSE_CH_INTERACT_SAMPLE_MASK 0x1000UL
1802 #define _LESENSE_CH_INTERACT_SAMPLE_DEFAULT 0x00000000UL
1803 #define _LESENSE_CH_INTERACT_SAMPLE_COUNTER 0x00000000UL
1804 #define _LESENSE_CH_INTERACT_SAMPLE_ACMP 0x00000001UL
1805 #define LESENSE_CH_INTERACT_SAMPLE_DEFAULT (_LESENSE_CH_INTERACT_SAMPLE_DEFAULT << 12)
1806 #define LESENSE_CH_INTERACT_SAMPLE_COUNTER (_LESENSE_CH_INTERACT_SAMPLE_COUNTER << 12)
1807 #define LESENSE_CH_INTERACT_SAMPLE_ACMP (_LESENSE_CH_INTERACT_SAMPLE_ACMP << 12)
1808 #define _LESENSE_CH_INTERACT_SETIF_SHIFT 13
1809 #define _LESENSE_CH_INTERACT_SETIF_MASK 0x6000UL
1810 #define _LESENSE_CH_INTERACT_SETIF_DEFAULT 0x00000000UL
1811 #define _LESENSE_CH_INTERACT_SETIF_NONE 0x00000000UL
1812 #define _LESENSE_CH_INTERACT_SETIF_LEVEL 0x00000001UL
1813 #define _LESENSE_CH_INTERACT_SETIF_POSEDGE 0x00000002UL
1814 #define _LESENSE_CH_INTERACT_SETIF_NEGEDGE 0x00000003UL
1815 #define LESENSE_CH_INTERACT_SETIF_DEFAULT (_LESENSE_CH_INTERACT_SETIF_DEFAULT << 13)
1816 #define LESENSE_CH_INTERACT_SETIF_NONE (_LESENSE_CH_INTERACT_SETIF_NONE << 13)
1817 #define LESENSE_CH_INTERACT_SETIF_LEVEL (_LESENSE_CH_INTERACT_SETIF_LEVEL << 13)
1818 #define LESENSE_CH_INTERACT_SETIF_POSEDGE (_LESENSE_CH_INTERACT_SETIF_POSEDGE << 13)
1819 #define LESENSE_CH_INTERACT_SETIF_NEGEDGE (_LESENSE_CH_INTERACT_SETIF_NEGEDGE << 13)
1820 #define _LESENSE_CH_INTERACT_EXMODE_SHIFT 15
1821 #define _LESENSE_CH_INTERACT_EXMODE_MASK 0x18000UL
1822 #define _LESENSE_CH_INTERACT_EXMODE_DEFAULT 0x00000000UL
1823 #define _LESENSE_CH_INTERACT_EXMODE_DISABLE 0x00000000UL
1824 #define _LESENSE_CH_INTERACT_EXMODE_HIGH 0x00000001UL
1825 #define _LESENSE_CH_INTERACT_EXMODE_LOW 0x00000002UL
1826 #define _LESENSE_CH_INTERACT_EXMODE_DACOUT 0x00000003UL
1827 #define LESENSE_CH_INTERACT_EXMODE_DEFAULT (_LESENSE_CH_INTERACT_EXMODE_DEFAULT << 15)
1828 #define LESENSE_CH_INTERACT_EXMODE_DISABLE (_LESENSE_CH_INTERACT_EXMODE_DISABLE << 15)
1829 #define LESENSE_CH_INTERACT_EXMODE_HIGH (_LESENSE_CH_INTERACT_EXMODE_HIGH << 15)
1830 #define LESENSE_CH_INTERACT_EXMODE_LOW (_LESENSE_CH_INTERACT_EXMODE_LOW << 15)
1831 #define LESENSE_CH_INTERACT_EXMODE_DACOUT (_LESENSE_CH_INTERACT_EXMODE_DACOUT << 15)
1832 #define LESENSE_CH_INTERACT_EXCLK (0x1UL << 17)
1833 #define _LESENSE_CH_INTERACT_EXCLK_SHIFT 17
1834 #define _LESENSE_CH_INTERACT_EXCLK_MASK 0x20000UL
1835 #define _LESENSE_CH_INTERACT_EXCLK_DEFAULT 0x00000000UL
1836 #define _LESENSE_CH_INTERACT_EXCLK_LFACLK 0x00000000UL
1837 #define _LESENSE_CH_INTERACT_EXCLK_AUXHFRCO 0x00000001UL
1838 #define LESENSE_CH_INTERACT_EXCLK_DEFAULT (_LESENSE_CH_INTERACT_EXCLK_DEFAULT << 17)
1839 #define LESENSE_CH_INTERACT_EXCLK_LFACLK (_LESENSE_CH_INTERACT_EXCLK_LFACLK << 17)
1840 #define LESENSE_CH_INTERACT_EXCLK_AUXHFRCO (_LESENSE_CH_INTERACT_EXCLK_AUXHFRCO << 17)
1841 #define LESENSE_CH_INTERACT_SAMPLECLK (0x1UL << 18)
1842 #define _LESENSE_CH_INTERACT_SAMPLECLK_SHIFT 18
1843 #define _LESENSE_CH_INTERACT_SAMPLECLK_MASK 0x40000UL
1844 #define _LESENSE_CH_INTERACT_SAMPLECLK_DEFAULT 0x00000000UL
1845 #define _LESENSE_CH_INTERACT_SAMPLECLK_LFACLK 0x00000000UL
1846 #define _LESENSE_CH_INTERACT_SAMPLECLK_AUXHFRCO 0x00000001UL
1847 #define LESENSE_CH_INTERACT_SAMPLECLK_DEFAULT (_LESENSE_CH_INTERACT_SAMPLECLK_DEFAULT << 18)
1848 #define LESENSE_CH_INTERACT_SAMPLECLK_LFACLK (_LESENSE_CH_INTERACT_SAMPLECLK_LFACLK << 18)
1849 #define LESENSE_CH_INTERACT_SAMPLECLK_AUXHFRCO (_LESENSE_CH_INTERACT_SAMPLECLK_AUXHFRCO << 18)
1850 #define LESENSE_CH_INTERACT_ALTEX (0x1UL << 19)
1851 #define _LESENSE_CH_INTERACT_ALTEX_SHIFT 19
1852 #define _LESENSE_CH_INTERACT_ALTEX_MASK 0x80000UL
1853 #define _LESENSE_CH_INTERACT_ALTEX_DEFAULT 0x00000000UL
1854 #define LESENSE_CH_INTERACT_ALTEX_DEFAULT (_LESENSE_CH_INTERACT_ALTEX_DEFAULT << 19)
1856 /* Bit fields for LESENSE CH_EVAL */
1857 #define _LESENSE_CH_EVAL_RESETVALUE 0x00000000UL
1858 #define _LESENSE_CH_EVAL_MASK 0x000FFFFFUL
1859 #define _LESENSE_CH_EVAL_COMPTHRES_SHIFT 0
1860 #define _LESENSE_CH_EVAL_COMPTHRES_MASK 0xFFFFUL
1861 #define _LESENSE_CH_EVAL_COMPTHRES_DEFAULT 0x00000000UL
1862 #define LESENSE_CH_EVAL_COMPTHRES_DEFAULT (_LESENSE_CH_EVAL_COMPTHRES_DEFAULT << 0)
1863 #define LESENSE_CH_EVAL_COMP (0x1UL << 16)
1864 #define _LESENSE_CH_EVAL_COMP_SHIFT 16
1865 #define _LESENSE_CH_EVAL_COMP_MASK 0x10000UL
1866 #define _LESENSE_CH_EVAL_COMP_DEFAULT 0x00000000UL
1867 #define _LESENSE_CH_EVAL_COMP_LESS 0x00000000UL
1868 #define _LESENSE_CH_EVAL_COMP_GE 0x00000001UL
1869 #define LESENSE_CH_EVAL_COMP_DEFAULT (_LESENSE_CH_EVAL_COMP_DEFAULT << 16)
1870 #define LESENSE_CH_EVAL_COMP_LESS (_LESENSE_CH_EVAL_COMP_LESS << 16)
1871 #define LESENSE_CH_EVAL_COMP_GE (_LESENSE_CH_EVAL_COMP_GE << 16)
1872 #define LESENSE_CH_EVAL_DECODE (0x1UL << 17)
1873 #define _LESENSE_CH_EVAL_DECODE_SHIFT 17
1874 #define _LESENSE_CH_EVAL_DECODE_MASK 0x20000UL
1875 #define _LESENSE_CH_EVAL_DECODE_DEFAULT 0x00000000UL
1876 #define LESENSE_CH_EVAL_DECODE_DEFAULT (_LESENSE_CH_EVAL_DECODE_DEFAULT << 17)
1877 #define LESENSE_CH_EVAL_STRSAMPLE (0x1UL << 18)
1878 #define _LESENSE_CH_EVAL_STRSAMPLE_SHIFT 18
1879 #define _LESENSE_CH_EVAL_STRSAMPLE_MASK 0x40000UL
1880 #define _LESENSE_CH_EVAL_STRSAMPLE_DEFAULT 0x00000000UL
1881 #define LESENSE_CH_EVAL_STRSAMPLE_DEFAULT (_LESENSE_CH_EVAL_STRSAMPLE_DEFAULT << 18)
1882 #define LESENSE_CH_EVAL_SCANRESINV (0x1UL << 19)
1883 #define _LESENSE_CH_EVAL_SCANRESINV_SHIFT 19
1884 #define _LESENSE_CH_EVAL_SCANRESINV_MASK 0x80000UL
1885 #define _LESENSE_CH_EVAL_SCANRESINV_DEFAULT 0x00000000UL
1886 #define LESENSE_CH_EVAL_SCANRESINV_DEFAULT (_LESENSE_CH_EVAL_SCANRESINV_DEFAULT << 19)
__IOM uint32_t PERCTRL
__IM uint32_t IF
__IOM uint32_t CTRL
__IOM uint32_t IFC
__IOM uint32_t DECCTRL
__IOM uint32_t CMD
LESENSE_CH EFM32TG 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 EFM32TG LESENSE BUF.
LESENSE_ST EFM32TG LESENSE ST.
__IOM uint32_t DECSTATE
__IM uint32_t SCANRES
__IOM uint32_t IDLECONF
__IOM uint32_t ROUTE
__IOM uint32_t IEN
__IOM uint32_t BIASCTRL
__IOM uint32_t POWERDOWN
__IOM uint32_t IFS
__IOM uint32_t ALTEXCONF
__IM uint32_t CURCH