2019-05-15 13:05:44 +00:00
|
|
|
外设 API
|
|
|
|
***************
|
|
|
|
|
|
|
|
:link_to_translation:`en:[English]`
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
ADC <adc>
|
|
|
|
CAN <can>
|
|
|
|
DAC <dac>
|
|
|
|
GPIO (including RTC low power I/O) <gpio>
|
|
|
|
I2C <i2c>
|
|
|
|
I2S <i2s>
|
|
|
|
LED Control <ledc>
|
2020-01-28 22:31:14 +00:00
|
|
|
:esp32: MCPWM <mcpwm>
|
2019-05-15 13:05:44 +00:00
|
|
|
Pulse Counter <pcnt>
|
|
|
|
Remote Control <rmt>
|
2020-01-28 22:31:14 +00:00
|
|
|
:esp32: SDMMC Host <sdmmc_host>
|
2019-05-15 13:05:44 +00:00
|
|
|
SD SPI Host <sdspi_host>
|
2020-01-28 22:31:14 +00:00
|
|
|
:esp32: SDIO Slave <sdio_slave>
|
2019-05-15 13:05:44 +00:00
|
|
|
Sigma-delta Modulation <sigmadelta>
|
|
|
|
SPI Master <spi_master>
|
|
|
|
SPI Slave <spi_slave>
|
2020-01-28 22:31:14 +00:00
|
|
|
:esp32s2: Temp sensor <temp_sensor>
|
2019-05-15 13:05:44 +00:00
|
|
|
Timer <timer>
|
|
|
|
Touch Sensor <touch_pad>
|
|
|
|
UART <uart>
|
|
|
|
|
|
|
|
本部分的 API 示例代码存放在 ESP-IDF 示例项目的 :example:`peripherals` 目录下。
|
|
|
|
|