ME11C Sample Code in Maxim Integrated Team
Dependencies: BMI160 max32630hsp3 MemoryLCD USBDevice
Fork of Host_Software_MAX32664GWEC_SpO2_HR-_EXTE by
main.cpp@0:b259fd1a88f5, 2019-03-18 (annotated)
- Committer:
- seyhmus.cacina
- Date:
- Mon Mar 18 14:09:48 2019 +0300
- Revision:
- 0:b259fd1a88f5
ME11C Sample Code First Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
seyhmus.cacina | 0:b259fd1a88f5 | 1 | /******************************************************************************* |
seyhmus.cacina | 0:b259fd1a88f5 | 2 | * Copyright (C) 2018 Maxim Integrated Products, Inc., All Rights Reserved. |
seyhmus.cacina | 0:b259fd1a88f5 | 3 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
seyhmus.cacina | 0:b259fd1a88f5 | 5 | * copy of this software and associated documentation files (the "Software"), |
seyhmus.cacina | 0:b259fd1a88f5 | 6 | * to deal in the Software without restriction, including without limitation |
seyhmus.cacina | 0:b259fd1a88f5 | 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
seyhmus.cacina | 0:b259fd1a88f5 | 8 | * and/or sell copies of the Software, and to permit persons to whom the |
seyhmus.cacina | 0:b259fd1a88f5 | 9 | * Software is furnished to do so, subject to the following conditions: |
seyhmus.cacina | 0:b259fd1a88f5 | 10 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 11 | * The above copyright notice and this permission notice shall be included |
seyhmus.cacina | 0:b259fd1a88f5 | 12 | * in all copies or substantial portions of the Software. |
seyhmus.cacina | 0:b259fd1a88f5 | 13 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
seyhmus.cacina | 0:b259fd1a88f5 | 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
seyhmus.cacina | 0:b259fd1a88f5 | 16 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
seyhmus.cacina | 0:b259fd1a88f5 | 17 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES |
seyhmus.cacina | 0:b259fd1a88f5 | 18 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
seyhmus.cacina | 0:b259fd1a88f5 | 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
seyhmus.cacina | 0:b259fd1a88f5 | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
seyhmus.cacina | 0:b259fd1a88f5 | 21 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 22 | * Except as contained in this notice, the name of Maxim Integrated |
seyhmus.cacina | 0:b259fd1a88f5 | 23 | * Products, Inc. shall not be used except as stated in the Maxim Integrated |
seyhmus.cacina | 0:b259fd1a88f5 | 24 | * Products, Inc. Branding Policy. |
seyhmus.cacina | 0:b259fd1a88f5 | 25 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 26 | * The mere transfer of this software does not imply any licenses |
seyhmus.cacina | 0:b259fd1a88f5 | 27 | * of trade secrets, proprietary technology, copyrights, patents, |
seyhmus.cacina | 0:b259fd1a88f5 | 28 | * trademarks, maskwork rights, or any other form of intellectual |
seyhmus.cacina | 0:b259fd1a88f5 | 29 | * property whatsoever. Maxim Integrated Products, Inc. retains all |
seyhmus.cacina | 0:b259fd1a88f5 | 30 | * ownership rights. |
seyhmus.cacina | 0:b259fd1a88f5 | 31 | ******************************************************************************* |
seyhmus.cacina | 0:b259fd1a88f5 | 32 | */ |
seyhmus.cacina | 0:b259fd1a88f5 | 33 | |
seyhmus.cacina | 0:b259fd1a88f5 | 34 | |
seyhmus.cacina | 0:b259fd1a88f5 | 35 | /********************************************************************************** |
seyhmus.cacina | 0:b259fd1a88f5 | 36 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 37 | * Desc: Example Code to get algorithm estimation results of Heart rate( HRM) and Blood |
seyhmus.cacina | 0:b259fd1a88f5 | 38 | * Oxygen (SPo2) form sensor hub and display it on screen. Example starts by monitoring heart rate |
seyhmus.cacina | 0:b259fd1a88f5 | 39 | * ans switches to blood oxygen monitoring via a button press (switch button) |
seyhmus.cacina | 0:b259fd1a88f5 | 40 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 41 | * Example, |
seyhmus.cacina | 0:b259fd1a88f5 | 42 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 43 | * 1. Initializes user interface |
seyhmus.cacina | 0:b259fd1a88f5 | 44 | * initialize display screen and switch button for algo selection. |
seyhmus.cacina | 0:b259fd1a88f5 | 45 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 46 | * 2. Initializes underlying hardware port for sensor hub communication: |
seyhmus.cacina | 0:b259fd1a88f5 | 47 | * setup i2c comm. inits reset pin and mfio event pin and connects interrupt to mfio pin. |
seyhmus.cacina | 0:b259fd1a88f5 | 48 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 49 | * 3. When switched to a minitoring mode |
seyhmus.cacina | 0:b259fd1a88f5 | 50 | * disables previous algorithm, clears mfio event |
seyhmus.cacina | 0:b259fd1a88f5 | 51 | * calls default init function for the sensor whose data is used by enabled algorithms. Algorithms are |
seyhmus.cacina | 0:b259fd1a88f5 | 52 | * registered under sesnor instance for this example. Fcunction |
seyhmus.cacina | 0:b259fd1a88f5 | 53 | * 1. initialize algorithm config struct enabled |
seyhmus.cacina | 0:b259fd1a88f5 | 54 | * 2. enable data type to both raw sensor and algorithm data |
seyhmus.cacina | 0:b259fd1a88f5 | 55 | * 3. get input fifo size to learn fifo capacity |
seyhmus.cacina | 0:b259fd1a88f5 | 56 | * 4. set fifo threshold for mfio event frequency |
seyhmus.cacina | 0:b259fd1a88f5 | 57 | * 5. reaenable sensor to acquire ppg data |
seyhmus.cacina | 0:b259fd1a88f5 | 58 | * 6. enable accompanying accel sensor |
seyhmus.cacina | 0:b259fd1a88f5 | 59 | * 7. enable switched algorithm |
seyhmus.cacina | 0:b259fd1a88f5 | 60 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 61 | * 4. Sensor Hub now starts to write raw sensor/algorithm data to its data report FIFO which |
seyhmus.cacina | 0:b259fd1a88f5 | 62 | * reports mfio event when data size determined by fifo threshold is written to report fifo. |
seyhmus.cacina | 0:b259fd1a88f5 | 63 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 64 | * 5. Example calls SH_Max8614x_data_report_execute() which |
seyhmus.cacina | 0:b259fd1a88f5 | 65 | * 1. calls SH API's sh_ss_execute_once() function which: |
seyhmus.cacina | 0:b259fd1a88f5 | 66 | * writes sensor hub's report fifo content (sensor/algorithm data samples) to a buffer(1). |
seyhmus.cacina | 0:b259fd1a88f5 | 67 | * 2. calls CSTMR_SH_FeedAccDataIntoSH() to send accelerometer data to sensor hub which os required for heart rate |
seyhmus.cacina | 0:b259fd1a88f5 | 68 | * Note: SPo2 requires stablity so do not move/shake senor when taking SPo2 data. |
seyhmus.cacina | 0:b259fd1a88f5 | 69 | * 3. Parses buffer(1) data to extract numeric sensor and algorithm samples according to enabled algorithms. |
seyhmus.cacina | 0:b259fd1a88f5 | 70 | * look: whrm_data_rx() , wspo2_data_rx() , max8614x_data_rx() and sample structs whrm_mode1_data, wspo2_mode1_data and max8614x_mode1_data |
seyhmus.cacina | 0:b259fd1a88f5 | 71 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 72 | * 6. numeric values are written to HrmResult, SPO2Result ... within MAX8614x whrm_data_rx() ... and included as extern in main.cpp |
seyhmus.cacina | 0:b259fd1a88f5 | 73 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 74 | * 7. Example calls demoUI_display_algo_estimations() to display result on watch screen |
seyhmus.cacina | 0:b259fd1a88f5 | 75 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 76 | * |
seyhmus.cacina | 0:b259fd1a88f5 | 77 | ***********************************************************************************/ |
seyhmus.cacina | 0:b259fd1a88f5 | 78 | |
seyhmus.cacina | 0:b259fd1a88f5 | 79 | #include <events/mbed_events.h> |
seyhmus.cacina | 0:b259fd1a88f5 | 80 | #include <mbed.h> |
seyhmus.cacina | 0:b259fd1a88f5 | 81 | #include "max32630hsp.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 82 | #include "SHComm.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 83 | #include "SH_Max8614x_BareMetal.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 84 | #include "bmi160.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 85 | #include "cmdInterface.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 86 | #include "demoUI.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 87 | #include "demoDefinitions.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 88 | |
seyhmus.cacina | 0:b259fd1a88f5 | 89 | extern uint16_t HrmResult; |
seyhmus.cacina | 0:b259fd1a88f5 | 90 | extern uint16_t SPO2Result; |
seyhmus.cacina | 0:b259fd1a88f5 | 91 | extern uint8_t HrmConfidence; |
seyhmus.cacina | 0:b259fd1a88f5 | 92 | extern uint8_t SPo2Confidence; |
seyhmus.cacina | 0:b259fd1a88f5 | 93 | |
seyhmus.cacina | 0:b259fd1a88f5 | 94 | DigitalOut debugled(LED1, 1); |
seyhmus.cacina | 0:b259fd1a88f5 | 95 | // Hardware serial port over DAPLink |
seyhmus.cacina | 0:b259fd1a88f5 | 96 | Serial daplink(USBTX, USBRX, 115200); |
seyhmus.cacina | 0:b259fd1a88f5 | 97 | |
seyhmus.cacina | 0:b259fd1a88f5 | 98 | #include "USBSerial.h" |
seyhmus.cacina | 0:b259fd1a88f5 | 99 | USBSerial microUSB(0x1f00, 0x2012, 0x0001, false); |
seyhmus.cacina | 0:b259fd1a88f5 | 100 | |
seyhmus.cacina | 0:b259fd1a88f5 | 101 | |
seyhmus.cacina | 0:b259fd1a88f5 | 102 | |
seyhmus.cacina | 0:b259fd1a88f5 | 103 | // ICARUS Board initialization |
seyhmus.cacina | 0:b259fd1a88f5 | 104 | InterruptIn interruptIn_PowerButton(P7_6); |
seyhmus.cacina | 0:b259fd1a88f5 | 105 | MAX32630HSP icarus(MAX32630HSP::VIO_1V8, &interruptIn_PowerButton); |
seyhmus.cacina | 0:b259fd1a88f5 | 106 | |
seyhmus.cacina | 0:b259fd1a88f5 | 107 | #define WAIT_SENSORHUB_STABLE_BOOTUP_MS ((uint32_t)2000) |
seyhmus.cacina | 0:b259fd1a88f5 | 108 | |
seyhmus.cacina | 0:b259fd1a88f5 | 109 | |
seyhmus.cacina | 0:b259fd1a88f5 | 110 | static bool isWhrmInitialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 111 | static bool isSpo2Initialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 112 | static bool isContSpo2Initialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 113 | |
seyhmus.cacina | 0:b259fd1a88f5 | 114 | static const int SPO2SINGLESHOTMODE = 1; |
seyhmus.cacina | 0:b259fd1a88f5 | 115 | static const int SPO2CONTINIOUSMODE = 0; |
seyhmus.cacina | 0:b259fd1a88f5 | 116 | |
seyhmus.cacina | 0:b259fd1a88f5 | 117 | int main() { |
seyhmus.cacina | 0:b259fd1a88f5 | 118 | |
seyhmus.cacina | 0:b259fd1a88f5 | 119 | wait_ms(WAIT_SENSORHUB_STABLE_BOOTUP_MS); |
seyhmus.cacina | 0:b259fd1a88f5 | 120 | //demoUI_display_set_algoMode(kAlgoModeHeartRate); |
seyhmus.cacina | 0:b259fd1a88f5 | 121 | int hostMode = HOSTMODEAPPLICATION; |
seyhmus.cacina | 0:b259fd1a88f5 | 122 | |
seyhmus.cacina | 0:b259fd1a88f5 | 123 | demoUI_init(); |
seyhmus.cacina | 0:b259fd1a88f5 | 124 | |
seyhmus.cacina | 0:b259fd1a88f5 | 125 | sh_init_hwcomm_interface(); |
seyhmus.cacina | 0:b259fd1a88f5 | 126 | sh_disable_irq_mfioevent(); |
seyhmus.cacina | 0:b259fd1a88f5 | 127 | sh_clear_mfio_event_flag(); |
seyhmus.cacina | 0:b259fd1a88f5 | 128 | sh_enable_irq_mfioevent(); |
seyhmus.cacina | 0:b259fd1a88f5 | 129 | int i = 0; |
seyhmus.cacina | 0:b259fd1a88f5 | 130 | |
seyhmus.cacina | 0:b259fd1a88f5 | 131 | int displayMode; |
seyhmus.cacina | 0:b259fd1a88f5 | 132 | uint16_t resultToDisplay; |
seyhmus.cacina | 0:b259fd1a88f5 | 133 | uint8_t confidenceToDisplay; |
seyhmus.cacina | 0:b259fd1a88f5 | 134 | |
seyhmus.cacina | 0:b259fd1a88f5 | 135 | while(1) { |
seyhmus.cacina | 0:b259fd1a88f5 | 136 | |
seyhmus.cacina | 0:b259fd1a88f5 | 137 | |
seyhmus.cacina | 0:b259fd1a88f5 | 138 | //USBSerial *serial = µUSB; |
seyhmus.cacina | 0:b259fd1a88f5 | 139 | char ch; |
seyhmus.cacina | 0:b259fd1a88f5 | 140 | while ( SERIAL_AVAILABLE()/*daplink.readable()*/) { |
seyhmus.cacina | 0:b259fd1a88f5 | 141 | //ch = daplink.getc(); |
seyhmus.cacina | 0:b259fd1a88f5 | 142 | //printf("%c " , ch ); |
seyhmus.cacina | 0:b259fd1a88f5 | 143 | //ch = microUSB._getc(); |
seyhmus.cacina | 0:b259fd1a88f5 | 144 | ch = SERIALIN(); |
seyhmus.cacina | 0:b259fd1a88f5 | 145 | cmdIntf_build_command(ch); |
seyhmus.cacina | 0:b259fd1a88f5 | 146 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 147 | |
seyhmus.cacina | 0:b259fd1a88f5 | 148 | hostMode = get_internal_operating_mode(); |
seyhmus.cacina | 0:b259fd1a88f5 | 149 | if( hostMode == HOSTMODEAPPLICATION) { |
seyhmus.cacina | 0:b259fd1a88f5 | 150 | |
seyhmus.cacina | 0:b259fd1a88f5 | 151 | displayMode = demoUI_display_get_mode(); |
seyhmus.cacina | 0:b259fd1a88f5 | 152 | |
seyhmus.cacina | 0:b259fd1a88f5 | 153 | if( displayMode == kAlgoModeHeartRate ){ |
seyhmus.cacina | 0:b259fd1a88f5 | 154 | if( !isWhrmInitialized){ |
seyhmus.cacina | 0:b259fd1a88f5 | 155 | #if defined(DEBUG_INFO) |
seyhmus.cacina | 0:b259fd1a88f5 | 156 | SERIALOUT(" WHRM inititalized \r\n"); |
seyhmus.cacina | 0:b259fd1a88f5 | 157 | #endif |
seyhmus.cacina | 0:b259fd1a88f5 | 158 | SH_Max8614x_stop(); |
seyhmus.cacina | 0:b259fd1a88f5 | 159 | SH_Max8614x_default_init(kAlgoModeHeartRate); |
seyhmus.cacina | 0:b259fd1a88f5 | 160 | isWhrmInitialized = true; |
seyhmus.cacina | 0:b259fd1a88f5 | 161 | isSpo2Initialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 162 | isContSpo2Initialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 163 | wait_ms(1000); /* for display screen*/ |
seyhmus.cacina | 0:b259fd1a88f5 | 164 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 165 | resultToDisplay = HrmResult; |
seyhmus.cacina | 0:b259fd1a88f5 | 166 | confidenceToDisplay = HrmConfidence; |
seyhmus.cacina | 0:b259fd1a88f5 | 167 | |
seyhmus.cacina | 0:b259fd1a88f5 | 168 | }else if( displayMode == kAlgoModeSPO2 ){ |
seyhmus.cacina | 0:b259fd1a88f5 | 169 | if( !isSpo2Initialized){ |
seyhmus.cacina | 0:b259fd1a88f5 | 170 | #if defined(DEBUG_INFO) |
seyhmus.cacina | 0:b259fd1a88f5 | 171 | SERIALOUT(" WSPo2 inititalized \r\n"); |
seyhmus.cacina | 0:b259fd1a88f5 | 172 | #endif |
seyhmus.cacina | 0:b259fd1a88f5 | 173 | SH_Max8614x_stop(); |
seyhmus.cacina | 0:b259fd1a88f5 | 174 | Max8614x_Set_WSPO2Mode(SPO2SINGLESHOTMODE); |
seyhmus.cacina | 0:b259fd1a88f5 | 175 | SH_Max8614x_default_init(kAlgoModeSPO2); |
seyhmus.cacina | 0:b259fd1a88f5 | 176 | isWhrmInitialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 177 | isSpo2Initialized = true; |
seyhmus.cacina | 0:b259fd1a88f5 | 178 | isContSpo2Initialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 179 | wait_ms(1000); /* for display screen*/ |
seyhmus.cacina | 0:b259fd1a88f5 | 180 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 181 | resultToDisplay = SPO2Result; |
seyhmus.cacina | 0:b259fd1a88f5 | 182 | confidenceToDisplay = SPo2Confidence; |
seyhmus.cacina | 0:b259fd1a88f5 | 183 | |
seyhmus.cacina | 0:b259fd1a88f5 | 184 | }else if( displayMode == kAlgoModeContSPO2 ){ |
seyhmus.cacina | 0:b259fd1a88f5 | 185 | |
seyhmus.cacina | 0:b259fd1a88f5 | 186 | if( !isContSpo2Initialized){ |
seyhmus.cacina | 0:b259fd1a88f5 | 187 | #if defined(DEBUG_INFO) |
seyhmus.cacina | 0:b259fd1a88f5 | 188 | SERIALOUT(" Continious WSPo2 inititalized \r\n"); |
seyhmus.cacina | 0:b259fd1a88f5 | 189 | #endif |
seyhmus.cacina | 0:b259fd1a88f5 | 190 | SH_Max8614x_stop(); |
seyhmus.cacina | 0:b259fd1a88f5 | 191 | Max8614x_Set_WSPO2Mode(SPO2CONTINIOUSMODE); |
seyhmus.cacina | 0:b259fd1a88f5 | 192 | SH_Max8614x_default_init(kAlgoModeSPO2); |
seyhmus.cacina | 0:b259fd1a88f5 | 193 | isWhrmInitialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 194 | isSpo2Initialized = false; |
seyhmus.cacina | 0:b259fd1a88f5 | 195 | isContSpo2Initialized = true; |
seyhmus.cacina | 0:b259fd1a88f5 | 196 | wait_ms(1000); /* for display screen*/ |
seyhmus.cacina | 0:b259fd1a88f5 | 197 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 198 | resultToDisplay = SPO2Result; |
seyhmus.cacina | 0:b259fd1a88f5 | 199 | confidenceToDisplay = SPo2Confidence; |
seyhmus.cacina | 0:b259fd1a88f5 | 200 | |
seyhmus.cacina | 0:b259fd1a88f5 | 201 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 202 | |
seyhmus.cacina | 0:b259fd1a88f5 | 203 | int cumSampleCNt = SH_Max8614x_data_report_execute(); |
seyhmus.cacina | 0:b259fd1a88f5 | 204 | |
seyhmus.cacina | 0:b259fd1a88f5 | 205 | if(cumSampleCNt){ /* If data samples ara avaliable display on screen*/ |
seyhmus.cacina | 0:b259fd1a88f5 | 206 | #if defined(DEBUG_INFO) |
seyhmus.cacina | 0:b259fd1a88f5 | 207 | //SERIALOUT("estimate: =%d conf: %d dispMode: %d \r\n", resultToDisplay , confidenceToDisplay, displayMode); |
seyhmus.cacina | 0:b259fd1a88f5 | 208 | #endif |
seyhmus.cacina | 0:b259fd1a88f5 | 209 | if( displayMode == kAlgoModeContSPO2 ) |
seyhmus.cacina | 0:b259fd1a88f5 | 210 | demoUI_display_algo_estimations(resultToDisplay, SPo2Confidence ); /*In continious SPO2 mode display confidence on screen so user can validate result */ |
seyhmus.cacina | 0:b259fd1a88f5 | 211 | if( displayMode == kAlgoModeSPO2 ) |
seyhmus.cacina | 0:b259fd1a88f5 | 212 | demoUI_display_algo_estimations(resultToDisplay, -1); |
seyhmus.cacina | 0:b259fd1a88f5 | 213 | if( displayMode == kAlgoModeHeartRate) |
seyhmus.cacina | 0:b259fd1a88f5 | 214 | demoUI_display_algo_estimations(resultToDisplay, -1); |
seyhmus.cacina | 0:b259fd1a88f5 | 215 | //printf(" Display Mode : %d \r\n", displayMode ); |
seyhmus.cacina | 0:b259fd1a88f5 | 216 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 217 | |
seyhmus.cacina | 0:b259fd1a88f5 | 218 | |
seyhmus.cacina | 0:b259fd1a88f5 | 219 | }else { |
seyhmus.cacina | 0:b259fd1a88f5 | 220 | |
seyhmus.cacina | 0:b259fd1a88f5 | 221 | demoUI_display_bootldr_screen(); |
seyhmus.cacina | 0:b259fd1a88f5 | 222 | //wait_ms(10); |
seyhmus.cacina | 0:b259fd1a88f5 | 223 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 224 | |
seyhmus.cacina | 0:b259fd1a88f5 | 225 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 226 | |
seyhmus.cacina | 0:b259fd1a88f5 | 227 | |
seyhmus.cacina | 0:b259fd1a88f5 | 228 | } |
seyhmus.cacina | 0:b259fd1a88f5 | 229 |