BioSignalPi
v2
|
Responsible for communication with ADAS. More...
#include <ecgcapture.h>
Public Types | |
enum | OperatingMode { ecgCapture, testToneSquare, testToneLowFreqSin, testToneHighFreqSin } |
enum | Frequency { lowFreq, midFreq, highFreq } |
enum | leadFormat { digital, electrode } |
Public Member Functions | |
EcgCapture () | |
void | init (OperatingMode, Frequency) |
Initiate the device by configuring the registers depending on operating mode and sampling frequency. More... | |
void | start () |
Start capturing frames from the ADAS1000. More... | |
void | stop () |
stop capture More... | |
void | testDevice () |
Method used to test if the device is working properly. More... | |
const QVector< double > | readFrame () |
Reads a single frame. More... | |
Responsible for communication with ADAS.
EcgCapture is the main class responsible for communication with the ADAS1000. It uses the BCM2835.h library for access to the GPIO pins of RPI
Definition at line 24 of file ecgcapture.h.