local copy of sx1276 library
Dependents: SX1276_GPS demo_SX1276_standalone
Fork of SX1276Lib by
Diff: sx1276/sx1276-hal.h
- Revision:
- 16:29f09ac61412
- Parent:
- 12:aa5b3bf7fdf4
--- a/sx1276/sx1276-hal.h Tue Dec 16 10:02:45 2014 +0000 +++ b/sx1276/sx1276-hal.h Tue Jun 16 11:52:30 2015 +0000 @@ -41,6 +41,13 @@ SX1276MB1xAS( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) ); virtual ~SX1276MB1xAS( ) { }; + /*! + * @brief Gets the board PA selection configuration + * + * @param [IN] channel Channel frequency in Hz + * @retval PaSelect RegPaConfig PaSelect value + */ + virtual uint8_t GetPaSelect( uint32_t channel ); protected: /*! @@ -71,7 +78,7 @@ * \remark Useful when going in MCU lowpower modes */ virtual void IoDeInit( void ); - +#if 0 /*! * @brief Gets the board PA selection configuration * @@ -79,7 +86,7 @@ * @retval PaSelect RegPaConfig PaSelect value */ virtual uint8_t GetPaSelect( uint32_t channel ); - +#endif /*! * @brief Set the RF Switch I/Os pins in Low Power mode *