外设 API *************** :link_to_translation:`en:[English]` .. toctree:: :maxdepth: 1 :SOC_ADC_SUPPORTED: adc_oneshot :SOC_ADC_DMA_SUPPORTED: adc_continuous :SOC_ADC_SUPPORTED: adc_calibration clk_tree :SOC_DAC_SUPPORTED: dac :SOC_ETM_SUPPORTED: etm gpio gptimer :SOC_DEDICATED_GPIO_SUPPORTED: dedic_gpio :SOC_HMAC_SUPPORTED: hmac :SOC_DIG_SIGN_SUPPORTED: ds i2c :SOC_I2S_SUPPORTED: i2s lcd ledc :SOC_MCPWM_SUPPORTED: mcpwm :SOC_PCNT_SUPPORTED: pcnt :SOC_RMT_SUPPORTED: rmt :SOC_SDMMC_HOST_SUPPORTED: sd_pullup_requirements :SOC_SDMMC_HOST_SUPPORTED: sdmmc_host sdspi_host :SOC_SDIO_SLAVE_SUPPORTED: sdio_slave :SOC_SDM_SUPPORTED: sdm spi_flash/index spi_master spi_slave :esp32: secure_element :esp32s2: spi_slave_hd :SOC_TEMP_SENSOR_SUPPORTED: temp_sensor :SOC_TOUCH_SENSOR_SUPPORTED: touch_pad :esp32s2: touch_element :SOC_TWAI_SUPPORTED: twai uart :SOC_USB_OTG_SUPPORTED: usb_device :SOC_USB_OTG_SUPPORTED: usb_host 本部分的 API 示例代码存放在 ESP-IDF 示例项目的 :example:`peripherals` 目录下。