Use the MAXREFDES99 to display the time from a DS3231 RTC. Requires the DS3231 RTC, or a MAXREFDES72 which has the rtc on it.

Dependencies:   MAX7219 ds3231 mbed

Committer:
j3
Date:
Tue May 31 22:32:53 2016 +0000
Revision:
1:ce6a3accca77
Parent:
0:52f9ecc09233
Updated libraries

Who changed what in which revision?

UserRevisionLine numberNew contents of line
j3 0:52f9ecc09233 1 /******************************************************************//**
j3 0:52f9ecc09233 2 * @file maxrefdes99.h
j3 0:52f9ecc09233 3 * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
j3 0:52f9ecc09233 4 *
j3 0:52f9ecc09233 5 * Permission is hereby granted, free of charge, to any person obtaining a
j3 0:52f9ecc09233 6 * copy of this software and associated documentation files (the "Software"),
j3 0:52f9ecc09233 7 * to deal in the Software without restriction, including without limitation
j3 0:52f9ecc09233 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
j3 0:52f9ecc09233 9 * and/or sell copies of the Software, and to permit persons to whom the
j3 0:52f9ecc09233 10 * Software is furnished to do so, subject to the following conditions:
j3 0:52f9ecc09233 11 *
j3 0:52f9ecc09233 12 * The above copyright notice and this permission notice shall be included
j3 0:52f9ecc09233 13 * in all copies or substantial portions of the Software.
j3 0:52f9ecc09233 14 *
j3 0:52f9ecc09233 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
j3 0:52f9ecc09233 16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
j3 0:52f9ecc09233 17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
j3 0:52f9ecc09233 18 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
j3 0:52f9ecc09233 19 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
j3 0:52f9ecc09233 20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
j3 0:52f9ecc09233 21 * OTHER DEALINGS IN THE SOFTWARE.
j3 0:52f9ecc09233 22 *
j3 0:52f9ecc09233 23 * Except as contained in this notice, the name of Maxim Integrated
j3 0:52f9ecc09233 24 * Products, Inc. shall not be used except as stated in the Maxim Integrated
j3 0:52f9ecc09233 25 * Products, Inc. Branding Policy.
j3 0:52f9ecc09233 26 *
j3 0:52f9ecc09233 27 * The mere transfer of this software does not imply any licenses
j3 0:52f9ecc09233 28 * of trade secrets, proprietary technology, copyrights, patents,
j3 0:52f9ecc09233 29 * trademarks, maskwork rights, or any other form of intellectual
j3 0:52f9ecc09233 30 * property whatsoever. Maxim Integrated Products, Inc. retains all
j3 0:52f9ecc09233 31 * ownership rights.
j3 0:52f9ecc09233 32 **********************************************************************/
j3 0:52f9ecc09233 33
j3 0:52f9ecc09233 34 #ifndef MAXREFDES99_H
j3 0:52f9ecc09233 35 #define MAXREFDES99_H
j3 0:52f9ecc09233 36
j3 0:52f9ecc09233 37
j3 0:52f9ecc09233 38 #include "mbed.h"
j3 0:52f9ecc09233 39 #include "max7219.h"
j3 0:52f9ecc09233 40
j3 0:52f9ecc09233 41
j3 0:52f9ecc09233 42 /**********************************************************//**
j3 1:ce6a3accca77 43 * @brief Gets character bitmap fom memory
j3 0:52f9ecc09233 44 *
j3 0:52f9ecc09233 45 * @details
j3 0:52f9ecc09233 46 *
j3 0:52f9ecc09233 47 * On Entry:
j3 0:52f9ecc09233 48 * @param[in] c - character to get bitmap for
j3 0:52f9ecc09233 49 * @param[in] char_buff - pointer to buffer to store bitmap in
j3 0:52f9ecc09233 50 * must be at least 6 bytes
j3 0:52f9ecc09233 51 *
j3 0:52f9ecc09233 52 * On Exit:
j3 1:ce6a3accca77 53 * @return None
j3 0:52f9ecc09233 54 **************************************************************/
j3 0:52f9ecc09233 55 void get_5x7_character(char c, uint8_t *char_buff);
j3 0:52f9ecc09233 56
j3 0:52f9ecc09233 57
j3 0:52f9ecc09233 58 /**********************************************************//**
j3 1:ce6a3accca77 59 * @brief Prints character to MAXREFDES99 at given position
j3 0:52f9ecc09233 60 *
j3 0:52f9ecc09233 61 * @details
j3 0:52f9ecc09233 62 *
j3 0:52f9ecc09233 63 * On Entry:
j3 0:52f9ecc09233 64 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 65 * @param[in] position - position to print char to
j3 0:52f9ecc09233 66 * posiion 1 is top left column, position 32
j3 0:52f9ecc09233 67 * is bottom right column
j3 0:52f9ecc09233 68 * @param[in] c - char to print
j3 0:52f9ecc09233 69 *
j3 0:52f9ecc09233 70 * On Exit:
j3 1:ce6a3accca77 71 * @return None
j3 0:52f9ecc09233 72 **************************************************************/
j3 0:52f9ecc09233 73 void print_char(Max7219 *p_display, uint8_t position, char c);
j3 0:52f9ecc09233 74
j3 0:52f9ecc09233 75
j3 0:52f9ecc09233 76 /**********************************************************//**
j3 1:ce6a3accca77 77 * @brief Prints given string to MAXREFDES99 at given position
j3 0:52f9ecc09233 78 *
j3 0:52f9ecc09233 79 * @details
j3 0:52f9ecc09233 80 *
j3 0:52f9ecc09233 81 * On Entry:
j3 0:52f9ecc09233 82 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 83 * @param[in] position - position to print char to
j3 0:52f9ecc09233 84 * posiion 1 is top left column, position 32
j3 0:52f9ecc09233 85 * is bottom right column
j3 0:52f9ecc09233 86 * @param[in] s - pointer to string to print
j3 0:52f9ecc09233 87 *
j3 0:52f9ecc09233 88 * On Exit:
j3 1:ce6a3accca77 89 * @return None
j3 0:52f9ecc09233 90 **************************************************************/
j3 0:52f9ecc09233 91 void print_string(Max7219 *p_display, uint8_t position, const char *s);
j3 0:52f9ecc09233 92
j3 0:52f9ecc09233 93
j3 0:52f9ecc09233 94 /**********************************************************//**
j3 1:ce6a3accca77 95 * @brief Shifts display right 'count' positions with given
j3 0:52f9ecc09233 96 * delay between shifts
j3 0:52f9ecc09233 97 *
j3 0:52f9ecc09233 98 * @details
j3 0:52f9ecc09233 99 *
j3 0:52f9ecc09233 100 * On Entry:
j3 0:52f9ecc09233 101 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 102 * @param[in] count - number of positions to shift
j3 0:52f9ecc09233 103 * @param[in] delay - delay between shifts
j3 0:52f9ecc09233 104 *
j3 0:52f9ecc09233 105 * On Exit:
j3 1:ce6a3accca77 106 * @return None
j3 0:52f9ecc09233 107 **************************************************************/
j3 0:52f9ecc09233 108 void shift_display_right(Max7219 *p_display, uint8_t count, uint8_t delay);
j3 0:52f9ecc09233 109
j3 0:52f9ecc09233 110
j3 0:52f9ecc09233 111 /**********************************************************//**
j3 1:ce6a3accca77 112 * @brief Shifts display left 'count' positions with given
j3 0:52f9ecc09233 113 * delay between shifts
j3 0:52f9ecc09233 114 *
j3 0:52f9ecc09233 115 * @details
j3 0:52f9ecc09233 116 *
j3 0:52f9ecc09233 117 * On Entry:
j3 0:52f9ecc09233 118 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 119 * @param[in] count - number of positions to shift
j3 0:52f9ecc09233 120 * @param[in] delay - delay between shifts
j3 0:52f9ecc09233 121 *
j3 0:52f9ecc09233 122 * On Exit:
j3 1:ce6a3accca77 123 * @return None
j3 0:52f9ecc09233 124 **************************************************************/
j3 0:52f9ecc09233 125 void shift_display_left(Max7219 *p_display, uint8_t count, uint8_t delay);
j3 0:52f9ecc09233 126
j3 0:52f9ecc09233 127
j3 0:52f9ecc09233 128 /**********************************************************//**
j3 1:ce6a3accca77 129 * @brief Turns on all leds for given quadrant, with quad 1 being
j3 0:52f9ecc09233 130 * top left and quad 4 being bottom right
j3 0:52f9ecc09233 131 *
j3 0:52f9ecc09233 132 * @details
j3 0:52f9ecc09233 133 *
j3 0:52f9ecc09233 134 * On Entry:
j3 0:52f9ecc09233 135 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 136 * @param[in] quad - see brief
j3 0:52f9ecc09233 137 *
j3 0:52f9ecc09233 138 * On Exit:
j3 1:ce6a3accca77 139 * @return None
j3 0:52f9ecc09233 140 **************************************************************/
j3 0:52f9ecc09233 141 void quad_all_on(Max7219 *p_display, uint8_t quad);
j3 0:52f9ecc09233 142
j3 0:52f9ecc09233 143
j3 0:52f9ecc09233 144 /**********************************************************//**
j3 1:ce6a3accca77 145 * @brief Turns off all leds for given quadrant, with quad 1 being
j3 0:52f9ecc09233 146 * top left and quad 4 being bottom right
j3 0:52f9ecc09233 147 *
j3 0:52f9ecc09233 148 * @details
j3 0:52f9ecc09233 149 *
j3 0:52f9ecc09233 150 * On Entry:
j3 0:52f9ecc09233 151 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 152 * @param[in] quad - see brief
j3 0:52f9ecc09233 153 *
j3 0:52f9ecc09233 154 * On Exit:
j3 1:ce6a3accca77 155 * @return None
j3 0:52f9ecc09233 156 **************************************************************/
j3 0:52f9ecc09233 157 void quad_all_off(Max7219 *p_display, uint8_t quad);
j3 0:52f9ecc09233 158
j3 0:52f9ecc09233 159
j3 0:52f9ecc09233 160 /**********************************************************//**
j3 1:ce6a3accca77 161 * @brief Turns all leds for whole display on
j3 0:52f9ecc09233 162 *
j3 0:52f9ecc09233 163 * @details
j3 0:52f9ecc09233 164 *
j3 0:52f9ecc09233 165 * On Entry:
j3 0:52f9ecc09233 166 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 167 *
j3 0:52f9ecc09233 168 * On Exit:
j3 1:ce6a3accca77 169 * @return None
j3 0:52f9ecc09233 170 **************************************************************/
j3 0:52f9ecc09233 171 void all_on(Max7219 *p_display);
j3 0:52f9ecc09233 172
j3 0:52f9ecc09233 173
j3 0:52f9ecc09233 174 /**********************************************************//**
j3 1:ce6a3accca77 175 * @brief Turns all leds for whole display off
j3 0:52f9ecc09233 176 *
j3 0:52f9ecc09233 177 * @details
j3 0:52f9ecc09233 178 *
j3 0:52f9ecc09233 179 * On Entry:
j3 0:52f9ecc09233 180 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 181 *
j3 0:52f9ecc09233 182 * On Exit:
j3 1:ce6a3accca77 183 * @return None
j3 0:52f9ecc09233 184 **************************************************************/
j3 0:52f9ecc09233 185 void all_off(Max7219 *p_display);
j3 0:52f9ecc09233 186
j3 0:52f9ecc09233 187
j3 0:52f9ecc09233 188 /**********************************************************//**
j3 1:ce6a3accca77 189 * @brief Demo loop for MAXREFDES99
j3 0:52f9ecc09233 190 *
j3 0:52f9ecc09233 191 * @details
j3 0:52f9ecc09233 192 *
j3 0:52f9ecc09233 193 * On Entry:
j3 0:52f9ecc09233 194 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 195 * @param[in] display_config - structure holding configuration data
j3 0:52f9ecc09233 196 * @param[in] endless_loop - if true run demo in endless loop
j3 0:52f9ecc09233 197 *
j3 0:52f9ecc09233 198 * On Exit:
j3 1:ce6a3accca77 199 * @return None
j3 0:52f9ecc09233 200 **************************************************************/
j3 0:52f9ecc09233 201 void demo(Max7219 *display, max7219_configuration_t display_config, bool endless_loop);
j3 0:52f9ecc09233 202
j3 0:52f9ecc09233 203
j3 0:52f9ecc09233 204 /**********************************************************//**
j3 1:ce6a3accca77 205 * @brief Shift display in given direction forever
j3 0:52f9ecc09233 206 *
j3 0:52f9ecc09233 207 * @details
j3 0:52f9ecc09233 208 *
j3 0:52f9ecc09233 209 * On Entry:
j3 0:52f9ecc09233 210 * @param[in] p_display - pointer to Max7219 object
j3 0:52f9ecc09233 211 * @param[in] scroll_right - if true shift right, else shift left
j3 0:52f9ecc09233 212 *
j3 0:52f9ecc09233 213 * On Exit:
j3 1:ce6a3accca77 214 * @return None
j3 0:52f9ecc09233 215 **************************************************************/
j3 0:52f9ecc09233 216 void endless_scroll_display(Max7219 *display, uint32_t scroll_right);
j3 0:52f9ecc09233 217
j3 1:ce6a3accca77 218 /**********************************************************//**
j3 1:ce6a3accca77 219 * @brief Gets 16x16 character bitmap fom memory
j3 1:ce6a3accca77 220 *
j3 1:ce6a3accca77 221 * @details
j3 1:ce6a3accca77 222 *
j3 1:ce6a3accca77 223 * On Entry:
j3 1:ce6a3accca77 224 * @param[in] c - character to get bitmap for
j3 1:ce6a3accca77 225 * @param[in] char_buff - pointer to buffer to store bitmap
j3 1:ce6a3accca77 226 * Buffer should be 32 bytes
j3 1:ce6a3accca77 227 * @param[in] font_type - 16x16 font type used for display
j3 1:ce6a3accca77 228 * On Exit:
j3 1:ce6a3accca77 229 * @return None
j3 1:ce6a3accca77 230 **************************************************************/
j3 1:ce6a3accca77 231 void get_16x16_character(char c, uint8_t *char_buff, uint8_t font_type);
j3 1:ce6a3accca77 232
j3 1:ce6a3accca77 233
j3 1:ce6a3accca77 234 /**********************************************************//**
j3 1:ce6a3accca77 235 * @brief Prints character to MAXREFDES99 16x16 LED display
j3 1:ce6a3accca77 236 *
j3 1:ce6a3accca77 237 * @details
j3 1:ce6a3accca77 238 *
j3 1:ce6a3accca77 239 * On Entry:
j3 1:ce6a3accca77 240 * @param[in] p_display - pointer to Max7219 object
j3 1:ce6a3accca77 241 @param[in] position - for single char print this value is zero,
j3 1:ce6a3accca77 242 for string case it is multiple of 32 bytes as each char data is 32 bytes,
j3 1:ce6a3accca77 243 * @param[in] c - char to print
j3 1:ce6a3accca77 244 * @param[in] font_type - 16x16 font type used for display
j3 1:ce6a3accca77 245 *
j3 1:ce6a3accca77 246 * On Exit:
j3 1:ce6a3accca77 247 * @return None
j3 1:ce6a3accca77 248 **************************************************************/
j3 1:ce6a3accca77 249 void print_char_16x16(Max7219 *p_display, uint16_t position, char c, uint8_t font_type);
j3 1:ce6a3accca77 250
j3 1:ce6a3accca77 251
j3 1:ce6a3accca77 252 /**********************************************************//**
j3 1:ce6a3accca77 253 * @brief Prints given string to MAXREFDES99 16x16 LED display
j3 1:ce6a3accca77 254 *
j3 1:ce6a3accca77 255 * @details
j3 1:ce6a3accca77 256 *
j3 1:ce6a3accca77 257 * On Entry:
j3 1:ce6a3accca77 258 * @param[in] p_display - pointer to Max7219 object
j3 1:ce6a3accca77 259 * @param[in] s - pointer to string to print
j3 1:ce6a3accca77 260 * @param[in] font_type - 16x16 font type used for display
j3 1:ce6a3accca77 261 *
j3 1:ce6a3accca77 262 * On Exit:
j3 1:ce6a3accca77 263 * @return None
j3 1:ce6a3accca77 264 **************************************************************/
j3 1:ce6a3accca77 265 void print_string_16x16(Max7219 *p_display, char *s, uint8_t font_type);
j3 1:ce6a3accca77 266
j3 0:52f9ecc09233 267
j3 0:52f9ecc09233 268 /**********************************************************//**
j3 1:ce6a3accca77 269 * @brief Shifts 16x16 font display right 'count' positions with given
j3 1:ce6a3accca77 270 * delay between shifts
j3 1:ce6a3accca77 271 *
j3 1:ce6a3accca77 272 * @details
j3 1:ce6a3accca77 273 *
j3 1:ce6a3accca77 274 * On Entry:
j3 1:ce6a3accca77 275 * @param[in] p_display - pointer to Max7219 object
j3 1:ce6a3accca77 276 * @param[in] count - number of positions to shift
j3 1:ce6a3accca77 277 * @param[in] delay - delay between shifts in milliseconds
j3 1:ce6a3accca77 278 *
j3 1:ce6a3accca77 279 * On Exit:
j3 1:ce6a3accca77 280 * @return None
j3 1:ce6a3accca77 281 **************************************************************/
j3 1:ce6a3accca77 282 void shift_display_right_16x16(Max7219 *p_display, uint8_t count, uint8_t delay);
j3 1:ce6a3accca77 283
j3 1:ce6a3accca77 284
j3 1:ce6a3accca77 285 /**********************************************************//**
j3 1:ce6a3accca77 286 * @brief Shifts 16x16 font display left 'count' positions with given
j3 1:ce6a3accca77 287 * delay between shifts
j3 1:ce6a3accca77 288 *
j3 1:ce6a3accca77 289 * @details
j3 1:ce6a3accca77 290 *
j3 1:ce6a3accca77 291 * On Entry:
j3 1:ce6a3accca77 292 * @param[in] p_display - pointer to Max7219 object
j3 1:ce6a3accca77 293 * @param[in] count - number of positions to shift
j3 1:ce6a3accca77 294 * @param[in] delay - delay between shifts in milliseconds
j3 1:ce6a3accca77 295 *
j3 1:ce6a3accca77 296 * On Exit:
j3 1:ce6a3accca77 297 * @return None
j3 1:ce6a3accca77 298 **************************************************************/
j3 1:ce6a3accca77 299 void shift_display_left_16x16(Max7219 *p_display, uint8_t count, uint8_t delay);
j3 1:ce6a3accca77 300
j3 1:ce6a3accca77 301 /**********************************************************//**
j3 1:ce6a3accca77 302 * @brief Demo loop for MAXREFDES99 with 16x16 font display
j3 1:ce6a3accca77 303 *
j3 1:ce6a3accca77 304 * @details
j3 1:ce6a3accca77 305 *
j3 1:ce6a3accca77 306 * On Entry:
j3 1:ce6a3accca77 307 * @param[in] p_display - pointer to Max7219 object
j3 1:ce6a3accca77 308 * @param[in] display_config - structure holding configuration data
j3 1:ce6a3accca77 309 * @param[in] font_type - 16x16 font type used for display
j3 1:ce6a3accca77 310 * @param[in] endless_loop - if true run demo in endless loop
j3 1:ce6a3accca77 311 *
j3 1:ce6a3accca77 312 * On Exit:
j3 1:ce6a3accca77 313 * @return None
j3 1:ce6a3accca77 314 **************************************************************/
j3 1:ce6a3accca77 315 void demo_16x16(Max7219 *display, max7219_configuration_t display_config, uint8_t font_type, bool endless_loop);
j3 1:ce6a3accca77 316
j3 1:ce6a3accca77 317
j3 1:ce6a3accca77 318 /**********************************************************//**
j3 1:ce6a3accca77 319 * @brief Shift 16x16 font display in given direction forever
j3 1:ce6a3accca77 320 *
j3 1:ce6a3accca77 321 * @details
j3 1:ce6a3accca77 322 *
j3 1:ce6a3accca77 323 * On Entry:
j3 1:ce6a3accca77 324 * @param[in] p_display - pointer to Max7219 object
j3 1:ce6a3accca77 325 * @param[in] scroll_right - if true shift right, else shift left
j3 1:ce6a3accca77 326 *
j3 1:ce6a3accca77 327 * On Exit:
j3 1:ce6a3accca77 328 * @return None
j3 1:ce6a3accca77 329 **************************************************************/
j3 1:ce6a3accca77 330 void endless_scroll_display_16x16(Max7219 *display, uint32_t scroll_right);
j3 1:ce6a3accca77 331
j3 1:ce6a3accca77 332
j3 1:ce6a3accca77 333 /**********************************************************//**
j3 1:ce6a3accca77 334 * @brief Print demo menu
j3 0:52f9ecc09233 335 *
j3 0:52f9ecc09233 336 * @details
j3 0:52f9ecc09233 337 *
j3 0:52f9ecc09233 338 * On Entry:
j3 0:52f9ecc09233 339 *
j3 0:52f9ecc09233 340 * On Exit:
j3 1:ce6a3accca77 341 * @return User entry
j3 0:52f9ecc09233 342 **************************************************************/
j3 0:52f9ecc09233 343 uint32_t print_menu(void);
j3 0:52f9ecc09233 344
j3 0:52f9ecc09233 345
j3 0:52f9ecc09233 346 /**********************************************************//**
j3 1:ce6a3accca77 347 * @brief Get integer value from user
j3 0:52f9ecc09233 348 *
j3 0:52f9ecc09233 349 * @details
j3 0:52f9ecc09233 350 *
j3 0:52f9ecc09233 351 * On Entry:
j3 0:52f9ecc09233 352 * @param[in] msg - prompt for user
j3 0:52f9ecc09233 353 * @param[in] max_val - maximum allowable input
j3 0:52f9ecc09233 354 *
j3 0:52f9ecc09233 355 * On Exit:
j3 1:ce6a3accca77 356 * @return User entry
j3 0:52f9ecc09233 357 **************************************************************/
j3 0:52f9ecc09233 358 uint32_t get_user_input(char *msg, uint32_t max_val);
j3 0:52f9ecc09233 359
j3 0:52f9ecc09233 360
j3 0:52f9ecc09233 361 /**********************************************************//**
j3 1:ce6a3accca77 362 * @brief Get char from user
j3 0:52f9ecc09233 363 *
j3 0:52f9ecc09233 364 * @details
j3 0:52f9ecc09233 365 *
j3 0:52f9ecc09233 366 * On Entry:
j3 0:52f9ecc09233 367 * @param[in] msg - prompt for user
j3 0:52f9ecc09233 368 *
j3 0:52f9ecc09233 369 * On Exit:
j3 1:ce6a3accca77 370 * @return User entry
j3 0:52f9ecc09233 371 **************************************************************/
j3 0:52f9ecc09233 372 char get_user_char(char *msg);
j3 0:52f9ecc09233 373
j3 0:52f9ecc09233 374
j3 0:52f9ecc09233 375 /**********************************************************//**
j3 1:ce6a3accca77 376 * @brief Get string from user
j3 0:52f9ecc09233 377 *
j3 0:52f9ecc09233 378 * @details
j3 0:52f9ecc09233 379 *
j3 0:52f9ecc09233 380 * On Entry:
j3 0:52f9ecc09233 381 * @param[in] msg - prompt for user
j3 0:52f9ecc09233 382 *
j3 0:52f9ecc09233 383 * On Exit:
j3 1:ce6a3accca77 384 * @return User entry
j3 0:52f9ecc09233 385 **************************************************************/
j3 0:52f9ecc09233 386 char * get_user_string(char *msg);
j3 0:52f9ecc09233 387
j3 0:52f9ecc09233 388
j3 1:ce6a3accca77 389 void clear_buffer(void);
j3 1:ce6a3accca77 390
j3 1:ce6a3accca77 391
j3 0:52f9ecc09233 392 #endif /*MAXREFDES99_H*/
j3 0:52f9ecc09233 393