MAX30001G 1.0.2 Arduino library for MAX30001G ECG and BIOZ AFE

max30001g_regs_typedefs.h
Go to the documentation of this file.
1 #ifndef MAX30001G_REGS_TYPEDEFS_H
2 #define MAX30001G_REGS_TYPEDEFS_H
3
4 #include <stdint.h>
5
10 typedef union
11 {
12 uint32_t all;
13
14 struct
15 {
16 uint32_t ldoff_nl : 1; // 0 lead off detection status
17 uint32_t ldoff_nh : 1; // 1
18 uint32_t ldoff_pl : 1; // 2
19 uint32_t ldoff_ph : 1; // 3
20
21 uint32_t bcgmn : 1; // 4 BIOZ channel gain monitor, negative output
22 uint32_t bcgmp : 1; // 5 BIOZ channel gain monitor, positive output
23 uint32_t reserved1 : 1; // 6
24 uint32_t reserved2 : 1; // 7
25
26 uint32_t pllint : 1; // 8 PLL unlock interrupt
27 uint32_t samp : 1; // 9 sample synchronization pulse
28 uint32_t rrint : 1; // 10 ECG R2R detection interrupt
29 uint32_t lonint : 1; // 11 Ultra low power leads on detection interrupt
30
31 uint32_t pedge : 1; // 12 not discribed in datasheet
32 uint32_t povf : 1; // 13 "
33 uint32_t print : 1; // 14 "
34 uint32_t bcgmon : 1; // 15 BIOZ current monitor
35
36 uint32_t bundr : 1; // 16 BIOZ under range
37 uint32_t bover : 1; // 17 BIOZ over range
38 uint32_t bovf : 1; // 18 BIOZ FIFO flow
39 uint32_t bint : 1; // 19 BIOZ FIFO interrupt
40
41 uint32_t dcloffint : 1; // 20 DC lead off detection interrupt
42 uint32_t fstint : 1; // 21 ECG fast recovery mode is engaged
43 uint32_t eovf : 1; // 22 ECG FIFO overflow
44 uint32_t eint : 1; // 23 ECG FIFO interrupt
45
46 uint32_t reserved6 : 8; //24-31
47
48 } bit;
49
50 } max30001_status_reg_t;
51
58 typedef union
59 {
60 uint32_t all;
61 struct
62 {
63 uint32_t intb_type : 2; // 0,1 interrupt type, 00 disabled, CMOS, OpenDrain, OpenDrain with internal pull up
64 uint32_t reserved1 : 6; // 2-7
65 uint32_t en_pllint : 1; // 8 PLL unlock interrupt enable
66 uint32_t en_samp : 1; // 9 sample synchronization pulse enable
67 uint32_t en_rrint : 1; // 10 ECG R to R detection interrupt enable
68 uint32_t en_lonint : 1; // 11 Ultra low power leads on detection interrupt enable
69 uint32_t reserved2 : 3; // 12-14
70 uint32_t en_bcgmon : 1; // 15 BIOZ current monitor interrupt enable
71 uint32_t en_bunder : 1; // 16 BIOZ under range interrupt enable
72 uint32_t en_bover : 1; // 17 BIOZ over range interrupt enable
73 uint32_t en_bovf : 1; // 18 BIOZ FIFO overflow interrupt enable
74 uint32_t en_bint : 1; // 19 BIOZ FIFO interrupt enable
75 uint32_t en_dcloffint : 1; // 20 DC lead off detection interrupt enable
76 uint32_t en_fstint : 1; // 21 ECG fast recovery interrupt enable
77 uint32_t en_eovf : 1; // 22 ECG FIFO overflow interrupt enable
78 uint32_t en_eint : 1; // 23 ECG FIFO interrupt enable
79 uint32_t reserved3 : 8; // 24-31
80 } bit;
81 } max30001_en_int_reg_t;
82
87 typedef union
88 {
89 uint32_t all;
90
91 struct
92 {
93 uint32_t samp_it : 2; // 0,1 sample synchronization pulse frequency
94 uint32_t clr_samp : 1; // 2 sample synchronization pulse clear behavior
95 uint32_t clr_pedge : 1; // 3 not described in datasheet
96 uint32_t clr_rrint : 2; // 4,5 RTOR R peak detection clear behavior
97 uint32_t clr_fast : 1; // 6, fast mode interrupt clear behavior
98 uint32_t reserved2 : 1; // 7
99 uint32_t reserved3 : 4; // 8-11
100 uint32_t reserved4 : 4; // 12-15
101 uint32_t b_fit : 3; // 16-18 BIOZ interrupt threshold
102 uint32_t e_fit : 5; // 19-23 ECG interrupt threshold
103 uint32_t reserved : 8; // 24-31
104 } bit;
105
106 } max30001_mngr_int_reg_t;
107
112 typedef union
113 {
114 uint32_t all;
115
116 struct
117 {
118 uint32_t bloff_lo_it : 8; // 0-7 BIOZ lead off under range threshold
119 uint32_t bloff_hi_it : 8; // 8-15 BIOZ lead off over range threshold
120 uint32_t fast_th : 6; // 16-21 ECG fast recovery threshold, 0x3F, if 2048*FAST_TH for more than 125ms go to recovery mode
121 uint32_t fast : 2; // 22,23 ECG fast recovery mode, 00 normal, 01 manual, 11 do not use
122 uint32_t reserved : 8; // 24-31
123 } bit;
124
125 } max30001_mngr_dyn_reg_t;
126
131 typedef union max30001_info_reg
132 {
133 uint32_t all;
134
135 struct
136 {
137 uint32_t n1 : 4; // 0- 3 might randomly vary
138 uint32_t n2 : 4; // 4- 7 might randomly vary
139 uint32_t n3 : 4; // 8-11 might randomly vary
140 uint32_t c1 : 2; // 12-13 should be 0b01
141 uint32_t n4 : 2; // 14-15 might vary randomly
142 uint32_t revision : 4; // 16-19 should be 0x4
143 uint32_t c2 : 4; // 20-23
144 uint32_t reserved : 8; // 24-31
145
146 } bit;
147
148 } max30001_info_reg_t;
149
154 typedef union
155 {
156 uint32_t all;
157 struct
158 {
159 uint32_t rbiasn : 1; // 0, enable resistive bias on N
160 uint32_t rbiasp : 1; // 1, enable resistive bias on P
161 uint32_t rbiasv : 2; // 2,3 bias mode: 50, 100, 200MOhm, do notuse
162 uint32_t en_rbias : 2; // 4,5 disabled, ECG, BIOZ, reserved
163 uint32_t vth : 2; // 6,7 lead off threshold, 300, 400, 450, 500mV
164 uint32_t imag : 3; // 8-10 lead off magnitude selection, 0, 5, 10, 20, 50, 100 nA
165 uint32_t ipol : 1; // 11 lead off curren polarity, ECGN pullup, ECGN pull down
166 uint32_t en_dcloff : 2; // 12,13 lead off enable
167 uint32_t en_bloff : 2; // 14,15 BIOZ lead off enable
168 uint32_t reserved1 : 1; // 16
169 uint32_t en_pace : 1; // 17 not described in datasheet
170 uint32_t en_bioz : 1; // 18 enable BIOZ channel
171 uint32_t en_ecg : 1; // 19 enable ECG channel
172 uint32_t fmstr : 2; // 20,21 master clock frequency
173 uint32_t en_ulp_lon : 2; // 22,23 ultra low power lead on detection
174 uint32_t reserved3 : 8; // 24-31
175 } bit;
176
177 } max30001_cnfg_gen_reg_t;
178
183 typedef union
184 {
185 uint32_t all;
186 struct
187 {
188 uint32_t thigh : 11; // 0-10, calibration time source selection
189 uint32_t fifty : 1; // 11 calibrationd duty cycle mode
190 uint32_t fcal : 3; // 12-14 calibration frequency selection
191 uint32_t reserved1 : 5; // 15-19
192 uint32_t vmag : 1; // 20 calibration voltage magnitude
193 uint32_t vmode : 1; // 21 calibration voltage mode
194 uint32_t vcal : 1; // 22 calibration voltage enable
195 uint32_t reserved2 : 1; // 23
196 uint32_t reserved3 : 8; // 24-31
197 } bit;
198
199 } max30001_cnfg_cal_reg_t;
200
205 typedef union max30001_cnfg_emux_reg
206 {
207 uint32_t all;
208 struct
209 {
210 uint32_t reserved1 : 16; // 0-15
211 uint32_t caln_sel : 2; // 16,17 ECGN calibration selection
212 uint32_t calp_sel : 2; // 18,19 ECGP calibration selection
213 uint32_t openn : 1; // 20 open the ECG input switch
214 uint32_t openp : 1; // 21 open the ECG input switch
215 uint32_t reserved2 : 1; // 22
216 uint32_t pol : 1; // 23 ECG input polarity selection
217 uint32_t reserved3 : 8; // 24-31
218 } bit;
219
220 } max30001_cnfg_emux_reg_t;
221
226 typedef union max30001_cnfg_ecg_reg
227 {
228 uint32_t all;
229 struct
230 {
231 uint32_t reserved1 : 12; // 0-11
232 uint32_t dlpf : 2; // 12,13 ecg digital low pass cut off
233 uint32_t dhpf : 1; // 14 ecg digtial high pass cut off
234 uint32_t reserved2 : 1; // 15
235 uint32_t gain : 2; // 16,17 ecg gain
236 uint32_t reserved3 : 4; // 18-21
237 uint32_t rate : 2; // 22,23 ecg rate
238 uint32_t reserved : 8;
239 } bit;
240
241 } max30001_cnfg_ecg_reg_t;
242
247 typedef union
248 {
249 uint32_t all;
250 struct
251 {
252 uint32_t fbist : 2; // 0,1 BIOZ frequency selection
253 uint32_t reserved1 : 2; // 2,3
254 uint32_t rmod : 3; // 4-6 BIOZ modulated resistance selection
255 uint32_t reserved2 : 1; // 7
256 uint32_t rnom : 3; // 8-10 BIOZ nominal resistance selection
257 uint32_t en_bist : 1; // 11 BIOZ bistable mode enable
258 uint32_t cg_mode : 2; // 12,13 BIOZ current generator mode selection
259 uint32_t reserved3 : 2; // 14,15
260 uint32_t caln_sel : 2; // 16,17 BI n calibration selection
261 uint32_t calp_sel : 2; // 18,19 BI p calibration selection
262 uint32_t openn : 1; // 20 open the BIOZ N input switch
263 uint32_t openp : 1; // 21 open the BIOZ P input switch
264 uint32_t reserved4 : 2; // 22,23
265 uint32_t reserved : 8; // 24-31
266 } bit;
267
268 } max30001_cnfg_bmux_reg_t;
269
274 typedef union
275 {
276 uint32_t all;
277 struct
278 {
279 uint32_t phoff : 4; // 0-3 BIOZ modulation phase offset
280 uint32_t cgmag : 3; // 4-6 BIOZ current generator magnitude 8,16,32,48,64,80,96 microA
281 uint32_t cgmon : 1; // 7 BIOZ current generator monitor
282 uint32_t fcgen : 4; // 8-11 BIOZ current generator frequency
283 uint32_t dlpf : 2; // 12,13 BIOZ digital low pass cut off 4,8,16Hz
284 uint32_t dhpf : 2; // 14,15 BIOZ digital high pass cut off 0.05, 0.5Hz
285 uint32_t gain : 2; // 16,17 BIOZ gain 10,20,40,80V/V
286 uint32_t ln_bioz : 1; // 18 BIOZ INA power mode
287 uint32_t ext_rbias : 1; // 19 BIOZ external resistive bias enable
288 uint32_t ahpf : 3; // 20-22 BIOZ analog high pass cut off, at 60, 150, 500, 1000, 2000, 4000Hz
289 uint32_t rate : 1; // 23 BIOZ rate samples per second
290 uint32_t reserved : 8; // 24-31
291 } bit;
292
293 } max30001_cnfg_bioz_reg_t;
294
299 typedef union
300 {
301 uint32_t all;
302 struct
303 {
304 uint32_t cmag_lc : 4; // 0-3 Bioz low current manitude selection
305 uint32_t cmres : 4; // 4-7 Bioz low current mode resistor selection
306 uint32_t reserved1 : 4; // 8-11
307 uint32_t bistr : 2; // 12,13 High resistance programmable load value selection
308 uint32_t en_bistr : 1; // 14 High resistance programmable load enable
309 uint32_t reserved2 : 4; // 15-18
310 uint32_t lc2x : 1; // 19 Bioz low current 2x mode enable
311 uint32_t reserved3 : 3; // 20-22
312 uint32_t hi_lob : 1; // 23 Bioz high or low current mode selection
313 uint32_t reserved4 : 8; // 24-31
314 } bit;
315
316 } max30001_cnfg_bioz_lc_reg_t;
317
322 typedef union
323 {
324 uint32_t all;
325 struct
326 {
327 uint32_t reserved1 : 8; // 0-7
328 uint32_t ptsf : 4; // 8-11 R tp R peak threshold scaling facto
329 uint32_t pavg : 2; // 12,13 R to R peak averaging weight factor
330 uint32_t reserved2 : 1; // 14
331 uint32_t en_rtor : 1; // 15 ECG R to R detection enable
332 uint32_t gain : 4; // 16-19 R to R gain
333 uint32_t wndw : 4; // 20-23 Width of averaging window
334 uint32_t reserved : 8; // 24-31
335 } bit;
336
337 } max30001_cnfg_rtor1_reg_t;
338
343 typedef union
344 {
345 uint32_t all;
346 struct
347 {
348 uint32_t reserved1 : 8; // 0-7
349 uint32_t rhsf : 3; // 8-10 R to R peak threshold hold off scaling factor
350 uint32_t reserved2 : 1; // 11
351 uint32_t ravg : 2; // 12,13 R to R peak averaging interval weight factor
352 uint32_t reserved3 : 2; // 14,15
353 uint32_t hoff : 6; // 16-21 R to R peak detection threshold hold off
354 uint32_t reserved4 : 2; // 22,23
355 uint32_t reserved : 8; // 24-31
356 } bit;
357
358 } max30001_cnfg_rtor2_reg_t;
359
364 typedef union max30001_ecg_burst_reg
365 {
366 uint32_t all;
367 struct
368 {
369 uint32_t reserved : 3; // 0-2
370 uint32_t etag : 3; // 3-5 ECG tag
371 uint32_t data : 18; // 6-23 ECG data
372 } bit;
373
374 } max30001_ecg_burst_reg_t;
375
380 typedef union
381 {
382 uint32_t all;
383 struct
384 {
385 uint32_t btag : 3; // 0-2 BIOZ tag
386 uint32_t reserved : 1; // 3
387 uint32_t data : 20; // 4-23 BIOZ data
388 } bit;
389
390 } max30001_bioz_burst_reg_t;
391
392
397 typedef union max30001_rtor_reg
398 {
399 uint32_t all;
400 struct
401 {
402 uint32_t reserved : 10; //
403 uint32_t data : 14; // 10-23 BIOZ data
404 } bit;
405
406 } max30001_rtor_reg_t;
407
408 #endif
max30001_ecg_burst_reg_t
union max30001_ecg_burst_reg max30001_ecg_burst_reg_t
ECG_FIFO_BURST page 61.
max30001_cnfg_ecg_reg_t
union max30001_cnfg_ecg_reg max30001_cnfg_ecg_reg_t
CNFG_ECG (0x15) page 51.
max30001_cnfg_emux_reg_t
union max30001_cnfg_emux_reg max30001_cnfg_emux_reg_t
CNFG_EMUX (0x14) page 50.
max30001_rtor_reg_t
union max30001_rtor_reg max30001_rtor_reg_t
R to R FIFO page 61.
max30001_info_reg_t
union max30001_info_reg max30001_info_reg_t
INFO (0x0F) page 42.
max30001_bioz_burst_reg_t
BIOZ_FIFO_BURST page 61.
Definition: max30001g_regs_typedefs.h:381
max30001_bioz_burst_reg_t::data
uint32_t data
Definition: max30001g_regs_typedefs.h:387
max30001_bioz_burst_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:386
max30001_bioz_burst_reg_t::btag
uint32_t btag
Definition: max30001g_regs_typedefs.h:385
max30001_bioz_burst_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:382
max30001_cnfg_bioz_lc_reg_t
CNFG_BIOZ_LC (0x1A) page 57.
Definition: max30001g_regs_typedefs.h:300
max30001_cnfg_bioz_lc_reg_t::en_bistr
uint32_t en_bistr
Definition: max30001g_regs_typedefs.h:308
max30001_cnfg_bioz_lc_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:301
max30001_cnfg_bioz_lc_reg_t::cmres
uint32_t cmres
Definition: max30001g_regs_typedefs.h:305
max30001_cnfg_bioz_lc_reg_t::bistr
uint32_t bistr
Definition: max30001g_regs_typedefs.h:307
max30001_cnfg_bioz_lc_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:311
max30001_cnfg_bioz_lc_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:306
max30001_cnfg_bioz_lc_reg_t::reserved4
uint32_t reserved4
Definition: max30001g_regs_typedefs.h:313
max30001_cnfg_bioz_lc_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:309
max30001_cnfg_bioz_lc_reg_t::lc2x
uint32_t lc2x
Definition: max30001g_regs_typedefs.h:310
max30001_cnfg_bioz_lc_reg_t::cmag_lc
uint32_t cmag_lc
Definition: max30001g_regs_typedefs.h:304
max30001_cnfg_bioz_lc_reg_t::hi_lob
uint32_t hi_lob
Definition: max30001g_regs_typedefs.h:312
max30001_cnfg_bioz_reg_t
CNFG_BIOZ (0x18) page 54.
Definition: max30001g_regs_typedefs.h:275
max30001_cnfg_bioz_reg_t::ext_rbias
uint32_t ext_rbias
Definition: max30001g_regs_typedefs.h:287
max30001_cnfg_bioz_reg_t::rate
uint32_t rate
Definition: max30001g_regs_typedefs.h:289
max30001_cnfg_bioz_reg_t::ln_bioz
uint32_t ln_bioz
Definition: max30001g_regs_typedefs.h:286
max30001_cnfg_bioz_reg_t::cgmon
uint32_t cgmon
Definition: max30001g_regs_typedefs.h:281
max30001_cnfg_bioz_reg_t::dhpf
uint32_t dhpf
Definition: max30001g_regs_typedefs.h:284
max30001_cnfg_bioz_reg_t::fcgen
uint32_t fcgen
Definition: max30001g_regs_typedefs.h:282
max30001_cnfg_bioz_reg_t::dlpf
uint32_t dlpf
Definition: max30001g_regs_typedefs.h:283
max30001_cnfg_bioz_reg_t::phoff
uint32_t phoff
Definition: max30001g_regs_typedefs.h:279
max30001_cnfg_bioz_reg_t::ahpf
uint32_t ahpf
Definition: max30001g_regs_typedefs.h:288
max30001_cnfg_bioz_reg_t::gain
uint32_t gain
Definition: max30001g_regs_typedefs.h:285
max30001_cnfg_bioz_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:290
max30001_cnfg_bioz_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:276
max30001_cnfg_bioz_reg_t::cgmag
uint32_t cgmag
Definition: max30001g_regs_typedefs.h:280
max30001_cnfg_bmux_reg_t
CNFG_BMUX (0x17) page 52.
Definition: max30001g_regs_typedefs.h:248
max30001_cnfg_bmux_reg_t::caln_sel
uint32_t caln_sel
Definition: max30001g_regs_typedefs.h:260
max30001_cnfg_bmux_reg_t::rmod
uint32_t rmod
Definition: max30001g_regs_typedefs.h:254
max30001_cnfg_bmux_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:249
max30001_cnfg_bmux_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:255
max30001_cnfg_bmux_reg_t::openp
uint32_t openp
Definition: max30001g_regs_typedefs.h:263
max30001_cnfg_bmux_reg_t::reserved4
uint32_t reserved4
Definition: max30001g_regs_typedefs.h:264
max30001_cnfg_bmux_reg_t::fbist
uint32_t fbist
Definition: max30001g_regs_typedefs.h:252
max30001_cnfg_bmux_reg_t::rnom
uint32_t rnom
Definition: max30001g_regs_typedefs.h:256
max30001_cnfg_bmux_reg_t::openn
uint32_t openn
Definition: max30001g_regs_typedefs.h:262
max30001_cnfg_bmux_reg_t::en_bist
uint32_t en_bist
Definition: max30001g_regs_typedefs.h:257
max30001_cnfg_bmux_reg_t::calp_sel
uint32_t calp_sel
Definition: max30001g_regs_typedefs.h:261
max30001_cnfg_bmux_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:253
max30001_cnfg_bmux_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:265
max30001_cnfg_bmux_reg_t::cg_mode
uint32_t cg_mode
Definition: max30001g_regs_typedefs.h:258
max30001_cnfg_bmux_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:259
max30001_cnfg_cal_reg_t
CNFG_CAL (0x12) page 49.
Definition: max30001g_regs_typedefs.h:184
max30001_cnfg_cal_reg_t::fcal
uint32_t fcal
Definition: max30001g_regs_typedefs.h:190
max30001_cnfg_cal_reg_t::thigh
uint32_t thigh
Definition: max30001g_regs_typedefs.h:188
max30001_cnfg_cal_reg_t::vmag
uint32_t vmag
Definition: max30001g_regs_typedefs.h:192
max30001_cnfg_cal_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:185
max30001_cnfg_cal_reg_t::vmode
uint32_t vmode
Definition: max30001g_regs_typedefs.h:193
max30001_cnfg_cal_reg_t::fifty
uint32_t fifty
Definition: max30001g_regs_typedefs.h:189
max30001_cnfg_cal_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:196
max30001_cnfg_cal_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:195
max30001_cnfg_cal_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:191
max30001_cnfg_cal_reg_t::vcal
uint32_t vcal
Definition: max30001g_regs_typedefs.h:194
max30001_cnfg_ecg_reg
CNFG_ECG (0x15) page 51.
Definition: max30001g_regs_typedefs.h:227
max30001_cnfg_ecg_reg::all
uint32_t all
Definition: max30001g_regs_typedefs.h:228
max30001_cnfg_ecg_reg::gain
uint32_t gain
Definition: max30001g_regs_typedefs.h:235
max30001_cnfg_ecg_reg::dhpf
uint32_t dhpf
Definition: max30001g_regs_typedefs.h:233
max30001_cnfg_ecg_reg::rate
uint32_t rate
Definition: max30001g_regs_typedefs.h:237
max30001_cnfg_ecg_reg::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:238
max30001_cnfg_ecg_reg::dlpf
uint32_t dlpf
Definition: max30001g_regs_typedefs.h:232
max30001_cnfg_ecg_reg::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:236
max30001_cnfg_ecg_reg::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:231
max30001_cnfg_ecg_reg::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:234
max30001_cnfg_ecg_reg::bit
struct max30001_cnfg_ecg_reg::@8 bit
max30001_cnfg_emux_reg
CNFG_EMUX (0x14) page 50.
Definition: max30001g_regs_typedefs.h:206
max30001_cnfg_emux_reg::pol
uint32_t pol
Definition: max30001g_regs_typedefs.h:216
max30001_cnfg_emux_reg::all
uint32_t all
Definition: max30001g_regs_typedefs.h:207
max30001_cnfg_emux_reg::openn
uint32_t openn
Definition: max30001g_regs_typedefs.h:213
max30001_cnfg_emux_reg::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:217
max30001_cnfg_emux_reg::calp_sel
uint32_t calp_sel
Definition: max30001g_regs_typedefs.h:212
max30001_cnfg_emux_reg::caln_sel
uint32_t caln_sel
Definition: max30001g_regs_typedefs.h:211
max30001_cnfg_emux_reg::openp
uint32_t openp
Definition: max30001g_regs_typedefs.h:214
max30001_cnfg_emux_reg::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:215
max30001_cnfg_emux_reg::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:210
max30001_cnfg_emux_reg::bit
struct max30001_cnfg_emux_reg::@7 bit
max30001_cnfg_gen_reg_t
CNFG_GEN (0x10) page 47.
Definition: max30001g_regs_typedefs.h:155
max30001_cnfg_gen_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:156
max30001_cnfg_gen_reg_t::en_bioz
uint32_t en_bioz
Definition: max30001g_regs_typedefs.h:170
max30001_cnfg_gen_reg_t::imag
uint32_t imag
Definition: max30001g_regs_typedefs.h:164
max30001_cnfg_gen_reg_t::rbiasn
uint32_t rbiasn
Definition: max30001g_regs_typedefs.h:159
max30001_cnfg_gen_reg_t::rbiasv
uint32_t rbiasv
Definition: max30001g_regs_typedefs.h:161
max30001_cnfg_gen_reg_t::vth
uint32_t vth
Definition: max30001g_regs_typedefs.h:163
max30001_cnfg_gen_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:174
max30001_cnfg_gen_reg_t::en_ulp_lon
uint32_t en_ulp_lon
Definition: max30001g_regs_typedefs.h:173
max30001_cnfg_gen_reg_t::fmstr
uint32_t fmstr
Definition: max30001g_regs_typedefs.h:172
max30001_cnfg_gen_reg_t::en_rbias
uint32_t en_rbias
Definition: max30001g_regs_typedefs.h:162
max30001_cnfg_gen_reg_t::en_bloff
uint32_t en_bloff
Definition: max30001g_regs_typedefs.h:167
max30001_cnfg_gen_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:168
max30001_cnfg_gen_reg_t::rbiasp
uint32_t rbiasp
Definition: max30001g_regs_typedefs.h:160
max30001_cnfg_gen_reg_t::ipol
uint32_t ipol
Definition: max30001g_regs_typedefs.h:165
max30001_cnfg_gen_reg_t::en_pace
uint32_t en_pace
Definition: max30001g_regs_typedefs.h:169
max30001_cnfg_gen_reg_t::en_dcloff
uint32_t en_dcloff
Definition: max30001g_regs_typedefs.h:166
max30001_cnfg_gen_reg_t::en_ecg
uint32_t en_ecg
Definition: max30001g_regs_typedefs.h:171
max30001_cnfg_rtor1_reg_t
CNFG_RTOR1 (0x1D) page 59.
Definition: max30001g_regs_typedefs.h:323
max30001_cnfg_rtor1_reg_t::pavg
uint32_t pavg
Definition: max30001g_regs_typedefs.h:329
max30001_cnfg_rtor1_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:334
max30001_cnfg_rtor1_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:324
max30001_cnfg_rtor1_reg_t::ptsf
uint32_t ptsf
Definition: max30001g_regs_typedefs.h:328
max30001_cnfg_rtor1_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:330
max30001_cnfg_rtor1_reg_t::gain
uint32_t gain
Definition: max30001g_regs_typedefs.h:332
max30001_cnfg_rtor1_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:327
max30001_cnfg_rtor1_reg_t::wndw
uint32_t wndw
Definition: max30001g_regs_typedefs.h:333
max30001_cnfg_rtor1_reg_t::en_rtor
uint32_t en_rtor
Definition: max30001g_regs_typedefs.h:331
max30001_cnfg_rtor2_reg_t
CNFG_RTOR2 (0x1E) page 59.
Definition: max30001g_regs_typedefs.h:344
max30001_cnfg_rtor2_reg_t::rhsf
uint32_t rhsf
Definition: max30001g_regs_typedefs.h:349
max30001_cnfg_rtor2_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:348
max30001_cnfg_rtor2_reg_t::hoff
uint32_t hoff
Definition: max30001g_regs_typedefs.h:353
max30001_cnfg_rtor2_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:352
max30001_cnfg_rtor2_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:345
max30001_cnfg_rtor2_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:355
max30001_cnfg_rtor2_reg_t::ravg
uint32_t ravg
Definition: max30001g_regs_typedefs.h:351
max30001_cnfg_rtor2_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:350
max30001_cnfg_rtor2_reg_t::reserved4
uint32_t reserved4
Definition: max30001g_regs_typedefs.h:354
max30001_ecg_burst_reg
ECG_FIFO_BURST page 61.
Definition: max30001g_regs_typedefs.h:365
max30001_ecg_burst_reg::all
uint32_t all
Definition: max30001g_regs_typedefs.h:366
max30001_ecg_burst_reg::etag
uint32_t etag
Definition: max30001g_regs_typedefs.h:370
max30001_ecg_burst_reg::bit
struct max30001_ecg_burst_reg::@14 bit
max30001_ecg_burst_reg::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:369
max30001_ecg_burst_reg::data
uint32_t data
Definition: max30001g_regs_typedefs.h:371
max30001_en_int_reg_t
EN_INT (0x02) and (0x03) page 43 we can attach two interrupt lines to functions of the MAX30001 multi...
Definition: max30001g_regs_typedefs.h:59
max30001_en_int_reg_t::en_eovf
uint32_t en_eovf
Definition: max30001g_regs_typedefs.h:77
max30001_en_int_reg_t::en_bcgmon
uint32_t en_bcgmon
Definition: max30001g_regs_typedefs.h:70
max30001_en_int_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:60
max30001_en_int_reg_t::intb_type
uint32_t intb_type
Definition: max30001g_regs_typedefs.h:63
max30001_en_int_reg_t::en_eint
uint32_t en_eint
Definition: max30001g_regs_typedefs.h:78
max30001_en_int_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:69
max30001_en_int_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:79
max30001_en_int_reg_t::en_rrint
uint32_t en_rrint
Definition: max30001g_regs_typedefs.h:67
max30001_en_int_reg_t::en_bunder
uint32_t en_bunder
Definition: max30001g_regs_typedefs.h:71
max30001_en_int_reg_t::en_bover
uint32_t en_bover
Definition: max30001g_regs_typedefs.h:72
max30001_en_int_reg_t::en_pllint
uint32_t en_pllint
Definition: max30001g_regs_typedefs.h:65
max30001_en_int_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:64
max30001_en_int_reg_t::en_bovf
uint32_t en_bovf
Definition: max30001g_regs_typedefs.h:73
max30001_en_int_reg_t::en_dcloffint
uint32_t en_dcloffint
Definition: max30001g_regs_typedefs.h:75
max30001_en_int_reg_t::en_lonint
uint32_t en_lonint
Definition: max30001g_regs_typedefs.h:68
max30001_en_int_reg_t::en_samp
uint32_t en_samp
Definition: max30001g_regs_typedefs.h:66
max30001_en_int_reg_t::en_bint
uint32_t en_bint
Definition: max30001g_regs_typedefs.h:74
max30001_en_int_reg_t::en_fstint
uint32_t en_fstint
Definition: max30001g_regs_typedefs.h:76
max30001_info_reg
INFO (0x0F) page 42.
Definition: max30001g_regs_typedefs.h:132
max30001_info_reg::all
uint32_t all
Definition: max30001g_regs_typedefs.h:133
max30001_info_reg::n3
uint32_t n3
Definition: max30001g_regs_typedefs.h:139
max30001_info_reg::c2
uint32_t c2
Definition: max30001g_regs_typedefs.h:143
max30001_info_reg::bit
struct max30001_info_reg::@4 bit
max30001_info_reg::n4
uint32_t n4
Definition: max30001g_regs_typedefs.h:141
max30001_info_reg::n1
uint32_t n1
Definition: max30001g_regs_typedefs.h:137
max30001_info_reg::n2
uint32_t n2
Definition: max30001g_regs_typedefs.h:138
max30001_info_reg::c1
uint32_t c1
Definition: max30001g_regs_typedefs.h:140
max30001_info_reg::revision
uint32_t revision
Definition: max30001g_regs_typedefs.h:142
max30001_info_reg::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:144
max30001_mngr_dyn_reg_t
MNGR_DYN (0x05) page 45.
Definition: max30001g_regs_typedefs.h:113
max30001_mngr_dyn_reg_t::fast_th
uint32_t fast_th
Definition: max30001g_regs_typedefs.h:120
max30001_mngr_dyn_reg_t::bloff_lo_it
uint32_t bloff_lo_it
Definition: max30001g_regs_typedefs.h:118
max30001_mngr_dyn_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:122
max30001_mngr_dyn_reg_t::fast
uint32_t fast
Definition: max30001g_regs_typedefs.h:121
max30001_mngr_dyn_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:114
max30001_mngr_dyn_reg_t::bloff_hi_it
uint32_t bloff_hi_it
Definition: max30001g_regs_typedefs.h:119
max30001_mngr_int_reg_t
MNGR_INT (0x04) page 44.
Definition: max30001g_regs_typedefs.h:88
max30001_mngr_int_reg_t::e_fit
uint32_t e_fit
Definition: max30001g_regs_typedefs.h:102
max30001_mngr_int_reg_t::clr_rrint
uint32_t clr_rrint
Definition: max30001g_regs_typedefs.h:96
max30001_mngr_int_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:98
max30001_mngr_int_reg_t::clr_fast
uint32_t clr_fast
Definition: max30001g_regs_typedefs.h:97
max30001_mngr_int_reg_t::clr_pedge
uint32_t clr_pedge
Definition: max30001g_regs_typedefs.h:95
max30001_mngr_int_reg_t::samp_it
uint32_t samp_it
Definition: max30001g_regs_typedefs.h:93
max30001_mngr_int_reg_t::reserved4
uint32_t reserved4
Definition: max30001g_regs_typedefs.h:100
max30001_mngr_int_reg_t::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:103
max30001_mngr_int_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:89
max30001_mngr_int_reg_t::b_fit
uint32_t b_fit
Definition: max30001g_regs_typedefs.h:101
max30001_mngr_int_reg_t::reserved3
uint32_t reserved3
Definition: max30001g_regs_typedefs.h:99
max30001_mngr_int_reg_t::clr_samp
uint32_t clr_samp
Definition: max30001g_regs_typedefs.h:94
max30001_rtor_reg
R to R FIFO page 61.
Definition: max30001g_regs_typedefs.h:398
max30001_rtor_reg::reserved
uint32_t reserved
Definition: max30001g_regs_typedefs.h:402
max30001_rtor_reg::data
uint32_t data
Definition: max30001g_regs_typedefs.h:403
max30001_rtor_reg::bit
struct max30001_rtor_reg::@16 bit
max30001_rtor_reg::all
uint32_t all
Definition: max30001g_regs_typedefs.h:399
max30001_status_reg_t
STATUS (0x01) page 42.
Definition: max30001g_regs_typedefs.h:11
max30001_status_reg_t::ldoff_nh
uint32_t ldoff_nh
Definition: max30001g_regs_typedefs.h:17
max30001_status_reg_t::ldoff_nl
uint32_t ldoff_nl
Definition: max30001g_regs_typedefs.h:16
max30001_status_reg_t::pllint
uint32_t pllint
Definition: max30001g_regs_typedefs.h:26
max30001_status_reg_t::bint
uint32_t bint
Definition: max30001g_regs_typedefs.h:39
max30001_status_reg_t::bcgmn
uint32_t bcgmn
Definition: max30001g_regs_typedefs.h:21
max30001_status_reg_t::povf
uint32_t povf
Definition: max30001g_regs_typedefs.h:32
max30001_status_reg_t::reserved2
uint32_t reserved2
Definition: max30001g_regs_typedefs.h:24
max30001_status_reg_t::reserved6
uint32_t reserved6
Definition: max30001g_regs_typedefs.h:46
max30001_status_reg_t::bcgmp
uint32_t bcgmp
Definition: max30001g_regs_typedefs.h:22
max30001_status_reg_t::eovf
uint32_t eovf
Definition: max30001g_regs_typedefs.h:43
max30001_status_reg_t::reserved1
uint32_t reserved1
Definition: max30001g_regs_typedefs.h:23
max30001_status_reg_t::samp
uint32_t samp
Definition: max30001g_regs_typedefs.h:27
max30001_status_reg_t::bcgmon
uint32_t bcgmon
Definition: max30001g_regs_typedefs.h:34
max30001_status_reg_t::rrint
uint32_t rrint
Definition: max30001g_regs_typedefs.h:28
max30001_status_reg_t::print
uint32_t print
Definition: max30001g_regs_typedefs.h:33
max30001_status_reg_t::ldoff_pl
uint32_t ldoff_pl
Definition: max30001g_regs_typedefs.h:18
max30001_status_reg_t::bover
uint32_t bover
Definition: max30001g_regs_typedefs.h:37
max30001_status_reg_t::pedge
uint32_t pedge
Definition: max30001g_regs_typedefs.h:31
max30001_status_reg_t::eint
uint32_t eint
Definition: max30001g_regs_typedefs.h:44
max30001_status_reg_t::ldoff_ph
uint32_t ldoff_ph
Definition: max30001g_regs_typedefs.h:19
max30001_status_reg_t::fstint
uint32_t fstint
Definition: max30001g_regs_typedefs.h:42
max30001_status_reg_t::dcloffint
uint32_t dcloffint
Definition: max30001g_regs_typedefs.h:41
max30001_status_reg_t::bundr
uint32_t bundr
Definition: max30001g_regs_typedefs.h:36
max30001_status_reg_t::lonint
uint32_t lonint
Definition: max30001g_regs_typedefs.h:29
max30001_status_reg_t::bovf
uint32_t bovf
Definition: max30001g_regs_typedefs.h:38
max30001_status_reg_t::all
uint32_t all
Definition: max30001g_regs_typedefs.h:12