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

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #pragma once
  2. #define VERSION 1
  3. #define MANUFACTURER_NAME "iflytop"
  4. /*******************************************************************************
  5. * INCLUDE *
  6. *******************************************************************************/
  7. #include <stdbool.h>
  8. #include "basic/ssd1306/driver_ssd1306_interface.h"
  9. #include "znordic.h"
  10. /*******************************************************************************
  11. * basic *
  12. *******************************************************************************/
  13. void SingleLeadECG_adc_module_init();
  14. void SingleLeadECG_adc_module_deinit();
  15. /*******************************************************************************
  16. * EEPROM *
  17. *******************************************************************************/
  18. /**
  19. *
  20. * PageSize 256byte
  21. *
  22. */
  23. #define EEPROM_PAGE 256
  24. void SingleLeadECG_eeprom_init();
  25. void SingleLeadECG_eeprom_uninit();
  26. void SingleLeadECG_eeprom_write(uint32_t page, const uint8_t* data, uint16_t len);
  27. void SingleLeadECG_eeprom_read(uint32_t add, uint8_t* data, uint16_t len);
  28. /*******************************************************************************
  29. * SCREEN *
  30. *******************************************************************************/
  31. void SingleLeadECG_screen_init();
  32. void SingleLeadECG_screen_deinit();
  33. #if 0
  34. /*******************************************************************************
  35. * LED *
  36. *******************************************************************************/
  37. void SingleLeadECG_led_init();
  38. #endif
  39. #if 0
  40. /*******************************************************************************
  41. * ECG *
  42. *******************************************************************************/
  43. /*******************************************************************************
  44. * BATTERY *
  45. *******************************************************************************/
  46. #endif