-
Notifications
You must be signed in to change notification settings - Fork 20
/
define.h
executable file
·35 lines (30 loc) · 943 Bytes
/
define.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef __DEFINE__
#define __DEFINE__
#include <stdint.h>
//const uint32_t SAMPLING_RATE = 1000;
const uint32_t SAMPLING_RATE = 360;
typedef struct
{
float value;
int32_t index;
}SignalPoint;
enum
{
NOTQRS, /* not-QRS (not a getann/putann code) */
NORMAL, /* normal beat */
LBBB, /* left bundle branch block beat */
RBBB, /* right bundle branch block beat */
ABERR, /* aberrated atrial premature beat */
PVC, /* premature ventricular contraction */
FUSION, /* fusion of ventricular and normal beat */
NPC, /* nodal (junctional) premature beat */
APC, /* atrial premature contraction */
SVPB, /* premature or ectopic supraventricular beat */
VESC, /* ventricular escape beat */
NESC, /* nodal (junctional) escape beat */
PACE, /* paced beat */
UNKNOWN, /* unclassifiable beat */
NOISE, /* signal quality change */
ARFCT /* isolated QRS-like artifact */
};
#endif