esp_phy_get_init_data() function
Get PHY init data If "Use a partition to store PHY init data" option is set in menuconfig, This function will load PHY init data from a partition. Otherwise, PHY init data will be compiled into the application itself, and this function will return a pointer to PHY init data located in read-only memory (DROM). If "Use a partition to store PHY init data" option is enabled, this function may return NULL if the data loaded from flash is not valid.
Return value
pointer to PHY init data structure
Notes
Call esp_phy_release_init_data to release the pointer obtained using this function after the call to esp_wifi_init.
![]()
const esp_phy_init_data_t* esp_phy_get_init_data(void)
esp_phy_get_init_data() is called by 1 function and calls 6 functions:
![]()
esp_phy_get_init_data()
esp_phy_get_init_data() reads 9 variables:
![]()
esp_phy_get_init_data()