// General config register setting MAX30003::GeneralConfiguration_u CNFG_GEN_r; CNFG_GEN_r.bits.en_ecg = 1; // Enable ECG channel CNFG_GEN_r.bits.rbiasn = 1; // Enable resistive bias on negative input CNFG_GEN_r.bits.rbiasp = 1; // Enable resistive bias on positive input CNFG_GEN_r.bits.en_rbias = 1; // Enable resistive bias CNFG_GEN_r.bits.imag = 2; // Current magnitude = 10nA CNFG_GEN_r.bits.en_dcloff = 1; // Enable DC lead-off detection ecgAFE.writeRegister( MAX30003::CNFG_GEN , CNFG_GEN_r.all);
Dependencies: MAX30003 max32630fthr
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:ad4aac7e10e4 | 2021-05-06 | kidecha_rahul | Thread_Test; |
7:cf0855a0450a | 2017-12-14 | johnGreeneMaxim | Added a debug LED to turn on when FIFO overflow happens ; |
6:86ac850c718d | 2017-08-29 | coreyharris | updated comments, added ECG FIFO bitmasks and EINT interrupt bitmask |
5:f8d1f651bef5 | 2017-08-28 | coreyharris | update the FIFO interrupt flag |
4:06e258ff0b97 | 2017-08-28 | coreyharris | Plot demo final, updated comments, var names |
3:420d5efbd967 | 2017-08-22 | coreyharris | Comments, formatting, constants (done after code review).; ; Still to-do:; - BPM and RtoR reading/constants |
2:812d40f1853d | 2017-08-18 | coreyharris | Read status register to determine the interrupt. Attempt to get R-to-R working, but no-go. The program works however, and prints ECG FIFO data; |
1:86843c27cc81 | 2017-08-17 | coreyharris | Updated demo to include ETAG monitoring; |
0:38c49bc37c7c | 2017-08-16 | coreyharris | Stable demo for MAX30003, need to add ETAG monitoring if possible |