Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: LoRaWAN_mbed_lmic_agriculture_app
Fork of SX1272Lib by
typedefs/typedefs.h
- Committer:
- mluis
- Date:
- 2016-01-05
- Revision:
- 0:45c4f0364ca4
- Child:
- 2:cd1093b6676f
File content as of revision 0:45c4f0364ca4:
/*
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C) 2015 Semtech
Description: -
License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainers: Miguel Luis, Gregory Cristian and Nicolas Huguenin
*/
#ifndef __TYPEDEFS_H__
#define __TYPEDEFS_H__
#include "mbed.h"
#include "./enums/enums.h"
class SX1272;
class SX1272MB1DxS;
/*!
* Hardware IO IRQ callback function definition
*/
typedef void ( SX1272::*DioIrqHandler )( void );
/*!
* triggers definition
*/
typedef void ( SX1272::*Trigger )( void );
typedef void ( SX1272MB1DxS::*TriggerMB1DxS )( void );
/*!
* FSK bandwidth definition
*/
typedef struct
{
uint32_t bandwidth;
uint8_t RegValue;
}FskBandwidth_t;
/*!
* Radio registers definition
*/
typedef struct
{
ModemType Modem;
uint8_t Addr;
uint8_t Value;
}RadioRegisters_t;
#endif //__TYPEDEFS_H__
