demoUI library for HearRate from Wrist Maxim Max3266x demo

Dependencies:   MemoryLCD

Dependents:   Host_Software_MAX32664GWEB_HR_wrist

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers whrmDemoUI.h Source File

whrmDemoUI.h

00001 /*
00002  * demoUI.h
00003  *
00004  *  Created on: Nov 29, 2018
00005  *      Author: Yagmur.Gok
00006  */
00007 
00008 #ifndef SOURCE_DEMOUI_WHRMDEMOUI_H_
00009 #define SOURCE_DEMOUI_WHRMDEMOUI_H_
00010 
00011 #include <events/mbed_events.h>
00012 #include <mbed.h>
00013 
00014 #include "screen/LS013B7DH03.h"
00015 
00016 enum{
00017     DISPLAY_WHRM       = 0,
00018     DISPLAY_REINITWHRM = 1
00019 };
00020 
00021 #define USE_DEMO_DISPDEV
00022 #if defined(USE_DEMO_DISPDEV)
00023 
00024 
00025     void demoUI_init();
00026     void demoUI_display_algo_estimations(int integer);
00027     void demoUI_display_set_algoMode(int algo);
00028     int demoUI_display_get_mode(void);
00029     void demoUI_display(int algoResult);
00030 
00031 
00032 
00033 #else
00034     void start_demo_display(void);
00035     void display_algo_estimations( uint8_t mode , int integer, int fraction);
00036     void setup_mode_button(void);
00037 
00038 #endif
00039 
00040 
00041 extern volatile uint8_t algoMode;
00042 
00043 
00044 
00045 #endif /* SOURCE_DEMOUI_WHRMDEMOUI_H_ */