Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL2

Dependencies:   mbed

inc/menu.h

Committer:
mfwic
Date:
2018-12-11
Revision:
15:aed8f326c949
Parent:
11:01dcfb29fbc4
Child:
16:5791665200cb

File content as of revision 15:aed8f326c949:

//-------------------------------------------------------------------------------
// 
//  Treehouse Inc.
//  Colorado Springs, Colorado
// 
//  Copyright (c) 2016 by Treehouse Designs Inc. 
// 
//  This code is the property of Treehouse, Inc. (Treehouse) and may not be redistributed
//  in any form without prior written permission from the copyright holder, Treehouse.
//
//  The above copyright notice and this permission notice shall be included in
//  all copies or substantial portions of the Software.
//   
//-------------------------------------------------------------------------------
// 
//  REVISION HISTORY:
//  
//   $Author: $
//   $Rev: $
//   $Date: $
//   $URL: $
// 
//-------------------------------------------------------------------------------

#ifndef menu_H
#define menu_H

#include "mbed.h"

extern volatile bool updateReady;

extern bool buck;

extern unsigned int binCode[WEIGHT_BIN_WIDTH+1];
extern unsigned int thermCode[BOARDS_THERMCODE_WIDTH+1];

extern unsigned int en_out_code;
extern unsigned int wr_out_code;

extern unsigned int loopTime;
extern Timer masterTimer;

void initDRT(void);
void updateTerminal(struct adcValues, struct statusValues);

enum menuTypes {MENU_DCM1, MENU_CALIBRATE, MENU_TEST, MENU_MAIN};

void clrScrn(void);
void menuRedraw(bool);
void menuPrompt(int);

void splash_screen(void);

#endif