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
|
|
|
|
2022-08-23 03:25:03 -04:00
|
|
|
:SOC_ADC_SUPPORTED: adc_oneshot
|
2022-07-15 00:52:44 -04:00
|
|
|
:SOC_ADC_DMA_SUPPORTED: adc_continuous
|
2022-08-23 03:25:03 -04:00
|
|
|
:SOC_ADC_SUPPORTED: adc_calibration
|
2023-03-13 00:34:53 -04:00
|
|
|
:SOC_ANA_CMPR_SUPPORTED: ana_cmpr
|
2022-04-24 03:12:14 -04:00
|
|
|
clk_tree
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_DAC_SUPPORTED: dac
|
2022-09-20 02:23:15 -04:00
|
|
|
:SOC_ETM_SUPPORTED: etm
|
2021-08-27 03:09:35 -04:00
|
|
|
gpio
|
2022-01-02 03:14:57 -05:00
|
|
|
gptimer
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_DEDICATED_GPIO_SUPPORTED: dedic_gpio
|
|
|
|
:SOC_HMAC_SUPPORTED: hmac
|
|
|
|
:SOC_DIG_SIGN_SUPPORTED: ds
|
|
|
|
i2c
|
2022-02-15 21:22:46 -05:00
|
|
|
:SOC_I2S_SUPPORTED: i2s
|
2021-09-25 10:23:10 -04:00
|
|
|
lcd
|
2021-08-27 03:09:35 -04:00
|
|
|
ledc
|
|
|
|
:SOC_MCPWM_SUPPORTED: mcpwm
|
2023-02-22 00:29:31 -05:00
|
|
|
:SOC_PARLIO_SUPPORTED: parlio
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_PCNT_SUPPORTED: pcnt
|
2021-11-09 04:11:01 -05:00
|
|
|
:SOC_RMT_SUPPORTED: rmt
|
2023-08-29 07:50:27 -04:00
|
|
|
:SOC_SDMMC_HOST_SUPPORTED or SOC_SDIO_SLAVE_SUPPORTED: sd_pullup_requirements
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_SDMMC_HOST_SUPPORTED: sdmmc_host
|
|
|
|
sdspi_host
|
|
|
|
:SOC_SDIO_SLAVE_SUPPORTED: sdio_slave
|
2022-06-22 04:29:35 -04:00
|
|
|
:SOC_SDM_SUPPORTED: sdm
|
2022-12-26 02:35:28 -05:00
|
|
|
spi_flash/index
|
2021-08-27 03:09:35 -04:00
|
|
|
spi_master
|
|
|
|
spi_slave
|
|
|
|
:esp32: secure_element
|
2023-05-29 04:37:47 -04:00
|
|
|
:SOC_SPI_SUPPORT_SLAVE_HD_VER2: spi_slave_hd
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_TEMP_SENSOR_SUPPORTED: temp_sensor
|
2022-07-21 01:42:25 -04:00
|
|
|
:SOC_TOUCH_SENSOR_SUPPORTED: touch_pad
|
2021-08-27 03:09:35 -04:00
|
|
|
:esp32s2: touch_element
|
2022-02-15 21:22:46 -05:00
|
|
|
:SOC_TWAI_SUPPORTED: twai
|
2021-08-27 03:09:35 -04:00
|
|
|
uart
|
|
|
|
:SOC_USB_OTG_SUPPORTED: usb_device
|
|
|
|
:SOC_USB_OTG_SUPPORTED: usb_host
|
2019-05-15 09:05:44 -04:00
|
|
|
|
2022-07-15 00:52:44 -04:00
|
|
|
本部分的 API 示例代码存放在 ESP-IDF 示例项目的 :example:`peripherals` 目录下。
|