mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
147 lines
2.6 KiB
C
147 lines
2.6 KiB
C
|
/*
|
||
|
* SPDX-FileCopyrightText: 2016-2024 Espressif Systems (Shanghai) CO LTD
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#include "sdkconfig.h"
|
||
|
#include "phy_init_data.h"
|
||
|
|
||
|
const char phy_init_magic_pre[] = PHY_INIT_MAGIC;
|
||
|
|
||
|
/**
|
||
|
* @brief Structure containing default recommended PHY initialization parameters.
|
||
|
*/
|
||
|
const esp_phy_init_data_t phy_init_data= { {
|
||
|
0x80,
|
||
|
0x00,
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x4E),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x4E),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x44),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x44),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x48),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x44),
|
||
|
LIMIT(CONFIG_ESP_PHY_MAX_TX_POWER * 4, 0, 0x42),
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0x00,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0xff,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0,
|
||
|
0xf1
|
||
|
} };
|
||
|
|
||
|
const char phy_init_magic_post[] = PHY_INIT_MAGIC;
|