for capstone team
Dependencies: SX1272Lib_pingpong mbed
Fork of SX1272PingPong by
main.h@16:2ce31cc02bce, 2017-11-13 (annotated)
- Committer:
- AMNoll
- Date:
- Mon Nov 13 23:21:48 2017 +0000
- Revision:
- 16:2ce31cc02bce
- Parent:
- 14:ab6eecd44b7a
fdsaf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GregCr | 4:5ece30264cd9 | 1 | /* |
GregCr | 4:5ece30264cd9 | 2 | / _____) _ | | |
GregCr | 4:5ece30264cd9 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
GregCr | 4:5ece30264cd9 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
GregCr | 4:5ece30264cd9 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
GregCr | 4:5ece30264cd9 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
GregCr | 6:44752b4f8ab1 | 7 | ( C )2014 Semtech |
GregCr | 4:5ece30264cd9 | 8 | |
GregCr | 6:44752b4f8ab1 | 9 | Description: Contains the callbacks for the IRQs and any application related details |
GregCr | 4:5ece30264cd9 | 10 | |
GregCr | 4:5ece30264cd9 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
GregCr | 4:5ece30264cd9 | 12 | |
GregCr | 4:5ece30264cd9 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
AMNoll | 16:2ce31cc02bce | 14 | |
AMNoll | 16:2ce31cc02bce | 15 | Hello |
AMNoll | 16:2ce31cc02bce | 16 | |
GregCr | 4:5ece30264cd9 | 17 | */ |
GregCr | 4:5ece30264cd9 | 18 | #ifndef __MAIN_H__ |
GregCr | 4:5ece30264cd9 | 19 | #define __MAIN_H__ |
GregCr | 4:5ece30264cd9 | 20 | |
GregCr | 4:5ece30264cd9 | 21 | /* |
GregCr | 4:5ece30264cd9 | 22 | * Callback functions prototypes |
GregCr | 4:5ece30264cd9 | 23 | */ |
GregCr | 4:5ece30264cd9 | 24 | /*! |
GregCr | 4:5ece30264cd9 | 25 | * @brief Function to be executed on Radio Tx Done event |
GregCr | 4:5ece30264cd9 | 26 | */ |
GregCr | 4:5ece30264cd9 | 27 | void OnTxDone( void ); |
GregCr | 4:5ece30264cd9 | 28 | |
GregCr | 4:5ece30264cd9 | 29 | /*! |
GregCr | 4:5ece30264cd9 | 30 | * @brief Function to be executed on Radio Rx Done event |
GregCr | 4:5ece30264cd9 | 31 | */ |
GregCr | 4:5ece30264cd9 | 32 | void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); |
GregCr | 4:5ece30264cd9 | 33 | |
GregCr | 4:5ece30264cd9 | 34 | /*! |
GregCr | 4:5ece30264cd9 | 35 | * @brief Function executed on Radio Tx Timeout event |
GregCr | 4:5ece30264cd9 | 36 | */ |
GregCr | 4:5ece30264cd9 | 37 | void OnTxTimeout( void ); |
GregCr | 4:5ece30264cd9 | 38 | |
GregCr | 4:5ece30264cd9 | 39 | /*! |
GregCr | 4:5ece30264cd9 | 40 | * @brief Function executed on Radio Rx Timeout event |
GregCr | 4:5ece30264cd9 | 41 | */ |
GregCr | 4:5ece30264cd9 | 42 | void OnRxTimeout( void ); |
GregCr | 4:5ece30264cd9 | 43 | |
GregCr | 4:5ece30264cd9 | 44 | /*! |
GregCr | 4:5ece30264cd9 | 45 | * @brief Function executed on Radio Rx Error event |
GregCr | 4:5ece30264cd9 | 46 | */ |
GregCr | 4:5ece30264cd9 | 47 | void OnRxError( void ); |
GregCr | 4:5ece30264cd9 | 48 | |
GregCr | 4:5ece30264cd9 | 49 | /*! |
GregCr | 4:5ece30264cd9 | 50 | * @brief Function executed on Radio Fhss Change Channel event |
GregCr | 4:5ece30264cd9 | 51 | */ |
GregCr | 4:5ece30264cd9 | 52 | void OnFhssChangeChannel( uint8_t channelIndex ); |
GregCr | 4:5ece30264cd9 | 53 | |
GregCr | 4:5ece30264cd9 | 54 | /*! |
GregCr | 4:5ece30264cd9 | 55 | * @brief Function executed on CAD Done event |
GregCr | 4:5ece30264cd9 | 56 | */ |
GregCr | 4:5ece30264cd9 | 57 | void OnCadDone( void ); |
GregCr | 4:5ece30264cd9 | 58 | |
mluis | 14:ab6eecd44b7a | 59 | #endif // __MAIN_H__ |