Library SX1276 Pinout for DISCO_B_L072CZ-LRWAN1 Board

Fork of SX1276Lib by Semtech

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers typedefs.h Source File

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 /*!
00024  * Hardware IO IRQ callback function definition
00025  */
00026 typedef void ( SX1276 ::*DioIrqHandler )( void );
00027 
00028 /*!
00029  * triggers definition
00030  */
00031 typedef void ( SX1276 ::*Trigger )( void );
00032 typedef void ( SX1276MB1xAS ::*TriggerMB1xAS )( void );
00033 
00034 /*!
00035  * FSK bandwidth definition
00036  */
00037 typedef struct
00038 {
00039     uint32_t bandwidth;
00040     uint8_t  RegValue;
00041 }FskBandwidth_t ;
00042 
00043 /*!
00044  * Radio registers definition
00045  */
00046 typedef struct
00047 {
00048     ModemType   Modem;
00049     uint8_t     Addr;
00050     uint8_t     Value;
00051 }RadioRegisters_t ;
00052 
00053 #endif //__TYPEDEFS_H__