跳过正文

目录

参考
#

参考 ESP32-C6 处理器的技术手册,其中有各接口周边的详细说明: https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf

ESP 开发板
#

可以看到各开发版上的硬件配置,硬件接口定义: https://github.com/espressif/esp-bsp

I2C
#

Wiring: SDA → GPIO21, SCL → GPIO22, VCC → 3.3V/5V, GND → GND
Pros: Uses only two pins, simple wiring, supports multiple devices on the same bus.
Cons: Slower than SPI, may need pull-up resistors (4.7kΩ) for reliable communication.

SPI
#

Wiring: MISO → GPIO19, MOSI → GPIO23, SCK → GPIO18, CS → GPIO5, VCC → 3.3V/5V, GND → GND
Pros: Faster and more stable for high-speed data.
Cons: Requires more wires and is limited to one device per bus.

UART
#

Wiring: TX → GPIO16 (RX), RX → GPIO17 (TX), VCC → 3.3V/5V, GND → GND
Pros: Simple, uses only two pins.
Cons: Slower and limited by the ESP32’s UART ports.

VCC (power, 3.3V or 5V), SCL (Serial Clock Line), and SDA (Serial Data Line).

DVP
#

Camera 和 RGB LCD 使用的接口。

例子:https://github.com/esp-rs/esp-hal/blob/main/esp-hal/src/lcd_cam/cam.rs

相关文章

程序的编译和链接:gcc、clang、glibc、musl 和 rustc
·
Rust Cargo
系统总结了使用 gcc、clang、rustc 编译器进行程序的编译和链接过程,以及使用 musl 进行静态链接的方案。
gdb
·
Gnu Tool Gdb
gdb 个人速查手册。
gas X86_64 汇编 - 个人参考手册
·
Gnu Asm Gcc Manual
GCC 编译器 - 个人参考手册
·
Gnu Gcc Manual
gcc 编译器个人参考手册。