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
|
2024-02-20 05:37:38 -05:00
|
|
|
:SOC_CLK_TREE_SUPPORTED: clk_tree
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_DAC_SUPPORTED: dac
|
2023-11-07 07:55:12 -05:00
|
|
|
:SOC_ECDSA_SUPPORTED: ecdsa
|
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
|
2024-04-18 03:13:55 -04:00
|
|
|
:SOC_I2C_SUPPORTED: i2c
|
2022-02-15 21:22:46 -05:00
|
|
|
:SOC_I2S_SUPPORTED: i2s
|
2024-03-20 23:29:06 -04:00
|
|
|
:SOC_ISP_SUPPORTED: isp
|
2024-03-20 06:42:45 -04:00
|
|
|
lcd/index
|
2024-03-18 02:30:59 -04:00
|
|
|
:SOC_GP_LDO_SUPPORTED: ldo_regulator
|
2021-08-27 03:09:35 -04:00
|
|
|
ledc
|
2024-03-22 03:34:05 -04:00
|
|
|
:SOC_MIPI_CSI_SUPPORTED: camera_driver
|
2021-08-27 03:09:35 -04:00
|
|
|
: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
|
2024-04-18 03:13:55 -04:00
|
|
|
:SOC_GPSPI_SUPPORTED: sdspi_host
|
2021-08-27 03:09:35 -04:00
|
|
|
:SOC_SDIO_SLAVE_SUPPORTED: sdio_slave
|
2022-06-22 04:29:35 -04:00
|
|
|
:SOC_SDM_SUPPORTED: sdm
|
2024-04-18 03:13:55 -04:00
|
|
|
:SOC_SPI_FLASH_SUPPORTED: spi_flash/index
|
|
|
|
:SOC_GPSPI_SUPPORTED: spi_master
|
|
|
|
:SOC_GPSPI_SUPPORTED: spi_slave
|
2023-05-29 04:37:47 -04:00
|
|
|
:SOC_SPI_SUPPORT_SLAVE_HD_VER2: spi_slave_hd
|
2024-02-28 02:16:57 -05:00
|
|
|
:SOC_JPEG_CODEC_SUPPORTED: jpeg
|
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` 目录下。
|