EFM32 Pearl Gecko 12 Software Documentation  efm32pg12-doc-5.1.2
efm32pg12b_csen.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 CMD;
46  __IM uint32_t STATUS;
47  __IOM uint32_t PRSSEL;
48  __IOM uint32_t DATA;
49  __IOM uint32_t SCANMASK0;
50  __IOM uint32_t SCANINPUTSEL0;
51  __IOM uint32_t SCANMASK1;
52  __IOM uint32_t SCANINPUTSEL1;
53  __IM uint32_t APORTREQ;
54  __IM uint32_t APORTCONFLICT;
55  __IOM uint32_t CMPTHR;
56  __IOM uint32_t EMA;
57  __IOM uint32_t EMACTRL;
58  __IOM uint32_t SINGLECTRL;
59  __IOM uint32_t DMBASELINE;
60  __IOM uint32_t DMCFG;
61  __IOM uint32_t ANACTRL;
63  uint32_t RESERVED0[2];
64  __IM uint32_t IF;
65  __IOM uint32_t IFS;
66  __IOM uint32_t IFC;
67  __IOM uint32_t IEN;
68 } CSEN_TypeDef;
70 /**************************************************************************/
75 /* Bit fields for CSEN CTRL */
76 #define _CSEN_CTRL_RESETVALUE 0x00030000UL
77 #define _CSEN_CTRL_MASK 0x1FFFF336UL
78 #define CSEN_CTRL_EN (0x1UL << 1)
79 #define _CSEN_CTRL_EN_SHIFT 1
80 #define _CSEN_CTRL_EN_MASK 0x2UL
81 #define _CSEN_CTRL_EN_DEFAULT 0x00000000UL
82 #define _CSEN_CTRL_EN_DISABLE 0x00000000UL
83 #define _CSEN_CTRL_EN_ENABLE 0x00000001UL
84 #define CSEN_CTRL_EN_DEFAULT (_CSEN_CTRL_EN_DEFAULT << 1)
85 #define CSEN_CTRL_EN_DISABLE (_CSEN_CTRL_EN_DISABLE << 1)
86 #define CSEN_CTRL_EN_ENABLE (_CSEN_CTRL_EN_ENABLE << 1)
87 #define CSEN_CTRL_CMPPOL (0x1UL << 2)
88 #define _CSEN_CTRL_CMPPOL_SHIFT 2
89 #define _CSEN_CTRL_CMPPOL_MASK 0x4UL
90 #define _CSEN_CTRL_CMPPOL_DEFAULT 0x00000000UL
91 #define _CSEN_CTRL_CMPPOL_GT 0x00000000UL
92 #define _CSEN_CTRL_CMPPOL_LTE 0x00000001UL
93 #define CSEN_CTRL_CMPPOL_DEFAULT (_CSEN_CTRL_CMPPOL_DEFAULT << 2)
94 #define CSEN_CTRL_CMPPOL_GT (_CSEN_CTRL_CMPPOL_GT << 2)
95 #define CSEN_CTRL_CMPPOL_LTE (_CSEN_CTRL_CMPPOL_LTE << 2)
96 #define _CSEN_CTRL_CM_SHIFT 4
97 #define _CSEN_CTRL_CM_MASK 0x30UL
98 #define _CSEN_CTRL_CM_DEFAULT 0x00000000UL
99 #define _CSEN_CTRL_CM_SGL 0x00000000UL
100 #define _CSEN_CTRL_CM_SCAN 0x00000001UL
101 #define _CSEN_CTRL_CM_CONTSGL 0x00000002UL
102 #define _CSEN_CTRL_CM_CONTSCAN 0x00000003UL
103 #define CSEN_CTRL_CM_DEFAULT (_CSEN_CTRL_CM_DEFAULT << 4)
104 #define CSEN_CTRL_CM_SGL (_CSEN_CTRL_CM_SGL << 4)
105 #define CSEN_CTRL_CM_SCAN (_CSEN_CTRL_CM_SCAN << 4)
106 #define CSEN_CTRL_CM_CONTSGL (_CSEN_CTRL_CM_CONTSGL << 4)
107 #define CSEN_CTRL_CM_CONTSCAN (_CSEN_CTRL_CM_CONTSCAN << 4)
108 #define _CSEN_CTRL_SARCR_SHIFT 8
109 #define _CSEN_CTRL_SARCR_MASK 0x300UL
110 #define _CSEN_CTRL_SARCR_DEFAULT 0x00000000UL
111 #define _CSEN_CTRL_SARCR_CLK10 0x00000000UL
112 #define _CSEN_CTRL_SARCR_CLK12 0x00000001UL
113 #define _CSEN_CTRL_SARCR_CLK14 0x00000002UL
114 #define _CSEN_CTRL_SARCR_CLK16 0x00000003UL
115 #define CSEN_CTRL_SARCR_DEFAULT (_CSEN_CTRL_SARCR_DEFAULT << 8)
116 #define CSEN_CTRL_SARCR_CLK10 (_CSEN_CTRL_SARCR_CLK10 << 8)
117 #define CSEN_CTRL_SARCR_CLK12 (_CSEN_CTRL_SARCR_CLK12 << 8)
118 #define CSEN_CTRL_SARCR_CLK14 (_CSEN_CTRL_SARCR_CLK14 << 8)
119 #define CSEN_CTRL_SARCR_CLK16 (_CSEN_CTRL_SARCR_CLK16 << 8)
120 #define _CSEN_CTRL_ACU_SHIFT 12
121 #define _CSEN_CTRL_ACU_MASK 0x7000UL
122 #define _CSEN_CTRL_ACU_DEFAULT 0x00000000UL
123 #define _CSEN_CTRL_ACU_ACC1 0x00000000UL
124 #define _CSEN_CTRL_ACU_ACC2 0x00000001UL
125 #define _CSEN_CTRL_ACU_ACC4 0x00000002UL
126 #define _CSEN_CTRL_ACU_ACC8 0x00000003UL
127 #define _CSEN_CTRL_ACU_ACC16 0x00000004UL
128 #define _CSEN_CTRL_ACU_ACC32 0x00000005UL
129 #define _CSEN_CTRL_ACU_ACC64 0x00000006UL
130 #define CSEN_CTRL_ACU_DEFAULT (_CSEN_CTRL_ACU_DEFAULT << 12)
131 #define CSEN_CTRL_ACU_ACC1 (_CSEN_CTRL_ACU_ACC1 << 12)
132 #define CSEN_CTRL_ACU_ACC2 (_CSEN_CTRL_ACU_ACC2 << 12)
133 #define CSEN_CTRL_ACU_ACC4 (_CSEN_CTRL_ACU_ACC4 << 12)
134 #define CSEN_CTRL_ACU_ACC8 (_CSEN_CTRL_ACU_ACC8 << 12)
135 #define CSEN_CTRL_ACU_ACC16 (_CSEN_CTRL_ACU_ACC16 << 12)
136 #define CSEN_CTRL_ACU_ACC32 (_CSEN_CTRL_ACU_ACC32 << 12)
137 #define CSEN_CTRL_ACU_ACC64 (_CSEN_CTRL_ACU_ACC64 << 12)
138 #define CSEN_CTRL_MCEN (0x1UL << 15)
139 #define _CSEN_CTRL_MCEN_SHIFT 15
140 #define _CSEN_CTRL_MCEN_MASK 0x8000UL
141 #define _CSEN_CTRL_MCEN_DEFAULT 0x00000000UL
142 #define _CSEN_CTRL_MCEN_DISABLE 0x00000000UL
143 #define _CSEN_CTRL_MCEN_ENABLE 0x00000001UL
144 #define CSEN_CTRL_MCEN_DEFAULT (_CSEN_CTRL_MCEN_DEFAULT << 15)
145 #define CSEN_CTRL_MCEN_DISABLE (_CSEN_CTRL_MCEN_DISABLE << 15)
146 #define CSEN_CTRL_MCEN_ENABLE (_CSEN_CTRL_MCEN_ENABLE << 15)
147 #define _CSEN_CTRL_STM_SHIFT 16
148 #define _CSEN_CTRL_STM_MASK 0x30000UL
149 #define _CSEN_CTRL_STM_PRS 0x00000000UL
150 #define _CSEN_CTRL_STM_TIMER 0x00000001UL
151 #define _CSEN_CTRL_STM_START 0x00000002UL
152 #define _CSEN_CTRL_STM_DEFAULT 0x00000003UL
153 #define _CSEN_CTRL_STM_DEFAULT 0x00000003UL
154 #define CSEN_CTRL_STM_PRS (_CSEN_CTRL_STM_PRS << 16)
155 #define CSEN_CTRL_STM_TIMER (_CSEN_CTRL_STM_TIMER << 16)
156 #define CSEN_CTRL_STM_START (_CSEN_CTRL_STM_START << 16)
157 #define CSEN_CTRL_STM_DEFAULT (_CSEN_CTRL_STM_DEFAULT << 16)
158 #define CSEN_CTRL_STM_DEFAULT (_CSEN_CTRL_STM_DEFAULT << 16)
159 #define CSEN_CTRL_CMPEN (0x1UL << 18)
160 #define _CSEN_CTRL_CMPEN_SHIFT 18
161 #define _CSEN_CTRL_CMPEN_MASK 0x40000UL
162 #define _CSEN_CTRL_CMPEN_DEFAULT 0x00000000UL
163 #define _CSEN_CTRL_CMPEN_DISABLE 0x00000000UL
164 #define _CSEN_CTRL_CMPEN_ENABLE 0x00000001UL
165 #define CSEN_CTRL_CMPEN_DEFAULT (_CSEN_CTRL_CMPEN_DEFAULT << 18)
166 #define CSEN_CTRL_CMPEN_DISABLE (_CSEN_CTRL_CMPEN_DISABLE << 18)
167 #define CSEN_CTRL_CMPEN_ENABLE (_CSEN_CTRL_CMPEN_ENABLE << 18)
168 #define CSEN_CTRL_DRSF (0x1UL << 19)
169 #define _CSEN_CTRL_DRSF_SHIFT 19
170 #define _CSEN_CTRL_DRSF_MASK 0x80000UL
171 #define _CSEN_CTRL_DRSF_DEFAULT 0x00000000UL
172 #define _CSEN_CTRL_DRSF_DISABLE 0x00000000UL
173 #define _CSEN_CTRL_DRSF_ENABLE 0x00000001UL
174 #define CSEN_CTRL_DRSF_DEFAULT (_CSEN_CTRL_DRSF_DEFAULT << 19)
175 #define CSEN_CTRL_DRSF_DISABLE (_CSEN_CTRL_DRSF_DISABLE << 19)
176 #define CSEN_CTRL_DRSF_ENABLE (_CSEN_CTRL_DRSF_ENABLE << 19)
177 #define CSEN_CTRL_DMAEN (0x1UL << 20)
178 #define _CSEN_CTRL_DMAEN_SHIFT 20
179 #define _CSEN_CTRL_DMAEN_MASK 0x100000UL
180 #define _CSEN_CTRL_DMAEN_DEFAULT 0x00000000UL
181 #define _CSEN_CTRL_DMAEN_DISABLE 0x00000000UL
182 #define _CSEN_CTRL_DMAEN_ENABLE 0x00000001UL
183 #define CSEN_CTRL_DMAEN_DEFAULT (_CSEN_CTRL_DMAEN_DEFAULT << 20)
184 #define CSEN_CTRL_DMAEN_DISABLE (_CSEN_CTRL_DMAEN_DISABLE << 20)
185 #define CSEN_CTRL_DMAEN_ENABLE (_CSEN_CTRL_DMAEN_ENABLE << 20)
186 #define CSEN_CTRL_CONVSEL (0x1UL << 21)
187 #define _CSEN_CTRL_CONVSEL_SHIFT 21
188 #define _CSEN_CTRL_CONVSEL_MASK 0x200000UL
189 #define _CSEN_CTRL_CONVSEL_DEFAULT 0x00000000UL
190 #define _CSEN_CTRL_CONVSEL_SAR 0x00000000UL
191 #define _CSEN_CTRL_CONVSEL_DM 0x00000001UL
192 #define CSEN_CTRL_CONVSEL_DEFAULT (_CSEN_CTRL_CONVSEL_DEFAULT << 21)
193 #define CSEN_CTRL_CONVSEL_SAR (_CSEN_CTRL_CONVSEL_SAR << 21)
194 #define CSEN_CTRL_CONVSEL_DM (_CSEN_CTRL_CONVSEL_DM << 21)
195 #define CSEN_CTRL_CHOPEN (0x1UL << 22)
196 #define _CSEN_CTRL_CHOPEN_SHIFT 22
197 #define _CSEN_CTRL_CHOPEN_MASK 0x400000UL
198 #define _CSEN_CTRL_CHOPEN_DEFAULT 0x00000000UL
199 #define _CSEN_CTRL_CHOPEN_DISABLE 0x00000000UL
200 #define _CSEN_CTRL_CHOPEN_ENABLE 0x00000001UL
201 #define CSEN_CTRL_CHOPEN_DEFAULT (_CSEN_CTRL_CHOPEN_DEFAULT << 22)
202 #define CSEN_CTRL_CHOPEN_DISABLE (_CSEN_CTRL_CHOPEN_DISABLE << 22)
203 #define CSEN_CTRL_CHOPEN_ENABLE (_CSEN_CTRL_CHOPEN_ENABLE << 22)
204 #define CSEN_CTRL_AUTOGND (0x1UL << 23)
205 #define _CSEN_CTRL_AUTOGND_SHIFT 23
206 #define _CSEN_CTRL_AUTOGND_MASK 0x800000UL
207 #define _CSEN_CTRL_AUTOGND_DEFAULT 0x00000000UL
208 #define _CSEN_CTRL_AUTOGND_DISABLE 0x00000000UL
209 #define _CSEN_CTRL_AUTOGND_ENABLE 0x00000001UL
210 #define CSEN_CTRL_AUTOGND_DEFAULT (_CSEN_CTRL_AUTOGND_DEFAULT << 23)
211 #define CSEN_CTRL_AUTOGND_DISABLE (_CSEN_CTRL_AUTOGND_DISABLE << 23)
212 #define CSEN_CTRL_AUTOGND_ENABLE (_CSEN_CTRL_AUTOGND_ENABLE << 23)
213 #define CSEN_CTRL_MXUC (0x1UL << 24)
214 #define _CSEN_CTRL_MXUC_SHIFT 24
215 #define _CSEN_CTRL_MXUC_MASK 0x1000000UL
216 #define _CSEN_CTRL_MXUC_DEFAULT 0x00000000UL
217 #define _CSEN_CTRL_MXUC_CONN 0x00000000UL
218 #define _CSEN_CTRL_MXUC_UNC 0x00000001UL
219 #define CSEN_CTRL_MXUC_DEFAULT (_CSEN_CTRL_MXUC_DEFAULT << 24)
220 #define CSEN_CTRL_MXUC_CONN (_CSEN_CTRL_MXUC_CONN << 24)
221 #define CSEN_CTRL_MXUC_UNC (_CSEN_CTRL_MXUC_UNC << 24)
222 #define CSEN_CTRL_EMACMPEN (0x1UL << 25)
223 #define _CSEN_CTRL_EMACMPEN_SHIFT 25
224 #define _CSEN_CTRL_EMACMPEN_MASK 0x2000000UL
225 #define _CSEN_CTRL_EMACMPEN_DEFAULT 0x00000000UL
226 #define CSEN_CTRL_EMACMPEN_DEFAULT (_CSEN_CTRL_EMACMPEN_DEFAULT << 25)
227 #define CSEN_CTRL_WARMUPMODE (0x1UL << 26)
228 #define _CSEN_CTRL_WARMUPMODE_SHIFT 26
229 #define _CSEN_CTRL_WARMUPMODE_MASK 0x4000000UL
230 #define _CSEN_CTRL_WARMUPMODE_DEFAULT 0x00000000UL
231 #define _CSEN_CTRL_WARMUPMODE_NORMAL 0x00000000UL
232 #define _CSEN_CTRL_WARMUPMODE_KEEPCSENWARM 0x00000001UL
233 #define CSEN_CTRL_WARMUPMODE_DEFAULT (_CSEN_CTRL_WARMUPMODE_DEFAULT << 26)
234 #define CSEN_CTRL_WARMUPMODE_NORMAL (_CSEN_CTRL_WARMUPMODE_NORMAL << 26)
235 #define CSEN_CTRL_WARMUPMODE_KEEPCSENWARM (_CSEN_CTRL_WARMUPMODE_KEEPCSENWARM << 26)
236 #define CSEN_CTRL_LOCALSENS (0x1UL << 27)
237 #define _CSEN_CTRL_LOCALSENS_SHIFT 27
238 #define _CSEN_CTRL_LOCALSENS_MASK 0x8000000UL
239 #define _CSEN_CTRL_LOCALSENS_DEFAULT 0x00000000UL
240 #define CSEN_CTRL_LOCALSENS_DEFAULT (_CSEN_CTRL_LOCALSENS_DEFAULT << 27)
241 #define CSEN_CTRL_CPACCURACY (0x1UL << 28)
242 #define _CSEN_CTRL_CPACCURACY_SHIFT 28
243 #define _CSEN_CTRL_CPACCURACY_MASK 0x10000000UL
244 #define _CSEN_CTRL_CPACCURACY_DEFAULT 0x00000000UL
245 #define _CSEN_CTRL_CPACCURACY_LO 0x00000000UL
246 #define _CSEN_CTRL_CPACCURACY_HI 0x00000001UL
247 #define CSEN_CTRL_CPACCURACY_DEFAULT (_CSEN_CTRL_CPACCURACY_DEFAULT << 28)
248 #define CSEN_CTRL_CPACCURACY_LO (_CSEN_CTRL_CPACCURACY_LO << 28)
249 #define CSEN_CTRL_CPACCURACY_HI (_CSEN_CTRL_CPACCURACY_HI << 28)
251 /* Bit fields for CSEN TIMCTRL */
252 #define _CSEN_TIMCTRL_RESETVALUE 0x00000000UL
253 #define _CSEN_TIMCTRL_MASK 0x0003FF07UL
254 #define _CSEN_TIMCTRL_PCPRESC_SHIFT 0
255 #define _CSEN_TIMCTRL_PCPRESC_MASK 0x7UL
256 #define _CSEN_TIMCTRL_PCPRESC_DEFAULT 0x00000000UL
257 #define _CSEN_TIMCTRL_PCPRESC_DIV1 0x00000000UL
258 #define _CSEN_TIMCTRL_PCPRESC_DIV2 0x00000001UL
259 #define _CSEN_TIMCTRL_PCPRESC_DIV4 0x00000002UL
260 #define _CSEN_TIMCTRL_PCPRESC_DIV8 0x00000003UL
261 #define _CSEN_TIMCTRL_PCPRESC_DIV16 0x00000004UL
262 #define _CSEN_TIMCTRL_PCPRESC_DIV32 0x00000005UL
263 #define _CSEN_TIMCTRL_PCPRESC_DIV64 0x00000006UL
264 #define _CSEN_TIMCTRL_PCPRESC_DIV128 0x00000007UL
265 #define CSEN_TIMCTRL_PCPRESC_DEFAULT (_CSEN_TIMCTRL_PCPRESC_DEFAULT << 0)
266 #define CSEN_TIMCTRL_PCPRESC_DIV1 (_CSEN_TIMCTRL_PCPRESC_DIV1 << 0)
267 #define CSEN_TIMCTRL_PCPRESC_DIV2 (_CSEN_TIMCTRL_PCPRESC_DIV2 << 0)
268 #define CSEN_TIMCTRL_PCPRESC_DIV4 (_CSEN_TIMCTRL_PCPRESC_DIV4 << 0)
269 #define CSEN_TIMCTRL_PCPRESC_DIV8 (_CSEN_TIMCTRL_PCPRESC_DIV8 << 0)
270 #define CSEN_TIMCTRL_PCPRESC_DIV16 (_CSEN_TIMCTRL_PCPRESC_DIV16 << 0)
271 #define CSEN_TIMCTRL_PCPRESC_DIV32 (_CSEN_TIMCTRL_PCPRESC_DIV32 << 0)
272 #define CSEN_TIMCTRL_PCPRESC_DIV64 (_CSEN_TIMCTRL_PCPRESC_DIV64 << 0)
273 #define CSEN_TIMCTRL_PCPRESC_DIV128 (_CSEN_TIMCTRL_PCPRESC_DIV128 << 0)
274 #define _CSEN_TIMCTRL_PCTOP_SHIFT 8
275 #define _CSEN_TIMCTRL_PCTOP_MASK 0xFF00UL
276 #define _CSEN_TIMCTRL_PCTOP_DEFAULT 0x00000000UL
277 #define CSEN_TIMCTRL_PCTOP_DEFAULT (_CSEN_TIMCTRL_PCTOP_DEFAULT << 8)
278 #define _CSEN_TIMCTRL_WARMUPCNT_SHIFT 16
279 #define _CSEN_TIMCTRL_WARMUPCNT_MASK 0x30000UL
280 #define _CSEN_TIMCTRL_WARMUPCNT_DEFAULT 0x00000000UL
281 #define CSEN_TIMCTRL_WARMUPCNT_DEFAULT (_CSEN_TIMCTRL_WARMUPCNT_DEFAULT << 16)
283 /* Bit fields for CSEN CMD */
284 #define _CSEN_CMD_RESETVALUE 0x00000000UL
285 #define _CSEN_CMD_MASK 0x00000001UL
286 #define CSEN_CMD_START (0x1UL << 0)
287 #define _CSEN_CMD_START_SHIFT 0
288 #define _CSEN_CMD_START_MASK 0x1UL
289 #define _CSEN_CMD_START_DEFAULT 0x00000000UL
290 #define CSEN_CMD_START_DEFAULT (_CSEN_CMD_START_DEFAULT << 0)
292 /* Bit fields for CSEN STATUS */
293 #define _CSEN_STATUS_RESETVALUE 0x00000000UL
294 #define _CSEN_STATUS_MASK 0x00000001UL
295 #define CSEN_STATUS_CSENBUSY (0x1UL << 0)
296 #define _CSEN_STATUS_CSENBUSY_SHIFT 0
297 #define _CSEN_STATUS_CSENBUSY_MASK 0x1UL
298 #define _CSEN_STATUS_CSENBUSY_DEFAULT 0x00000000UL
299 #define _CSEN_STATUS_CSENBUSY_IDLE 0x00000000UL
300 #define _CSEN_STATUS_CSENBUSY_BUSY 0x00000001UL
301 #define CSEN_STATUS_CSENBUSY_DEFAULT (_CSEN_STATUS_CSENBUSY_DEFAULT << 0)
302 #define CSEN_STATUS_CSENBUSY_IDLE (_CSEN_STATUS_CSENBUSY_IDLE << 0)
303 #define CSEN_STATUS_CSENBUSY_BUSY (_CSEN_STATUS_CSENBUSY_BUSY << 0)
305 /* Bit fields for CSEN PRSSEL */
306 #define _CSEN_PRSSEL_RESETVALUE 0x00000000UL
307 #define _CSEN_PRSSEL_MASK 0x0000000FUL
308 #define _CSEN_PRSSEL_PRSSEL_SHIFT 0
309 #define _CSEN_PRSSEL_PRSSEL_MASK 0xFUL
310 #define _CSEN_PRSSEL_PRSSEL_DEFAULT 0x00000000UL
311 #define _CSEN_PRSSEL_PRSSEL_PRSCH0 0x00000000UL
312 #define _CSEN_PRSSEL_PRSSEL_PRSCH1 0x00000001UL
313 #define _CSEN_PRSSEL_PRSSEL_PRSCH2 0x00000002UL
314 #define _CSEN_PRSSEL_PRSSEL_PRSCH3 0x00000003UL
315 #define _CSEN_PRSSEL_PRSSEL_PRSCH4 0x00000004UL
316 #define _CSEN_PRSSEL_PRSSEL_PRSCH5 0x00000005UL
317 #define _CSEN_PRSSEL_PRSSEL_PRSCH6 0x00000006UL
318 #define _CSEN_PRSSEL_PRSSEL_PRSCH7 0x00000007UL
319 #define _CSEN_PRSSEL_PRSSEL_PRSCH8 0x00000008UL
320 #define _CSEN_PRSSEL_PRSSEL_PRSCH9 0x00000009UL
321 #define _CSEN_PRSSEL_PRSSEL_PRSCH10 0x0000000AUL
322 #define _CSEN_PRSSEL_PRSSEL_PRSCH11 0x0000000BUL
323 #define CSEN_PRSSEL_PRSSEL_DEFAULT (_CSEN_PRSSEL_PRSSEL_DEFAULT << 0)
324 #define CSEN_PRSSEL_PRSSEL_PRSCH0 (_CSEN_PRSSEL_PRSSEL_PRSCH0 << 0)
325 #define CSEN_PRSSEL_PRSSEL_PRSCH1 (_CSEN_PRSSEL_PRSSEL_PRSCH1 << 0)
326 #define CSEN_PRSSEL_PRSSEL_PRSCH2 (_CSEN_PRSSEL_PRSSEL_PRSCH2 << 0)
327 #define CSEN_PRSSEL_PRSSEL_PRSCH3 (_CSEN_PRSSEL_PRSSEL_PRSCH3 << 0)
328 #define CSEN_PRSSEL_PRSSEL_PRSCH4 (_CSEN_PRSSEL_PRSSEL_PRSCH4 << 0)
329 #define CSEN_PRSSEL_PRSSEL_PRSCH5 (_CSEN_PRSSEL_PRSSEL_PRSCH5 << 0)
330 #define CSEN_PRSSEL_PRSSEL_PRSCH6 (_CSEN_PRSSEL_PRSSEL_PRSCH6 << 0)
331 #define CSEN_PRSSEL_PRSSEL_PRSCH7 (_CSEN_PRSSEL_PRSSEL_PRSCH7 << 0)
332 #define CSEN_PRSSEL_PRSSEL_PRSCH8 (_CSEN_PRSSEL_PRSSEL_PRSCH8 << 0)
333 #define CSEN_PRSSEL_PRSSEL_PRSCH9 (_CSEN_PRSSEL_PRSSEL_PRSCH9 << 0)
334 #define CSEN_PRSSEL_PRSSEL_PRSCH10 (_CSEN_PRSSEL_PRSSEL_PRSCH10 << 0)
335 #define CSEN_PRSSEL_PRSSEL_PRSCH11 (_CSEN_PRSSEL_PRSSEL_PRSCH11 << 0)
337 /* Bit fields for CSEN DATA */
338 #define _CSEN_DATA_RESETVALUE 0x00000000UL
339 #define _CSEN_DATA_MASK 0xFFFFFFFFUL
340 #define _CSEN_DATA_DATA_SHIFT 0
341 #define _CSEN_DATA_DATA_MASK 0xFFFFFFFFUL
342 #define _CSEN_DATA_DATA_DEFAULT 0x00000000UL
343 #define CSEN_DATA_DATA_DEFAULT (_CSEN_DATA_DATA_DEFAULT << 0)
345 /* Bit fields for CSEN SCANMASK0 */
346 #define _CSEN_SCANMASK0_RESETVALUE 0x00000000UL
347 #define _CSEN_SCANMASK0_MASK 0xFFFFFFFFUL
348 #define _CSEN_SCANMASK0_SCANINPUTEN_SHIFT 0
349 #define _CSEN_SCANMASK0_SCANINPUTEN_MASK 0xFFFFFFFFUL
350 #define _CSEN_SCANMASK0_SCANINPUTEN_DEFAULT 0x00000000UL
351 #define CSEN_SCANMASK0_SCANINPUTEN_DEFAULT (_CSEN_SCANMASK0_SCANINPUTEN_DEFAULT << 0)
353 /* Bit fields for CSEN SCANINPUTSEL0 */
354 #define _CSEN_SCANINPUTSEL0_RESETVALUE 0x00000000UL
355 #define _CSEN_SCANINPUTSEL0_MASK 0x0F0F0F0FUL
356 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_SHIFT 0
357 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_MASK 0xFUL
358 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_DEFAULT 0x00000000UL
359 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH0TO7 0x00000004UL
360 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH8TO15 0x00000005UL
361 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH16TO23 0x00000006UL
362 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH24TO31 0x00000007UL
363 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH0TO7 0x0000000CUL
364 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH8TO15 0x0000000DUL
365 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH16TO23 0x0000000EUL
366 #define _CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH24TO31 0x0000000FUL
367 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_DEFAULT (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_DEFAULT << 0)
368 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH0TO7 << 0)
369 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH8TO15 << 0)
370 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH16TO23 << 0)
371 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT1CH24TO31 << 0)
372 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH0TO7 << 0)
373 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH8TO15 << 0)
374 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH16TO23 << 0)
375 #define CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT0TO7SEL_APORT3CH24TO31 << 0)
376 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_SHIFT 8
377 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_MASK 0xF00UL
378 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_DEFAULT 0x00000000UL
379 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH0TO7 0x00000004UL
380 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH8TO15 0x00000005UL
381 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH16TO23 0x00000006UL
382 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH24TO31 0x00000007UL
383 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH0TO7 0x0000000CUL
384 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH8TO15 0x0000000DUL
385 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH16TO23 0x0000000EUL
386 #define _CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH24TO31 0x0000000FUL
387 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_DEFAULT (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_DEFAULT << 8)
388 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH0TO7 << 8)
389 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH8TO15 << 8)
390 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH16TO23 << 8)
391 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT1CH24TO31 << 8)
392 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH0TO7 << 8)
393 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH8TO15 << 8)
394 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH16TO23 << 8)
395 #define CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT8TO15SEL_APORT3CH24TO31 << 8)
396 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_SHIFT 16
397 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_MASK 0xF0000UL
398 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_DEFAULT 0x00000000UL
399 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH0TO7 0x00000004UL
400 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH8TO15 0x00000005UL
401 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH16TO23 0x00000006UL
402 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH24TO31 0x00000007UL
403 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH0TO7 0x0000000CUL
404 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH8TO15 0x0000000DUL
405 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH16TO23 0x0000000EUL
406 #define _CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH24TO31 0x0000000FUL
407 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_DEFAULT (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_DEFAULT << 16)
408 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH0TO7 << 16)
409 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH8TO15 << 16)
410 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH16TO23 << 16)
411 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT1CH24TO31 << 16)
412 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH0TO7 << 16)
413 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH8TO15 << 16)
414 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH16TO23 << 16)
415 #define CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT16TO23SEL_APORT3CH24TO31 << 16)
416 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_SHIFT 24
417 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_MASK 0xF000000UL
418 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_DEFAULT 0x00000000UL
419 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH0TO7 0x00000004UL
420 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH8TO15 0x00000005UL
421 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH16TO23 0x00000006UL
422 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH24TO31 0x00000007UL
423 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH0TO7 0x0000000CUL
424 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH8TO15 0x0000000DUL
425 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH16TO23 0x0000000EUL
426 #define _CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH24TO31 0x0000000FUL
427 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_DEFAULT (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_DEFAULT << 24)
428 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH0TO7 << 24)
429 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH8TO15 << 24)
430 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH16TO23 << 24)
431 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT1CH24TO31 << 24)
432 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH0TO7 << 24)
433 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH8TO15 << 24)
434 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH16TO23 << 24)
435 #define CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL0_INPUT24TO31SEL_APORT3CH24TO31 << 24)
437 /* Bit fields for CSEN SCANMASK1 */
438 #define _CSEN_SCANMASK1_RESETVALUE 0x00000000UL
439 #define _CSEN_SCANMASK1_MASK 0xFFFFFFFFUL
440 #define _CSEN_SCANMASK1_SCANINPUTEN_SHIFT 0
441 #define _CSEN_SCANMASK1_SCANINPUTEN_MASK 0xFFFFFFFFUL
442 #define _CSEN_SCANMASK1_SCANINPUTEN_DEFAULT 0x00000000UL
443 #define CSEN_SCANMASK1_SCANINPUTEN_DEFAULT (_CSEN_SCANMASK1_SCANINPUTEN_DEFAULT << 0)
445 /* Bit fields for CSEN SCANINPUTSEL1 */
446 #define _CSEN_SCANINPUTSEL1_RESETVALUE 0x00000000UL
447 #define _CSEN_SCANINPUTSEL1_MASK 0x0F0F0F0FUL
448 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_SHIFT 0
449 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_MASK 0xFUL
450 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_DEFAULT 0x00000000UL
451 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH0TO7 0x00000004UL
452 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH8TO15 0x00000005UL
453 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH16TO23 0x00000006UL
454 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH24TO31 0x00000007UL
455 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH0TO7 0x0000000CUL
456 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH8TO15 0x0000000DUL
457 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH16TO23 0x0000000EUL
458 #define _CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH24TO31 0x0000000FUL
459 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_DEFAULT (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_DEFAULT << 0)
460 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH0TO7 << 0)
461 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH8TO15 << 0)
462 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH16TO23 << 0)
463 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT1CH24TO31 << 0)
464 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH0TO7 << 0)
465 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH8TO15 << 0)
466 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH16TO23 << 0)
467 #define CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT32TO39SEL_APORT3CH24TO31 << 0)
468 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_SHIFT 8
469 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_MASK 0xF00UL
470 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_DEFAULT 0x00000000UL
471 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH0TO7 0x00000004UL
472 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH8TO15 0x00000005UL
473 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH16TO23 0x00000006UL
474 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH24TO31 0x00000007UL
475 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH0TO7 0x0000000CUL
476 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH8TO15 0x0000000DUL
477 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH16TO23 0x0000000EUL
478 #define _CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH24TO31 0x0000000FUL
479 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_DEFAULT (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_DEFAULT << 8)
480 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH0TO7 << 8)
481 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH8TO15 << 8)
482 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH16TO23 << 8)
483 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT1CH24TO31 << 8)
484 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH0TO7 << 8)
485 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH8TO15 << 8)
486 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH16TO23 << 8)
487 #define CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT40TO47SEL_APORT3CH24TO31 << 8)
488 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_SHIFT 16
489 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_MASK 0xF0000UL
490 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_DEFAULT 0x00000000UL
491 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH0TO7 0x00000004UL
492 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH8TO15 0x00000005UL
493 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH16TO23 0x00000006UL
494 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH24TO31 0x00000007UL
495 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH0TO7 0x0000000CUL
496 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH8TO15 0x0000000DUL
497 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH16TO23 0x0000000EUL
498 #define _CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH24TO31 0x0000000FUL
499 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_DEFAULT (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_DEFAULT << 16)
500 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH0TO7 << 16)
501 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH8TO15 << 16)
502 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH16TO23 << 16)
503 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT1CH24TO31 << 16)
504 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH0TO7 << 16)
505 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH8TO15 << 16)
506 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH16TO23 << 16)
507 #define CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT48TO55SEL_APORT3CH24TO31 << 16)
508 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_SHIFT 24
509 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_MASK 0xF000000UL
510 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_DEFAULT 0x00000000UL
511 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH0TO7 0x00000004UL
512 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH8TO15 0x00000005UL
513 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH16TO23 0x00000006UL
514 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH24TO31 0x00000007UL
515 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH0TO7 0x0000000CUL
516 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH8TO15 0x0000000DUL
517 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH16TO23 0x0000000EUL
518 #define _CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH24TO31 0x0000000FUL
519 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_DEFAULT (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_DEFAULT << 24)
520 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH0TO7 << 24)
521 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH8TO15 << 24)
522 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH16TO23 << 24)
523 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT1CH24TO31 << 24)
524 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH0TO7 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH0TO7 << 24)
525 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH8TO15 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH8TO15 << 24)
526 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH16TO23 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH16TO23 << 24)
527 #define CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH24TO31 (_CSEN_SCANINPUTSEL1_INPUT56TO63SEL_APORT3CH24TO31 << 24)
529 /* Bit fields for CSEN APORTREQ */
530 #define _CSEN_APORTREQ_RESETVALUE 0x00000000UL
531 #define _CSEN_APORTREQ_MASK 0x000003FCUL
532 #define CSEN_APORTREQ_APORT1XREQ (0x1UL << 2)
533 #define _CSEN_APORTREQ_APORT1XREQ_SHIFT 2
534 #define _CSEN_APORTREQ_APORT1XREQ_MASK 0x4UL
535 #define _CSEN_APORTREQ_APORT1XREQ_DEFAULT 0x00000000UL
536 #define CSEN_APORTREQ_APORT1XREQ_DEFAULT (_CSEN_APORTREQ_APORT1XREQ_DEFAULT << 2)
537 #define CSEN_APORTREQ_APORT1YREQ (0x1UL << 3)
538 #define _CSEN_APORTREQ_APORT1YREQ_SHIFT 3
539 #define _CSEN_APORTREQ_APORT1YREQ_MASK 0x8UL
540 #define _CSEN_APORTREQ_APORT1YREQ_DEFAULT 0x00000000UL
541 #define CSEN_APORTREQ_APORT1YREQ_DEFAULT (_CSEN_APORTREQ_APORT1YREQ_DEFAULT << 3)
542 #define CSEN_APORTREQ_APORT2XREQ (0x1UL << 4)
543 #define _CSEN_APORTREQ_APORT2XREQ_SHIFT 4
544 #define _CSEN_APORTREQ_APORT2XREQ_MASK 0x10UL
545 #define _CSEN_APORTREQ_APORT2XREQ_DEFAULT 0x00000000UL
546 #define CSEN_APORTREQ_APORT2XREQ_DEFAULT (_CSEN_APORTREQ_APORT2XREQ_DEFAULT << 4)
547 #define CSEN_APORTREQ_APORT2YREQ (0x1UL << 5)
548 #define _CSEN_APORTREQ_APORT2YREQ_SHIFT 5
549 #define _CSEN_APORTREQ_APORT2YREQ_MASK 0x20UL
550 #define _CSEN_APORTREQ_APORT2YREQ_DEFAULT 0x00000000UL
551 #define CSEN_APORTREQ_APORT2YREQ_DEFAULT (_CSEN_APORTREQ_APORT2YREQ_DEFAULT << 5)
552 #define CSEN_APORTREQ_APORT3XREQ (0x1UL << 6)
553 #define _CSEN_APORTREQ_APORT3XREQ_SHIFT 6
554 #define _CSEN_APORTREQ_APORT3XREQ_MASK 0x40UL
555 #define _CSEN_APORTREQ_APORT3XREQ_DEFAULT 0x00000000UL
556 #define CSEN_APORTREQ_APORT3XREQ_DEFAULT (_CSEN_APORTREQ_APORT3XREQ_DEFAULT << 6)
557 #define CSEN_APORTREQ_APORT3YREQ (0x1UL << 7)
558 #define _CSEN_APORTREQ_APORT3YREQ_SHIFT 7
559 #define _CSEN_APORTREQ_APORT3YREQ_MASK 0x80UL
560 #define _CSEN_APORTREQ_APORT3YREQ_DEFAULT 0x00000000UL
561 #define CSEN_APORTREQ_APORT3YREQ_DEFAULT (_CSEN_APORTREQ_APORT3YREQ_DEFAULT << 7)
562 #define CSEN_APORTREQ_APORT4XREQ (0x1UL << 8)
563 #define _CSEN_APORTREQ_APORT4XREQ_SHIFT 8
564 #define _CSEN_APORTREQ_APORT4XREQ_MASK 0x100UL
565 #define _CSEN_APORTREQ_APORT4XREQ_DEFAULT 0x00000000UL
566 #define CSEN_APORTREQ_APORT4XREQ_DEFAULT (_CSEN_APORTREQ_APORT4XREQ_DEFAULT << 8)
567 #define CSEN_APORTREQ_APORT4YREQ (0x1UL << 9)
568 #define _CSEN_APORTREQ_APORT4YREQ_SHIFT 9
569 #define _CSEN_APORTREQ_APORT4YREQ_MASK 0x200UL
570 #define _CSEN_APORTREQ_APORT4YREQ_DEFAULT 0x00000000UL
571 #define CSEN_APORTREQ_APORT4YREQ_DEFAULT (_CSEN_APORTREQ_APORT4YREQ_DEFAULT << 9)
573 /* Bit fields for CSEN APORTCONFLICT */
574 #define _CSEN_APORTCONFLICT_RESETVALUE 0x00000000UL
575 #define _CSEN_APORTCONFLICT_MASK 0x000003FCUL
576 #define CSEN_APORTCONFLICT_APORT1XCONFLICT (0x1UL << 2)
577 #define _CSEN_APORTCONFLICT_APORT1XCONFLICT_SHIFT 2
578 #define _CSEN_APORTCONFLICT_APORT1XCONFLICT_MASK 0x4UL
579 #define _CSEN_APORTCONFLICT_APORT1XCONFLICT_DEFAULT 0x00000000UL
580 #define CSEN_APORTCONFLICT_APORT1XCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT1XCONFLICT_DEFAULT << 2)
581 #define CSEN_APORTCONFLICT_APORT1YCONFLICT (0x1UL << 3)
582 #define _CSEN_APORTCONFLICT_APORT1YCONFLICT_SHIFT 3
583 #define _CSEN_APORTCONFLICT_APORT1YCONFLICT_MASK 0x8UL
584 #define _CSEN_APORTCONFLICT_APORT1YCONFLICT_DEFAULT 0x00000000UL
585 #define CSEN_APORTCONFLICT_APORT1YCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT1YCONFLICT_DEFAULT << 3)
586 #define CSEN_APORTCONFLICT_APORT2XCONFLICT (0x1UL << 4)
587 #define _CSEN_APORTCONFLICT_APORT2XCONFLICT_SHIFT 4
588 #define _CSEN_APORTCONFLICT_APORT2XCONFLICT_MASK 0x10UL
589 #define _CSEN_APORTCONFLICT_APORT2XCONFLICT_DEFAULT 0x00000000UL
590 #define CSEN_APORTCONFLICT_APORT2XCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT2XCONFLICT_DEFAULT << 4)
591 #define CSEN_APORTCONFLICT_APORT2YCONFLICT (0x1UL << 5)
592 #define _CSEN_APORTCONFLICT_APORT2YCONFLICT_SHIFT 5
593 #define _CSEN_APORTCONFLICT_APORT2YCONFLICT_MASK 0x20UL
594 #define _CSEN_APORTCONFLICT_APORT2YCONFLICT_DEFAULT 0x00000000UL
595 #define CSEN_APORTCONFLICT_APORT2YCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT2YCONFLICT_DEFAULT << 5)
596 #define CSEN_APORTCONFLICT_APORT3XCONFLICT (0x1UL << 6)
597 #define _CSEN_APORTCONFLICT_APORT3XCONFLICT_SHIFT 6
598 #define _CSEN_APORTCONFLICT_APORT3XCONFLICT_MASK 0x40UL
599 #define _CSEN_APORTCONFLICT_APORT3XCONFLICT_DEFAULT 0x00000000UL
600 #define CSEN_APORTCONFLICT_APORT3XCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT3XCONFLICT_DEFAULT << 6)
601 #define CSEN_APORTCONFLICT_APORT3YCONFLICT (0x1UL << 7)
602 #define _CSEN_APORTCONFLICT_APORT3YCONFLICT_SHIFT 7
603 #define _CSEN_APORTCONFLICT_APORT3YCONFLICT_MASK 0x80UL
604 #define _CSEN_APORTCONFLICT_APORT3YCONFLICT_DEFAULT 0x00000000UL
605 #define CSEN_APORTCONFLICT_APORT3YCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT3YCONFLICT_DEFAULT << 7)
606 #define CSEN_APORTCONFLICT_APORT4XCONFLICT (0x1UL << 8)
607 #define _CSEN_APORTCONFLICT_APORT4XCONFLICT_SHIFT 8
608 #define _CSEN_APORTCONFLICT_APORT4XCONFLICT_MASK 0x100UL
609 #define _CSEN_APORTCONFLICT_APORT4XCONFLICT_DEFAULT 0x00000000UL
610 #define CSEN_APORTCONFLICT_APORT4XCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT4XCONFLICT_DEFAULT << 8)
611 #define CSEN_APORTCONFLICT_APORT4YCONFLICT (0x1UL << 9)
612 #define _CSEN_APORTCONFLICT_APORT4YCONFLICT_SHIFT 9
613 #define _CSEN_APORTCONFLICT_APORT4YCONFLICT_MASK 0x200UL
614 #define _CSEN_APORTCONFLICT_APORT4YCONFLICT_DEFAULT 0x00000000UL
615 #define CSEN_APORTCONFLICT_APORT4YCONFLICT_DEFAULT (_CSEN_APORTCONFLICT_APORT4YCONFLICT_DEFAULT << 9)
617 /* Bit fields for CSEN CMPTHR */
618 #define _CSEN_CMPTHR_RESETVALUE 0x00000000UL
619 #define _CSEN_CMPTHR_MASK 0x0000FFFFUL
620 #define _CSEN_CMPTHR_CMPTHR_SHIFT 0
621 #define _CSEN_CMPTHR_CMPTHR_MASK 0xFFFFUL
622 #define _CSEN_CMPTHR_CMPTHR_DEFAULT 0x00000000UL
623 #define CSEN_CMPTHR_CMPTHR_DEFAULT (_CSEN_CMPTHR_CMPTHR_DEFAULT << 0)
625 /* Bit fields for CSEN EMA */
626 #define _CSEN_EMA_RESETVALUE 0x00000000UL
627 #define _CSEN_EMA_MASK 0x003FFFFFUL
628 #define _CSEN_EMA_EMA_SHIFT 0
629 #define _CSEN_EMA_EMA_MASK 0x3FFFFFUL
630 #define _CSEN_EMA_EMA_DEFAULT 0x00000000UL
631 #define CSEN_EMA_EMA_DEFAULT (_CSEN_EMA_EMA_DEFAULT << 0)
633 /* Bit fields for CSEN EMACTRL */
634 #define _CSEN_EMACTRL_RESETVALUE 0x00000000UL
635 #define _CSEN_EMACTRL_MASK 0x00000007UL
636 #define _CSEN_EMACTRL_EMASAMPLE_SHIFT 0
637 #define _CSEN_EMACTRL_EMASAMPLE_MASK 0x7UL
638 #define _CSEN_EMACTRL_EMASAMPLE_DEFAULT 0x00000000UL
639 #define _CSEN_EMACTRL_EMASAMPLE_W1 0x00000000UL
640 #define _CSEN_EMACTRL_EMASAMPLE_W2 0x00000001UL
641 #define _CSEN_EMACTRL_EMASAMPLE_W4 0x00000002UL
642 #define _CSEN_EMACTRL_EMASAMPLE_W8 0x00000003UL
643 #define _CSEN_EMACTRL_EMASAMPLE_W16 0x00000004UL
644 #define _CSEN_EMACTRL_EMASAMPLE_W32 0x00000005UL
645 #define _CSEN_EMACTRL_EMASAMPLE_W64 0x00000006UL
646 #define CSEN_EMACTRL_EMASAMPLE_DEFAULT (_CSEN_EMACTRL_EMASAMPLE_DEFAULT << 0)
647 #define CSEN_EMACTRL_EMASAMPLE_W1 (_CSEN_EMACTRL_EMASAMPLE_W1 << 0)
648 #define CSEN_EMACTRL_EMASAMPLE_W2 (_CSEN_EMACTRL_EMASAMPLE_W2 << 0)
649 #define CSEN_EMACTRL_EMASAMPLE_W4 (_CSEN_EMACTRL_EMASAMPLE_W4 << 0)
650 #define CSEN_EMACTRL_EMASAMPLE_W8 (_CSEN_EMACTRL_EMASAMPLE_W8 << 0)
651 #define CSEN_EMACTRL_EMASAMPLE_W16 (_CSEN_EMACTRL_EMASAMPLE_W16 << 0)
652 #define CSEN_EMACTRL_EMASAMPLE_W32 (_CSEN_EMACTRL_EMASAMPLE_W32 << 0)
653 #define CSEN_EMACTRL_EMASAMPLE_W64 (_CSEN_EMACTRL_EMASAMPLE_W64 << 0)
655 /* Bit fields for CSEN SINGLECTRL */
656 #define _CSEN_SINGLECTRL_RESETVALUE 0x00000000UL
657 #define _CSEN_SINGLECTRL_MASK 0x000007F0UL
658 #define _CSEN_SINGLECTRL_SINGLESEL_SHIFT 4
659 #define _CSEN_SINGLECTRL_SINGLESEL_MASK 0x7F0UL
660 #define _CSEN_SINGLECTRL_SINGLESEL_DEFAULT 0x00000000UL
661 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH0 0x00000020UL
662 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH1 0x00000021UL
663 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH2 0x00000022UL
664 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH3 0x00000023UL
665 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH4 0x00000024UL
666 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH5 0x00000025UL
667 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH6 0x00000026UL
668 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH7 0x00000027UL
669 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH8 0x00000028UL
670 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH9 0x00000029UL
671 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH10 0x0000002AUL
672 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH11 0x0000002BUL
673 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH12 0x0000002CUL
674 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH13 0x0000002DUL
675 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH14 0x0000002EUL
676 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH15 0x0000002FUL
677 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH16 0x00000030UL
678 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH17 0x00000031UL
679 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH18 0x00000032UL
680 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH19 0x00000033UL
681 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH20 0x00000034UL
682 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH21 0x00000035UL
683 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH22 0x00000036UL
684 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH23 0x00000037UL
685 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH24 0x00000038UL
686 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH25 0x00000039UL
687 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH26 0x0000003AUL
688 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH27 0x0000003BUL
689 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH28 0x0000003CUL
690 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH29 0x0000003DUL
691 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1XCH30 0x0000003EUL
692 #define _CSEN_SINGLECTRL_SINGLESEL_APORT1YCH31 0x0000003FUL
693 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH0 0x00000060UL
694 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH1 0x00000061UL
695 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH2 0x00000062UL
696 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH3 0x00000063UL
697 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH4 0x00000064UL
698 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH5 0x00000065UL
699 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH6 0x00000066UL
700 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH7 0x00000067UL
701 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH8 0x00000068UL
702 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH9 0x00000069UL
703 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH10 0x0000006AUL
704 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH11 0x0000006BUL
705 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH12 0x0000006CUL
706 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH13 0x0000006DUL
707 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH14 0x0000006EUL
708 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH15 0x0000006FUL
709 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH16 0x00000070UL
710 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH17 0x00000071UL
711 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH18 0x00000072UL
712 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH19 0x00000073UL
713 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH20 0x00000074UL
714 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH21 0x00000075UL
715 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH22 0x00000076UL
716 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH23 0x00000077UL
717 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH24 0x00000078UL
718 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH25 0x00000079UL
719 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH26 0x0000007AUL
720 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH27 0x0000007BUL
721 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH28 0x0000007CUL
722 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH29 0x0000007DUL
723 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3XCH30 0x0000007EUL
724 #define _CSEN_SINGLECTRL_SINGLESEL_APORT3YCH31 0x0000007FUL
725 #define CSEN_SINGLECTRL_SINGLESEL_DEFAULT (_CSEN_SINGLECTRL_SINGLESEL_DEFAULT << 4)
726 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH0 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH0 << 4)
727 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH1 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH1 << 4)
728 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH2 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH2 << 4)
729 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH3 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH3 << 4)
730 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH4 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH4 << 4)
731 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH5 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH5 << 4)
732 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH6 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH6 << 4)
733 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH7 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH7 << 4)
734 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH8 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH8 << 4)
735 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH9 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH9 << 4)
736 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH10 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH10 << 4)
737 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH11 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH11 << 4)
738 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH12 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH12 << 4)
739 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH13 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH13 << 4)
740 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH14 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH14 << 4)
741 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH15 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH15 << 4)
742 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH16 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH16 << 4)
743 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH17 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH17 << 4)
744 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH18 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH18 << 4)
745 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH19 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH19 << 4)
746 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH20 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH20 << 4)
747 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH21 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH21 << 4)
748 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH22 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH22 << 4)
749 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH23 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH23 << 4)
750 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH24 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH24 << 4)
751 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH25 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH25 << 4)
752 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH26 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH26 << 4)
753 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH27 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH27 << 4)
754 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH28 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH28 << 4)
755 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH29 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH29 << 4)
756 #define CSEN_SINGLECTRL_SINGLESEL_APORT1XCH30 (_CSEN_SINGLECTRL_SINGLESEL_APORT1XCH30 << 4)
757 #define CSEN_SINGLECTRL_SINGLESEL_APORT1YCH31 (_CSEN_SINGLECTRL_SINGLESEL_APORT1YCH31 << 4)
758 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH0 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH0 << 4)
759 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH1 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH1 << 4)
760 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH2 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH2 << 4)
761 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH3 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH3 << 4)
762 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH4 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH4 << 4)
763 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH5 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH5 << 4)
764 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH6 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH6 << 4)
765 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH7 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH7 << 4)
766 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH8 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH8 << 4)
767 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH9 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH9 << 4)
768 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH10 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH10 << 4)
769 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH11 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH11 << 4)
770 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH12 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH12 << 4)
771 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH13 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH13 << 4)
772 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH14 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH14 << 4)
773 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH15 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH15 << 4)
774 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH16 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH16 << 4)
775 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH17 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH17 << 4)
776 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH18 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH18 << 4)
777 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH19 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH19 << 4)
778 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH20 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH20 << 4)
779 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH21 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH21 << 4)
780 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH22 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH22 << 4)
781 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH23 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH23 << 4)
782 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH24 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH24 << 4)
783 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH25 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH25 << 4)
784 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH26 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH26 << 4)
785 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH27 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH27 << 4)
786 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH28 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH28 << 4)
787 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH29 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH29 << 4)
788 #define CSEN_SINGLECTRL_SINGLESEL_APORT3XCH30 (_CSEN_SINGLECTRL_SINGLESEL_APORT3XCH30 << 4)
789 #define CSEN_SINGLECTRL_SINGLESEL_APORT3YCH31 (_CSEN_SINGLECTRL_SINGLESEL_APORT3YCH31 << 4)
791 /* Bit fields for CSEN DMBASELINE */
792 #define _CSEN_DMBASELINE_RESETVALUE 0x00000000UL
793 #define _CSEN_DMBASELINE_MASK 0xFFFFFFFFUL
794 #define _CSEN_DMBASELINE_BASELINEUP_SHIFT 0
795 #define _CSEN_DMBASELINE_BASELINEUP_MASK 0xFFFFUL
796 #define _CSEN_DMBASELINE_BASELINEUP_DEFAULT 0x00000000UL
797 #define CSEN_DMBASELINE_BASELINEUP_DEFAULT (_CSEN_DMBASELINE_BASELINEUP_DEFAULT << 0)
798 #define _CSEN_DMBASELINE_BASELINEDN_SHIFT 16
799 #define _CSEN_DMBASELINE_BASELINEDN_MASK 0xFFFF0000UL
800 #define _CSEN_DMBASELINE_BASELINEDN_DEFAULT 0x00000000UL
801 #define CSEN_DMBASELINE_BASELINEDN_DEFAULT (_CSEN_DMBASELINE_BASELINEDN_DEFAULT << 16)
803 /* Bit fields for CSEN DMCFG */
804 #define _CSEN_DMCFG_RESETVALUE 0x00000000UL
805 #define _CSEN_DMCFG_MASK 0x103F0FFFUL
806 #define _CSEN_DMCFG_DMG_SHIFT 0
807 #define _CSEN_DMCFG_DMG_MASK 0xFFUL
808 #define _CSEN_DMCFG_DMG_DEFAULT 0x00000000UL
809 #define CSEN_DMCFG_DMG_DEFAULT (_CSEN_DMCFG_DMG_DEFAULT << 0)
810 #define _CSEN_DMCFG_DMR_SHIFT 8
811 #define _CSEN_DMCFG_DMR_MASK 0xF00UL
812 #define _CSEN_DMCFG_DMR_DEFAULT 0x00000000UL
813 #define CSEN_DMCFG_DMR_DEFAULT (_CSEN_DMCFG_DMR_DEFAULT << 8)
814 #define _CSEN_DMCFG_DMCR_SHIFT 16
815 #define _CSEN_DMCFG_DMCR_MASK 0xF0000UL
816 #define _CSEN_DMCFG_DMCR_DEFAULT 0x00000000UL
817 #define CSEN_DMCFG_DMCR_DEFAULT (_CSEN_DMCFG_DMCR_DEFAULT << 16)
818 #define _CSEN_DMCFG_CRMODE_SHIFT 20
819 #define _CSEN_DMCFG_CRMODE_MASK 0x300000UL
820 #define _CSEN_DMCFG_CRMODE_DEFAULT 0x00000000UL
821 #define _CSEN_DMCFG_CRMODE_DM10 0x00000000UL
822 #define _CSEN_DMCFG_CRMODE_DM12 0x00000001UL
823 #define _CSEN_DMCFG_CRMODE_DM14 0x00000002UL
824 #define _CSEN_DMCFG_CRMODE_DM16 0x00000003UL
825 #define CSEN_DMCFG_CRMODE_DEFAULT (_CSEN_DMCFG_CRMODE_DEFAULT << 20)
826 #define CSEN_DMCFG_CRMODE_DM10 (_CSEN_DMCFG_CRMODE_DM10 << 20)
827 #define CSEN_DMCFG_CRMODE_DM12 (_CSEN_DMCFG_CRMODE_DM12 << 20)
828 #define CSEN_DMCFG_CRMODE_DM14 (_CSEN_DMCFG_CRMODE_DM14 << 20)
829 #define CSEN_DMCFG_CRMODE_DM16 (_CSEN_DMCFG_CRMODE_DM16 << 20)
830 #define CSEN_DMCFG_DMGRDIS (0x1UL << 28)
831 #define _CSEN_DMCFG_DMGRDIS_SHIFT 28
832 #define _CSEN_DMCFG_DMGRDIS_MASK 0x10000000UL
833 #define _CSEN_DMCFG_DMGRDIS_DEFAULT 0x00000000UL
834 #define CSEN_DMCFG_DMGRDIS_DEFAULT (_CSEN_DMCFG_DMGRDIS_DEFAULT << 28)
836 /* Bit fields for CSEN ANACTRL */
837 #define _CSEN_ANACTRL_RESETVALUE 0x00000070UL
838 #define _CSEN_ANACTRL_MASK 0x03730771UL
839 #define CSEN_ANACTRL_CREFHALF (0x1UL << 0)
840 #define _CSEN_ANACTRL_CREFHALF_SHIFT 0
841 #define _CSEN_ANACTRL_CREFHALF_MASK 0x1UL
842 #define _CSEN_ANACTRL_CREFHALF_DEFAULT 0x00000000UL
843 #define _CSEN_ANACTRL_CREFHALF_FULL 0x00000000UL
844 #define _CSEN_ANACTRL_CREFHALF_HALF 0x00000001UL
845 #define CSEN_ANACTRL_CREFHALF_DEFAULT (_CSEN_ANACTRL_CREFHALF_DEFAULT << 0)
846 #define CSEN_ANACTRL_CREFHALF_FULL (_CSEN_ANACTRL_CREFHALF_FULL << 0)
847 #define CSEN_ANACTRL_CREFHALF_HALF (_CSEN_ANACTRL_CREFHALF_HALF << 0)
848 #define _CSEN_ANACTRL_IREFPROG_SHIFT 4
849 #define _CSEN_ANACTRL_IREFPROG_MASK 0x70UL
850 #define _CSEN_ANACTRL_IREFPROG_DEFAULT 0x00000007UL
851 #define CSEN_ANACTRL_IREFPROG_DEFAULT (_CSEN_ANACTRL_IREFPROG_DEFAULT << 4)
852 #define _CSEN_ANACTRL_IDACIREFS_SHIFT 8
853 #define _CSEN_ANACTRL_IDACIREFS_MASK 0x700UL
854 #define _CSEN_ANACTRL_IDACIREFS_DEFAULT 0x00000000UL
855 #define CSEN_ANACTRL_IDACIREFS_DEFAULT (_CSEN_ANACTRL_IDACIREFS_DEFAULT << 8)
856 #define _CSEN_ANACTRL_DUTYSCALE_SHIFT 16
857 #define _CSEN_ANACTRL_DUTYSCALE_MASK 0x30000UL
858 #define _CSEN_ANACTRL_DUTYSCALE_DEFAULT 0x00000000UL
859 #define _CSEN_ANACTRL_DUTYSCALE_DIV1 0x00000000UL
860 #define _CSEN_ANACTRL_DUTYSCALE_DIV2 0x00000001UL
861 #define _CSEN_ANACTRL_DUTYSCALE_DIV4 0x00000002UL
862 #define _CSEN_ANACTRL_DUTYSCALE_DIV8 0x00000003UL
863 #define CSEN_ANACTRL_DUTYSCALE_DEFAULT (_CSEN_ANACTRL_DUTYSCALE_DEFAULT << 16)
864 #define CSEN_ANACTRL_DUTYSCALE_DIV1 (_CSEN_ANACTRL_DUTYSCALE_DIV1 << 16)
865 #define CSEN_ANACTRL_DUTYSCALE_DIV2 (_CSEN_ANACTRL_DUTYSCALE_DIV2 << 16)
866 #define CSEN_ANACTRL_DUTYSCALE_DIV4 (_CSEN_ANACTRL_DUTYSCALE_DIV4 << 16)
867 #define CSEN_ANACTRL_DUTYSCALE_DIV8 (_CSEN_ANACTRL_DUTYSCALE_DIV8 << 16)
868 #define _CSEN_ANACTRL_TRSTPROG_SHIFT 20
869 #define _CSEN_ANACTRL_TRSTPROG_MASK 0x700000UL
870 #define _CSEN_ANACTRL_TRSTPROG_DEFAULT 0x00000000UL
871 #define CSEN_ANACTRL_TRSTPROG_DEFAULT (_CSEN_ANACTRL_TRSTPROG_DEFAULT << 20)
872 #define _CSEN_ANACTRL_BIASPROG_SHIFT 24
873 #define _CSEN_ANACTRL_BIASPROG_MASK 0x3000000UL
874 #define _CSEN_ANACTRL_BIASPROG_DEFAULT 0x00000000UL
875 #define _CSEN_ANACTRL_BIASPROG_ONEX 0x00000000UL
876 #define _CSEN_ANACTRL_BIASPROG_TWOX 0x00000001UL
877 #define _CSEN_ANACTRL_BIASPROG_ONETENTH 0x00000002UL
878 #define _CSEN_ANACTRL_BIASPROG_HALF 0x00000003UL
879 #define CSEN_ANACTRL_BIASPROG_DEFAULT (_CSEN_ANACTRL_BIASPROG_DEFAULT << 24)
880 #define CSEN_ANACTRL_BIASPROG_ONEX (_CSEN_ANACTRL_BIASPROG_ONEX << 24)
881 #define CSEN_ANACTRL_BIASPROG_TWOX (_CSEN_ANACTRL_BIASPROG_TWOX << 24)
882 #define CSEN_ANACTRL_BIASPROG_ONETENTH (_CSEN_ANACTRL_BIASPROG_ONETENTH << 24)
883 #define CSEN_ANACTRL_BIASPROG_HALF (_CSEN_ANACTRL_BIASPROG_HALF << 24)
885 /* Bit fields for CSEN IF */
886 #define _CSEN_IF_RESETVALUE 0x00000000UL
887 #define _CSEN_IF_MASK 0x0000001FUL
888 #define CSEN_IF_CMP (0x1UL << 0)
889 #define _CSEN_IF_CMP_SHIFT 0
890 #define _CSEN_IF_CMP_MASK 0x1UL
891 #define _CSEN_IF_CMP_DEFAULT 0x00000000UL
892 #define CSEN_IF_CMP_DEFAULT (_CSEN_IF_CMP_DEFAULT << 0)
893 #define CSEN_IF_CONV (0x1UL << 1)
894 #define _CSEN_IF_CONV_SHIFT 1
895 #define _CSEN_IF_CONV_MASK 0x2UL
896 #define _CSEN_IF_CONV_DEFAULT 0x00000000UL
897 #define CSEN_IF_CONV_DEFAULT (_CSEN_IF_CONV_DEFAULT << 1)
898 #define CSEN_IF_EOS (0x1UL << 2)
899 #define _CSEN_IF_EOS_SHIFT 2
900 #define _CSEN_IF_EOS_MASK 0x4UL
901 #define _CSEN_IF_EOS_DEFAULT 0x00000000UL
902 #define CSEN_IF_EOS_DEFAULT (_CSEN_IF_EOS_DEFAULT << 2)
903 #define CSEN_IF_DMAOF (0x1UL << 3)
904 #define _CSEN_IF_DMAOF_SHIFT 3
905 #define _CSEN_IF_DMAOF_MASK 0x8UL
906 #define _CSEN_IF_DMAOF_DEFAULT 0x00000000UL
907 #define CSEN_IF_DMAOF_DEFAULT (_CSEN_IF_DMAOF_DEFAULT << 3)
908 #define CSEN_IF_APORTCONFLICT (0x1UL << 4)
909 #define _CSEN_IF_APORTCONFLICT_SHIFT 4
910 #define _CSEN_IF_APORTCONFLICT_MASK 0x10UL
911 #define _CSEN_IF_APORTCONFLICT_DEFAULT 0x00000000UL
912 #define CSEN_IF_APORTCONFLICT_DEFAULT (_CSEN_IF_APORTCONFLICT_DEFAULT << 4)
914 /* Bit fields for CSEN IFS */
915 #define _CSEN_IFS_RESETVALUE 0x00000000UL
916 #define _CSEN_IFS_MASK 0x0000001FUL
917 #define CSEN_IFS_CMP (0x1UL << 0)
918 #define _CSEN_IFS_CMP_SHIFT 0
919 #define _CSEN_IFS_CMP_MASK 0x1UL
920 #define _CSEN_IFS_CMP_DEFAULT 0x00000000UL
921 #define CSEN_IFS_CMP_DEFAULT (_CSEN_IFS_CMP_DEFAULT << 0)
922 #define CSEN_IFS_CONV (0x1UL << 1)
923 #define _CSEN_IFS_CONV_SHIFT 1
924 #define _CSEN_IFS_CONV_MASK 0x2UL
925 #define _CSEN_IFS_CONV_DEFAULT 0x00000000UL
926 #define CSEN_IFS_CONV_DEFAULT (_CSEN_IFS_CONV_DEFAULT << 1)
927 #define CSEN_IFS_EOS (0x1UL << 2)
928 #define _CSEN_IFS_EOS_SHIFT 2
929 #define _CSEN_IFS_EOS_MASK 0x4UL
930 #define _CSEN_IFS_EOS_DEFAULT 0x00000000UL
931 #define CSEN_IFS_EOS_DEFAULT (_CSEN_IFS_EOS_DEFAULT << 2)
932 #define CSEN_IFS_DMAOF (0x1UL << 3)
933 #define _CSEN_IFS_DMAOF_SHIFT 3
934 #define _CSEN_IFS_DMAOF_MASK 0x8UL
935 #define _CSEN_IFS_DMAOF_DEFAULT 0x00000000UL
936 #define CSEN_IFS_DMAOF_DEFAULT (_CSEN_IFS_DMAOF_DEFAULT << 3)
937 #define CSEN_IFS_APORTCONFLICT (0x1UL << 4)
938 #define _CSEN_IFS_APORTCONFLICT_SHIFT 4
939 #define _CSEN_IFS_APORTCONFLICT_MASK 0x10UL
940 #define _CSEN_IFS_APORTCONFLICT_DEFAULT 0x00000000UL
941 #define CSEN_IFS_APORTCONFLICT_DEFAULT (_CSEN_IFS_APORTCONFLICT_DEFAULT << 4)
943 /* Bit fields for CSEN IFC */
944 #define _CSEN_IFC_RESETVALUE 0x00000000UL
945 #define _CSEN_IFC_MASK 0x0000001FUL
946 #define CSEN_IFC_CMP (0x1UL << 0)
947 #define _CSEN_IFC_CMP_SHIFT 0
948 #define _CSEN_IFC_CMP_MASK 0x1UL
949 #define _CSEN_IFC_CMP_DEFAULT 0x00000000UL
950 #define CSEN_IFC_CMP_DEFAULT (_CSEN_IFC_CMP_DEFAULT << 0)
951 #define CSEN_IFC_CONV (0x1UL << 1)
952 #define _CSEN_IFC_CONV_SHIFT 1
953 #define _CSEN_IFC_CONV_MASK 0x2UL
954 #define _CSEN_IFC_CONV_DEFAULT 0x00000000UL
955 #define CSEN_IFC_CONV_DEFAULT (_CSEN_IFC_CONV_DEFAULT << 1)
956 #define CSEN_IFC_EOS (0x1UL << 2)
957 #define _CSEN_IFC_EOS_SHIFT 2
958 #define _CSEN_IFC_EOS_MASK 0x4UL
959 #define _CSEN_IFC_EOS_DEFAULT 0x00000000UL
960 #define CSEN_IFC_EOS_DEFAULT (_CSEN_IFC_EOS_DEFAULT << 2)
961 #define CSEN_IFC_DMAOF (0x1UL << 3)
962 #define _CSEN_IFC_DMAOF_SHIFT 3
963 #define _CSEN_IFC_DMAOF_MASK 0x8UL
964 #define _CSEN_IFC_DMAOF_DEFAULT 0x00000000UL
965 #define CSEN_IFC_DMAOF_DEFAULT (_CSEN_IFC_DMAOF_DEFAULT << 3)
966 #define CSEN_IFC_APORTCONFLICT (0x1UL << 4)
967 #define _CSEN_IFC_APORTCONFLICT_SHIFT 4
968 #define _CSEN_IFC_APORTCONFLICT_MASK 0x10UL
969 #define _CSEN_IFC_APORTCONFLICT_DEFAULT 0x00000000UL
970 #define CSEN_IFC_APORTCONFLICT_DEFAULT (_CSEN_IFC_APORTCONFLICT_DEFAULT << 4)
972 /* Bit fields for CSEN IEN */
973 #define _CSEN_IEN_RESETVALUE 0x00000000UL
974 #define _CSEN_IEN_MASK 0x0000001FUL
975 #define CSEN_IEN_CMP (0x1UL << 0)
976 #define _CSEN_IEN_CMP_SHIFT 0
977 #define _CSEN_IEN_CMP_MASK 0x1UL
978 #define _CSEN_IEN_CMP_DEFAULT 0x00000000UL
979 #define CSEN_IEN_CMP_DEFAULT (_CSEN_IEN_CMP_DEFAULT << 0)
980 #define CSEN_IEN_CONV (0x1UL << 1)
981 #define _CSEN_IEN_CONV_SHIFT 1
982 #define _CSEN_IEN_CONV_MASK 0x2UL
983 #define _CSEN_IEN_CONV_DEFAULT 0x00000000UL
984 #define CSEN_IEN_CONV_DEFAULT (_CSEN_IEN_CONV_DEFAULT << 1)
985 #define CSEN_IEN_EOS (0x1UL << 2)
986 #define _CSEN_IEN_EOS_SHIFT 2
987 #define _CSEN_IEN_EOS_MASK 0x4UL
988 #define _CSEN_IEN_EOS_DEFAULT 0x00000000UL
989 #define CSEN_IEN_EOS_DEFAULT (_CSEN_IEN_EOS_DEFAULT << 2)
990 #define CSEN_IEN_DMAOF (0x1UL << 3)
991 #define _CSEN_IEN_DMAOF_SHIFT 3
992 #define _CSEN_IEN_DMAOF_MASK 0x8UL
993 #define _CSEN_IEN_DMAOF_DEFAULT 0x00000000UL
994 #define CSEN_IEN_DMAOF_DEFAULT (_CSEN_IEN_DMAOF_DEFAULT << 3)
995 #define CSEN_IEN_APORTCONFLICT (0x1UL << 4)
996 #define _CSEN_IEN_APORTCONFLICT_SHIFT 4
997 #define _CSEN_IEN_APORTCONFLICT_MASK 0x10UL
998 #define _CSEN_IEN_APORTCONFLICT_DEFAULT 0x00000000UL
999 #define CSEN_IEN_APORTCONFLICT_DEFAULT (_CSEN_IEN_APORTCONFLICT_DEFAULT << 4)
__IOM uint32_t PRSSEL
__IOM uint32_t DATA
__IOM uint32_t DMBASELINE
__IOM uint32_t ANACTRL
__IOM uint32_t EMA
__IOM uint32_t TIMCTRL
__IOM uint32_t DMCFG
__IM uint32_t APORTCONFLICT
__IOM uint32_t IFC
__IOM uint32_t SINGLECTRL
__IOM uint32_t SCANINPUTSEL1
__IM uint32_t STATUS
__IOM uint32_t CMPTHR
__IOM uint32_t SCANMASK1
__IM uint32_t APORTREQ
__IOM uint32_t CMD
__IOM uint32_t EMACTRL
__IOM uint32_t SCANMASK0
__IOM uint32_t IEN
__IOM uint32_t IFS
__IOM uint32_t SCANINPUTSEL0
__IM uint32_t IF
__IOM uint32_t CTRL