nrfxlib API 0.1.0
|
bool nrf_802154_antenna_diversity_rx_antenna_set | ( | nrf_802154_sl_ant_div_antenna_t | antenna | ) |
#include <nrf_802154/common/include/nrf_802154.h>
Manually selects the antenna to be used for rx.
For antenna to be switched, antenna diversity rx mode needs to be NRF_802154_SL_ANT_DIV_MODE_MANUAL
. Otherwise, antenna will be only switched after NRF_802154_SL_ANT_DIV_MODE_MANUAL
is set.
[in] | antenna | Antenna to be used. |
true | Antenna set successfully. |
false | Invalid antenna passed as argument. |