1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Update core_esp8266_phy.c

added vdd33_const explanation from official Espressif documentation
This commit is contained in:
Testato 2015-06-24 22:32:59 +02:00
parent b029e78a67
commit 432385604c

View File

@ -195,12 +195,18 @@ static uint8_t phy_init_data[128] =
// 5.5m, 11m power index [0~5] // 5.5m, 11m power index [0~5]
[98] = 0, [98] = 0,
// vdd33_const // vdd33_const
// the voltage of PA_VDD // the value of this byte depend from the TOUT pin usage (1 or 2):
// x=0xff: it can measure VDD33, // 1)
// 18<=x<=36: use input voltage, // analogRead function (system_adc_read()):
// the value is voltage*10, 33 is 3.3V, 30 is 3.0V, // is only available when wire TOUT pin17 to external circuitry, Input Voltage Range restricted to 0 ~ 1.0V.
// x<18 or x>36: default voltage is 3.3V // For this function the vdd33_const must be set as real power voltage of VDD3P3 pin 3 and 4
// The range of operating voltage of ESP8266 is 1.8V~3.6Vthe unit of vdd33_const is 0.1Vso effective value range of vdd33_const is [18,36]
// 2)
// getVcc function (system_get_vdd33):
// is only available when TOUT pin17 is suspended (floating), this function measure the power voltage of VDD3P3 pin 3 and 4
// For this function the vdd33_const must be set as 255.
[107] = 33, [107] = 33,
// disable RF calibration for certain number of times // disable RF calibration for certain number of times