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

:link_to_translation:`en:[English]`

.. toctree::
    :maxdepth: 1

    adc
    :SOC_DAC_SUPPORTED: dac
    timer
    gpio
    :SOC_DEDICATED_GPIO_SUPPORTED: dedic_gpio
    :SOC_HMAC_SUPPORTED: hmac
    :SOC_DIG_SIGN_SUPPORTED: ds
    i2c
    i2s
    lcd
    ledc
    :SOC_MCPWM_SUPPORTED: mcpwm
    :SOC_PCNT_SUPPORTED: pcnt
    rmt
    :esp32 or esp32s3: sd_pullup_requirements
    :SOC_SDMMC_HOST_SUPPORTED: sdmmc_host
    sdspi_host
    :SOC_SDIO_SLAVE_SUPPORTED: sdio_slave
    sigmadelta
    spi_master
    spi_slave
    :esp32: secure_element
    :esp32s2: spi_slave_hd
    :SOC_TEMP_SENSOR_SUPPORTED: temp_sensor
    :SOC_TOUCH_SENSOR_NUM: touch_pad
    :esp32s2: touch_element
    twai
    uart
    :SOC_USB_OTG_SUPPORTED: usb_device
    :SOC_USB_OTG_SUPPORTED: usb_host

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