refactor(phy): refactor multiple antenna, support for WIFI/BT/BLE/15.4

This commit is contained in:
alanmaxwell
2023-10-10 16:57:00 +08:00
parent f231b262b9
commit 92e76a3434
4 changed files with 294 additions and 3 deletions

View File

@@ -180,6 +180,25 @@ _lock_t phy_get_lock(void);
*
*/
void phy_track_pll(void);
/**
* @brief PHY antenna default configuration
*
*/
void ant_dft_cfg(bool default_ant);
/**
* @brief PHY tx antenna config
*
*/
void ant_tx_cfg(uint8_t ant0);
/**
* @brief PHY rx antenna config
*
*/
void ant_rx_cfg(bool auto_en, uint8_t ant0, uint8_t ant1);
#ifdef __cplusplus
}
#endif