Benoit Marchand / iGreenhouse_Node2_gcc_arm_nucleo_l073rz

Dependencies:   mbed Sht31

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.h Source File

main.h

00001 /*
00002  / _____)             _              | |
00003 ( (____  _____ ____ _| |_ _____  ____| |__
00004  \____ \| ___ |    (_   _) ___ |/ ___)  _ \
00005  _____) ) ____| | | || |_| ____( (___| | | |
00006 (______/|_____)_|_|_| \__)_____)\____)_| |_|
00007     ( C )2014 Semtech
00008 
00009 Description: Contains the callbacks for the IRQs and any application related details
00010 
00011 License: Revised BSD License, see LICENSE.TXT file include in the project
00012 
00013 Maintainer: Miguel Luis and Gregory Cristian
00014 Last update: Antoine Boisadam
00015 */
00016 #ifndef __MAIN_H__
00017 #define __MAIN_H__
00018 
00019 
00020 /* ===================== IKS01A2 =======================*/
00021 
00022 static char *print_double(char* str, double v);
00023 
00024 
00025 /*
00026  * Callback functions prototypes
00027  */
00028 /*!
00029  * @brief Function to be executed on Radio Tx Done event
00030  */
00031 void OnTxDone( void );
00032 
00033 /*!
00034  * @brief Function executed on Radio Tx Timeout event
00035  */
00036 void OnTxTimeout( void );
00037 
00038 /*!
00039  * @brief Functions which convert a float into uint8
00040  */
00041 uint8_t to_u8(float x, bool isTemp);
00042 
00043 
00044 #endif // __MAIN_H__