2019-05-15 09:05:44 -04:00
|
|
|
外设 API
|
|
|
|
***************
|
|
|
|
|
|
|
|
:link_to_translation:`en:[English]`
|
|
|
|
|
|
|
|
.. toctree::
|
2020-08-18 05:51:32 -04:00
|
|
|
:maxdepth: 1
|
2019-05-15 09:05:44 -04:00
|
|
|
|
2021-08-27 03:09:35 -04:00
|
|
|
adc
|
|
|
|
:SOC_DAC_SUPPORTED: dac
|
|
|
|
timer
|
|
|
|
gpio
|
|
|
|
:SOC_DEDICATED_GPIO_SUPPORTED: dedic_gpio
|
|
|
|
:SOC_HMAC_SUPPORTED: hmac
|
|
|
|
:SOC_DIG_SIGN_SUPPORTED: ds
|
|
|
|
i2c
|
|
|
|
i2s
|
2021-09-25 10:23:10 -04:00
|
|
|
lcd
|
2021-08-27 03:09:35 -04:00
|
|
|
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
|
2019-05-15 09:05:44 -04:00
|
|
|
|
2020-04-29 04:20:40 -04:00
|
|
|
本部分的 API 示例代码存放在 ESP-IDF 示例项目的 :example:`peripherals` 目录下。
|