ecg4 2.0.0.0

Topics

 MikroBUS
 
 Error Code
 
 Driver define
 

Macros

#define ECG4_SYNC_BYTE   0xAA
 
#define ECG4_EXCODE_BYTE   0x55
 
#define ECG4_SIGNAL_QUALITY_CODE_BYTE   0x02
 
#define ECG4_HEART_RATE_CODE_BYTE   0x03
 
#define ECG4_RAW_DATA_CODE_BYTE   0x80
 
#define ECG4_RESPONSE_READY   0x01
 
#define ECG4_RESPONSE_NOT_READY   0x00
 
#define ECG4_ENABLE_LDO_CTRL   0x01
 
#define ECG4_DISABLE_LDO_CTRL   0x00
 

Detailed Description

Any initialization code needed for MCU to function properly. Do not remove this line or clock might not be set correctly.

Macro Definition Documentation

◆ ECG4_DISABLE_LDO_CTRL

#define ECG4_DISABLE_LDO_CTRL   0x00

◆ ECG4_ENABLE_LDO_CTRL

#define ECG4_ENABLE_LDO_CTRL   0x01

◆ ECG4_EXCODE_BYTE

#define ECG4_EXCODE_BYTE   0x55

◆ ECG4_HEART_RATE_CODE_BYTE

#define ECG4_HEART_RATE_CODE_BYTE   0x03

◆ ECG4_RAW_DATA_CODE_BYTE

#define ECG4_RAW_DATA_CODE_BYTE   0x80

◆ ECG4_RESPONSE_NOT_READY

#define ECG4_RESPONSE_NOT_READY   0x00

◆ ECG4_RESPONSE_READY

#define ECG4_RESPONSE_READY   0x01

◆ ECG4_SIGNAL_QUALITY_CODE_BYTE

#define ECG4_SIGNAL_QUALITY_CODE_BYTE   0x02

◆ ECG4_SYNC_BYTE

#define ECG4_SYNC_BYTE   0xAA