Modtronix inAir9 driver based on SX1276 standard driver
Dependents: SX1276PingPong_inAir Sensors LoRaTerminal
Fork of SX1276Lib by
typedefs.h
00001 /* 00002 / _____) _ | | 00003 ( (____ _____ ____ _| |_ _____ ____| |__ 00004 \____ \| ___ | (_ _) ___ |/ ___) _ \ 00005 _____) ) ____| | | || |_| ____( (___| | | | 00006 (______/|_____)_|_|_| \__)_____)\____)_| |_| 00007 ( C )2014 Semtech 00008 00009 Description: - 00010 00011 License: Revised BSD License, see LICENSE.TXT file include in the project 00012 00013 Maintainers: Miguel Luis, Gregory Cristian and Nicolas Huguenin 00014 */ 00015 #ifndef __TYPEDEFS_H__ 00016 #define __TYPEDEFS_H__ 00017 00018 #include "mbed.h" 00019 #include "./enums/enums.h" 00020 00021 class SX1276 ; 00022 class SX1276MB1xAS; 00023 class SX1276inAir; 00024 00025 /*! 00026 * Hardware IO IRQ callback function definition 00027 */ 00028 typedef void ( SX1276 ::*DioIrqHandler )( void ); 00029 00030 /*! 00031 * triggers definition 00032 */ 00033 typedef void ( SX1276 ::*Trigger )( void ); 00034 typedef void ( SX1276MB1xAS::*TriggerMB1xAS )( void ); 00035 typedef void ( SX1276inAir::*TriggerInAir )( void ); 00036 00037 /*! 00038 * FSK bandwidth definition 00039 */ 00040 typedef struct 00041 { 00042 uint32_t bandwidth; 00043 uint8_t RegValue; 00044 }FskBandwidth_t ; 00045 00046 /*! 00047 * Radio registers definition 00048 */ 00049 typedef struct 00050 { 00051 ModemType Modem; 00052 uint8_t Addr; 00053 uint8_t Value; 00054 }RadioRegisters_t ; 00055 00056 #endif //__TYPEDEFS_H__ 00057
Generated on Thu Jul 14 2022 20:59:58 by 1.7.2