We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbd6f06 commit 7c99763Copy full SHA for 7c99763
1 file changed
docs/library/adc.md
@@ -49,3 +49,35 @@ void analogReference(eAnalogReference ulMode) ;
49
```cpp
50
void analogReadResolution(uint8_t bits);
51
```
52
+
53
+### analogReadMillivolts
54
55
+此函数用于获取给定引脚上的实际电压值(单位为毫伏)。
56
57
+```cpp
58
+uint32_t analogReadMillivolts(uint32_t ulPin);
59
+```
60
61
+- `ulPin` GPIO 引脚
62
63
+该函数将返回模拟电压值。
64
65
+### analogReadTempSensor
66
67
+此函数用于获取内部温度传感器的实际温度值(单位为摄氏度)。
68
69
70
+uint32_t analogReadTempSensor(void);
71
72
73
+该函数将返回模拟温度值。
74
75
+### analogReadVref
76
77
+此函数用于获取内部参考电压的实际电压值(单位为毫伏)。
78
79
80
+uint32_t analogReadVref(void);
81
82
83
0 commit comments