ST官方技术博客· David Civera·· 1 天前精选
ST 推出 Rust 版 MEMS 传感器驱动并上架 crates.io
Rust MEMS drivers: 3 reasons to try and adopt our new sensor drivers written in Rust
AI 导读
ST 宣布为多款传感器提供 Rust 驱动,已发布在 crates.io,并展示 Embassy STM32 等 Rust 项目,同时继续维护 C 生态。驱动 API 与原有 C 驱动对齐、命名保持一致,当前聚焦 I2C 与 SPI 接口,I3C 支持正在推进。
关注价值
ST 说明其 Rust 传感器驱动已上架 crates.io,并给出与 C 驱动对齐的 API 和 STM32 示例,可作为评估迁移路径的参考。
来源:ST官方技术博客 · blog.st.com