test
Dependencies: SX1276Lib1 WakeUp mbed-src
Fork of SX1276PingPong by
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 */ 00015 #ifndef __MAIN_H__ 00016 #define __MAIN_H__ 00017 00018 00019 extern Serial pc; 00020 /* 00021 * Callback functions prototypes 00022 */ 00023 /*! 00024 * @brief Function to be executed on Radio Tx Done event 00025 */ 00026 void OnTxDone( void ); 00027 00028 /*! 00029 * @brief Function to be executed on Radio Rx Done event 00030 */ 00031 void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); 00032 00033 /*! 00034 * @brief Function executed on Radio Tx Timeout event 00035 */ 00036 void OnTxTimeout( void ); 00037 00038 /*! 00039 * @brief Function executed on Radio Rx Timeout event 00040 */ 00041 void OnRxTimeout( void ); 00042 00043 /*! 00044 * @brief Function executed on Radio Rx Error event 00045 */ 00046 void OnRxError( void ); 00047 00048 /*! 00049 * @brief Function executed on Radio Fhss Change Channel event 00050 */ 00051 void OnFhssChangeChannel( uint8_t channelIndex ); 00052 00053 /*! 00054 * @brief Function executed on CAD Done event 00055 */ 00056 void OnCadDone( void ); 00057 00058 #endif // __MAIN_H__
Generated on Fri Jul 15 2022 05:07:30 by 1.7.2