Para o mario

Dependencies:   mbed USBDevice Buffer

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Transmitter.h Source File

Transmitter.h

00001 #ifndef __SX1276PINGPONG_H__
00002 #define __SX1276PINGPONG_H__
00003 
00004 int Transmitter(void);
00005 
00006 /*
00007  * Callback functions prototypes
00008  */
00009 /*!
00010  * @brief Function to be executed on Radio Tx Done event
00011  */
00012 void OnTxDone(void *radio, void *userThisPtr, void *userData);
00013 
00014 /*!
00015  * @brief Function to be executed on Radio Rx Done event
00016  */
00017 void OnRxDone(void *radio, void *userThisPtr, void *userData, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr );
00018 
00019 /*!
00020  * @brief Function executed on Radio Tx Timeout event
00021  */
00022 void OnTxTimeout(void *radio, void *userThisPtr, void *userData);
00023 
00024 /*!
00025  * @brief Function executed on Radio Rx Timeout event
00026  */
00027 void OnRxTimeout(void *radio, void *userThisPtr, void *userData);
00028 
00029 /*!
00030  * @brief Function executed on Radio Rx Error event
00031  */
00032 void OnRxError(void *radio, void *userThisPtr, void *userData);
00033 
00034 /*!
00035  * @brief Function executed on Radio Fhss Change Channel event
00036  */
00037 void OnFhssChangeChannel(void *radio, void *userThisPtr, void *userData, uint8_t channelIndex);
00038 
00039 /*!
00040  * @brief Function executed on CAD Done event
00041  */
00042 void OnCadDone(void *radio, void *userThisPtr, void *userData);
00043 
00044 #endif // __MAIN_H__