updated the TOC of ESP-IDF API Reference to make it consistet with the real section title

This commit is contained in:
Shang Zhou 2021-08-27 15:09:35 +08:00
parent 81391fb18c
commit be189b1cfd
15 changed files with 83 additions and 83 deletions

View File

@ -1,5 +1,5 @@
Analog to Digital Converter
===========================
Analog to Digital Converter (ADC)
=================================
{IDF_TARGET_ADC1_CH0: default="GPIO 0", esp32="GPIO 36"}
{IDF_TARGET_ADC2_CH7: default="GPIO 0", esp32="GPIO 27"}

View File

@ -1,5 +1,5 @@
Digital To Analog Converter
===========================
Digital To Analog Converter (DAC)
=================================
{IDF_TARGET_DAC_CH_1: default = "GPIO25", esp32 = "GPIO25", esp32s2 = "GPIO17"}
{IDF_TARGET_DAC_CH_2: default = "GPIO26", esp32 = "GPIO26", esp32s2 = "GPIO18"}

View File

@ -1,5 +1,5 @@
Digital Signature
=================
Digital Signature (DS)
======================
The Digital Signature (DS) module provides hardware acceleration of signing messages based on RSA.
It uses pre-encrypted parameters to calculate a signature.

View File

@ -1,5 +1,5 @@
HMAC
====
Hash-based Message Authentication Code (HMAC)
=============================================
The HMAC (Hash-based Message Authentication Code) module provides hardware acceleration for SHA256-HMAC generation using a key burned into an eFuse block.
HMACs work with pre-shared secret keys and provide authenticity and integrity to a message.

View File

@ -1,5 +1,5 @@
I2C Driver
==========
Inter-Integrated Circuit (I2C)
==============================
:link_to_translation:`zh_CN:[中文]`

View File

@ -1,5 +1,5 @@
I2S
===
Inter-IC Sound (I2S)
====================
{IDF_TARGET_I2S_NUM:default="two", esp32s2="one", esp32c3="one"}

View File

@ -6,34 +6,34 @@ Peripherals API
.. toctree::
:maxdepth: 1
ADC <adc>
:SOC_DAC_SUPPORTED: DAC <dac>
General Purpose Timer <timer>
GPIO (including RTC low power I/O) <gpio>
:SOC_DEDICATED_GPIO_SUPPORTED: Dedicated GPIO <dedic_gpio>
:SOC_HMAC_SUPPORTED: HMAC <hmac>
:SOC_DIG_SIGN_SUPPORTED: Digital Signature <ds>
I2C <i2c>
I2S <i2s>
LED Control <ledc>
:SOC_MCPWM_SUPPORTED: MCPWM <mcpwm>
:SOC_PCNT_SUPPORTED: Pulse Counter <pcnt>
Remote Control <rmt>
:esp32 or esp32s3: SD Pull-up Requirements <sd_pullup_requirements>
:SOC_SDMMC_HOST_SUPPORTED: SDMMC Host <sdmmc_host>
SD SPI Host <sdspi_host>
:SOC_SDIO_SLAVE_SUPPORTED: SDIO Slave <sdio_slave>
Sigma-delta Modulation <sigmadelta>
SPI Master <spi_master>
SPI Slave <spi_slave>
:esp32: Secure Element <secure_element>
:esp32s2: SPI Slave Half Duplex <spi_slave_hd>
:SOC_TEMP_SENSOR_SUPPORTED: Temp sensor <temp_sensor>
:SOC_TOUCH_SENSOR_NUM: Touch Sensor <touch_pad>
:esp32s2: Touch Element <touch_element>
TWAI <twai>
UART <uart>
:SOC_USB_OTG_SUPPORTED: USB Device <usb_device>
:SOC_USB_OTG_SUPPORTED: USB Host <usb_host>
adc
:SOC_DAC_SUPPORTED: dac
timer
gpio
:SOC_DEDICATED_GPIO_SUPPORTED: dedic_gpio
:SOC_HMAC_SUPPORTED: hmac
:SOC_DIG_SIGN_SUPPORTED: ds
i2c
i2s
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
Code examples for this API section are provided in the :example:`peripherals` directory of ESP-IDF examples.

