You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

57 lines
2.3 KiB

#pragma once
#define VERSION 1
#define MANUFACTURER_NAME "iflytop"
/*******************************************************************************
* INCLUDE *
*******************************************************************************/
#include <stdbool.h>
#include "basic/ssd1306/driver_ssd1306_interface.h"
#include "znordic.h"
/*******************************************************************************
* basic *
*******************************************************************************/
void SingleLeadECG_adc_module_init();
void SingleLeadECG_adc_module_deinit();
/*******************************************************************************
* EEPROM *
*******************************************************************************/
/**
*
* PageSize 256byte
*
*/
#define EEPROM_PAGE 256
void SingleLeadECG_eeprom_init();
void SingleLeadECG_eeprom_uninit();
void SingleLeadECG_eeprom_write(uint32_t page, const uint8_t* data, uint16_t len);
void SingleLeadECG_eeprom_read(uint32_t add, uint8_t* data, uint16_t len);
/*******************************************************************************
* SCREEN *
*******************************************************************************/
void SingleLeadECG_screen_init();
void SingleLeadECG_screen_deinit();
#if 0
/*******************************************************************************
* LED *
*******************************************************************************/
void SingleLeadECG_led_init();
#endif
#if 0
/*******************************************************************************
* ECG *
*******************************************************************************/
/*******************************************************************************
* BATTERY *
*******************************************************************************/
#endif