Add application examples for i2c, jpeg, temp_sensor and usb_serial-jtag-console

This commit is contained in:
Ren Peiying
2024-09-18 17:31:59 +08:00
parent 965986bcf1
commit fb1b91c8d7
8 changed files with 38 additions and 18 deletions
+3 -3
View File
@@ -649,10 +649,10 @@ Kconfig 选项
应用示例
--------
.. list::
- :example:`peripherals/i2c/i2c_eeprom` 演示了如何使用 I2C 主机模式从连接的 EEPROM 读取和写入数据。
- :example:`peripherals/i2c/i2c_tools` 演示了如何使用 I2C 工具开发 I2C 相关的应用程序,提供了用于配置 I2C 总线、扫描设备、读取、设置和检查寄存器的命令行工具。
- :example:`peripherals/i2c/i2c_eeprom` 通过读取和写入 I2C 连接的 EEPROM 展示了 I2C 驱动程序的使用方法。
- :example:`peripherals/i2c/i2c_tools` 基于 ESP32 控制台组件实现了一些 I2C 工具的基本功能。
API 参考
--------
@@ -448,8 +448,10 @@ Kconfig 选项
应用程序示例
------------
* JPEG 编码器应用程序示例: :example:`peripherals/jpeg/jpeg_decode`
* JPEG 解码器应用程序示例: :example:`peripherals/jpeg/jpeg_encode`
- :example:`peripherals/jpeg/jpeg_decode` 演示了如何使用 JPEG 硬件解码器将不同大小的 JPEG 图片(1080p 和 720p)解码为 RGB 格式,展示了硬件解码的速度和灵活性
- :example:`peripherals/jpeg/jpeg_encode` 演示了如何使用 JPEG 硬件编码器编码一张 1080p 的图像,即将 `*.rgb` 文件转换为 `*.jpg` 文件。
API 参考
--------
@@ -206,10 +206,12 @@
应用示例
-------------------
.. list::
* :example:`peripherals/temperature_sensor/temp_sensor` 演示了如何使用内置温度传感器,并展示了 DAC 电平和偏移量不同时的测量范围和误差。
.. only:: SOC_TEMPERATURE_SENSOR_INTR_SUPPORT
* :example:`peripherals/temperature_sensor/temp_sensor_monitor` 演示了如何使用温度传感器连续自动监测温度值,当温度达到特定值或或两个连续的采样之间的变化大于/小于设置时,触发中断。
* 读取温度传感器测量值::example:`peripherals/temperature_sensor/temp_sensor`
:SOC_TEMPERATURE_SENSOR_INTR_SUPPORT: * 监测温度传感器测量值::example:`peripherals/temperature_sensor/temp_sensor_monitor`。
API 参考
----------------------------------