View File

@ -1,5 +1,5 @@
LED Control
===========
LED Control (LEDC)
==================
{IDF_TARGET_LEDC_CHAN_NUM:default="8", esp32="16", esp32s2="8", esp32c3="6"}
:link_to_translation:`zh_CN:[中文]`

View File

@ -1,5 +1,5 @@
MCPWM
=====
Motor Control Pulse Width Modulator (MCPWM)
===========================================
{IDF_TARGET_NAME} has two MCPWM units which can be used to control different types of motors. Each unit has three pairs of PWM outputs.

View File

@ -1,5 +1,5 @@
Pulse Counter
=============
Pulse Counter (PCNT)
====================
{IDF_TARGET_PCNT_UNIT_NUM:default="8", esp32s2="4"}
{IDF_TARGET_PCNT_MAX_UNIT_NUM:default="7", esp32s2="3"}

View File

@ -1,5 +1,5 @@
RMT
===
Remote Control (RMT)
====================
The RMT (Remote Control) module driver can be used to send and receive infrared remote control signals. Due to flexibility of RMT module, the driver can also be used to generate or receive many other types of signals.

View File

@ -1,5 +1,5 @@
Temperature Sensor
==================
===================
Overview
--------

View File

@ -1,5 +1,5 @@
TWAI
====
Two-Wire Automotive Interface (TWAI)
====================================
.. -------------------------------- Overview -----------------------------------

View File

@ -1,5 +1,5 @@
UART
====
Universal Asynchronous Receiver/Transmitter (UART)
==================================================
{IDF_TARGET_UART_NUM:default = "UART_NUM_1", esp32 = "UART_NUM_2", esp32s3 = "UART_NUM_2"}

View File

@ -6,34 +6,34 @@
.. toctree::
:maxdepth: 1
ADC <adc>
:SOC_DAC_SUPPORTED: DAC <dac>
通用定时器 <timer>
GPIO (including RTC low power I/O) <gpio>
:SOC_DEDICATED_GPIO_SUPPORTED: Dedicated GPIO <dedic_gpio>
:SOC_HMAC_SUPPORTED: HMAC <hmac>
:SOC_DIG_SIGN_SUPPORTED: Digital Signature <ds>
I2C <i2c>
I2S <i2s>
LED 控制器 <ledc>
:SOC_MCPWM_SUPPORTED: MCPWM <mcpwm>
:SOC_PCNT_SUPPORTED: Pulse Counter <pcnt>
Remote Control <rmt>
:esp32 or esp32s3: SD Pull-up Requirements <sd_pullup_requirements>
:SOC_SDMMC_HOST_SUPPORTED: SDMMC Host <sdmmc_host>
SD SPI Host <sdspi_host>
:SOC_SDIO_SLAVE_SUPPORTED: SDIO Slave <sdio_slave>
Sigma-delta Modulation <sigmadelta>
SPI Master <spi_master>
SPI Slave <spi_slave>
:esp32: Secure Element <secure_element>
:esp32s2: SPI Slave Half Duplex <spi_slave_hd>
:SOC_TEMP_SENSOR_SUPPORTED: Temp sensor <temp_sensor>
:SOC_TOUCH_SENSOR_NUM: 触摸传感器 <touch_pad>
:esp32s2: Touch Element <touch_element>
TWAI <twai>
UART <uart>
:SOC_USB_OTG_SUPPORTED: USB 设备 (Device) <usb_device>
:SOC_USB_OTG_SUPPORTED: USB 主机 (Host) <usb_host>
adc
:SOC_DAC_SUPPORTED: dac
timer
gpio
:SOC_DEDICATED_GPIO_SUPPORTED: dedic_gpio
:SOC_HMAC_SUPPORTED: hmac
:SOC_DIG_SIGN_SUPPORTED: ds
i2c
i2s
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` 目录下。