Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL

Dependencies:   mbed

inc/lut.h

Committer:
mfwic
Date:
2018-12-07
Revision:
10:6c3233b03658
Parent:
6:39442d493098
Child:
11:01dcfb29fbc4

File content as of revision 10:6c3233b03658:

//-------------------------------------------------------------------------------
// 
//  Treehouse Designs Inc.
//  Colorado Springs, Colorado
// 
//  Copyright (c) 2016 by Treehouse Designs Inc. 
//  Copyright (c) 2018 by Agility Power Systems Inc. 
// 
//  This code is the property of Treehouse Designs, Inc. (Treehouse) and
//  Agility Power Systems Inc. (Agility) and may not be redistributed
//  in any form without prior written permission from 
//  both copyright holders, Treehouse and Agility.
//
//  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 lut_H
#define lut_H

#include "mbed.h"

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

void dec2bin_fix(unsigned int, unsigned int);
void dec2therm_fix(unsigned int, unsigned int);
void getLUTcode(unsigned short);
unsigned int getLUT_binCode(unsigned short);
unsigned int getLUT_thermCode(unsigned short);

#endif