esp_phy: added API esp_btbb_disable

APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
This commit is contained in:
wangmengyang
2023-03-17 16:18:27 +08:00
committed by BOT
parent 786851bfbd
commit cbb8bf9f88
6 changed files with 30 additions and 9 deletions

View File

@@ -180,6 +180,15 @@ void esp_phy_disable(void);
*/
void esp_btbb_enable(void);
/**
* @brief Disable BTBB module
*
* Dsiable BTBB module, used by IEEE802154 or Bluetooth.
* Users should not call this API in their application.
*
*/
void esp_btbb_disable(void);
/**
* @brief Load calibration data from NVS and initialize PHY and RF module
*/