Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: max32630fthr Adafruit_FeatherOLED USBDevice
Interfaces/SensorComm/EcgComm/EcgComm_Defines.h
- Committer:
- gmehmet
- Date:
- 2019-04-10
- Revision:
- 1:f60eafbf009a
- Child:
- 3:2fe2ff1ca0dc
File content as of revision 1:f60eafbf009a:
#ifndef _ECGCOMM_DEFINES_H
#define _ECGCOMM_DEFINES_H
/// Initialization values for ECG_InitStart()
#define EN_ECG 0b1
#define OPENP 0b0
#define OPENN 0b0
#define POL 0b0
#define CALP_SEL 0b00
#define CALN_SEL 0b00
#define E_FIT 15
#define RATE 2
#define GAIN 0b00
#define DHPF 0b01
#define DLPF 0b01
// Default Initialization Parameters for RtoR_InitStart
#define EN_RTOR 0x01
#define WNDW 0x03
#define GAIN_RTOR 0x0F
#define PAVG 0x02
#define PTSF 0x03
#define HOFF 0x20
#define RAVG 0x02
#define RHSF 0x04
#define CLR_RRINT 0x01
// Optimal Initialization Parameters for RtoR_InitStart
#define EN_RTOR_OP 0x01
#define WNDW_OP 0x02
#define GAIN_RTOR_OP 0x06
#define PAVG_OP 0x01
#define PTSF_OP 0x06
#define HOFF_OP 0x1E
#define RAVG_OP 0x02
#define RHSF_OP 0x00
#define CLR_RRINT_OP 0x01
// Default Initialization Parameters for INT_assignment
#define EN_ENINT_LOC 0x01
#define EN_EOVF_LOC 0x00
#define EN_FSTINT_LOC 0x00
#define EN_DCLOFFINT_LOC 0x02
#define EN_BINT_LOC 0x01
#define EN_BOVF_LOC 0x00
#define EN_BOVER_LOC 0x02
#define EN_BUNDR_LOC 0x02
#define EN_BCGMON_LOC 0x00
#define EN_PINT_LOC 0x00
#define EN_POVF_LOC 0x00
#define EN_PEDGE_LOC 0x00
#define EN_LONINT_LOC 0x00
#define EN_RRINT_LOC 0x02
#define EN_SAMP_LOC 0x00
#define INTB_TYPE 0x03
#define INT2B_TYPE 0x03
#endif