外设 API
***************

:link_to_translation:`en:[English]`

.. toctree::
    :maxdepth: 1

    ADC <adc>
    :SOC_DAC_PERIPH_NUM: DAC <dac>
    通用定时器 <timer>
    GPIO (包括 RTC 低功耗 I/O) <gpio>
    :SOC_DEDICATED_GPIO_SUPPORTED: 专用 GPIO <dedic_gpio>
    :SOC_HMAC_SUPPORTED: HMAC <hmac>
    :SOC_DIG_SIGN_SUPPORTED: Digital Signature <ds>
    I2C <i2c>
    I2S <i2s>
    LED Control <ledc>
    :SOC_MCPWM_SUPPORTED: MCPWM <mcpwm>
    :SOC_PCNT_SUPPORTED: Pulse Counter <pcnt>
    Remote Control <rmt>
    :SOC_SDMMC_HOST_SUPPORTED: SDMMC Host <sdmmc_host>
    SD SPI Host <sdspi_host>
    :SOC_SDIO_SLAVE_SUPPORTED: SDIO Slave <sdio_slave>
    Sigma-delta Modulation <sigmadelta>
    SPI Master <spi_master>
    SPI Slave <spi_slave>
    :esp32: Secure Element <secure_element>
    :esp32s2: SPI Slave 半双工 (half duplex) <spi_slave_hd>
    :esp32s2: Temp sensor <temp_sensor>
    :SOC_TOUCH_SENSOR_NUM: Touch Sensor <touch_pad>
    :esp32s2: Touch Element <touch_element>
    TWAI <twai>
    UART <uart>
    :SOC_USB_SUPPORTED: USB <usb>

本部分的 API 示例代码存放在 ESP-IDF 示例项目的 :example:`peripherals` 目录下。