49#define ANTENNA_SW_SELECT_2_4GHZ 0
50#define ANTENNA_SW_SELECT_SUBGHZ (1 << ANTENNA_RF_SW_PIN)
51#define ANTENNA_SW_SELECT_ERROR (-1)
int antenna_sw_get(void)
Function to read the current status of the RF switch.
int antenna_sw_select(uint8_t val)
Function to select between the 2.4GHz or Sub-1GHz RF interface.
void antenna_sw_config(void)
Init function for the antenna switch.