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.
Fork of SX1272Lib by
Diff: sx1272/sx1272-hal.h
- Revision:
- 8:bfdcd5c6ec14
- Parent:
- 4:90bd79f1b458
- Child:
- 9:4e1a35fd0ccd
--- a/sx1272/sx1272-hal.h Thu Nov 24 12:22:04 2016 +0000 +++ b/sx1272/sx1272-hal.h Wed Nov 30 17:35:51 2016 +0000 @@ -17,9 +17,9 @@ #include "sx1272.h" /*! - * \brief Radio hardware registers initialization definition + * @brief Radio hardware registers initialization definition * - * \remark Can be automatically generated by the SX1272 GUI (not yet implemented) + * @remark Can be automatically generated by the SX1272 GUI (not yet implemented) */ #define RADIO_INIT_REGISTERS_VALUE \ { \ @@ -113,6 +113,13 @@ virtual void IoDeInit( void ); /*! + * \brief Sets the radio output power. + * + * @param [IN] power Sets the RF output power + */ + virtual void SetRfTxPower( int8_t power ); + + /*! * @brief Gets the board PA selection configuration * * @param [IN] channel Channel frequency in Hz @@ -135,14 +142,14 @@ /*! * @brief De-initializes the RF Switch I/Os pins interface * - * \remark Needed to decrease the power consumption in MCU lowpower modes + * @remark Needed to decrease the power consumption in MCU lowpower modes */ virtual void AntSwDeInit( void ); /*! * @brief Controls the antena switch if necessary. * - * \remark see errata note + * @remark see errata note * * @param [IN] rxTx [1: Tx, 0: Rx] */