11个不稳定版本 (5个重大变更)

0.14.0 2021年4月9日
0.13.0 2020年11月28日
0.12.3 2020年9月7日
0.12.1 2020年5月3日
0.9.0 2019年9月3日

#765 in 操作系统

Download history 43/week @ 2024-03-11 29/week @ 2024-03-18 47/week @ 2024-03-25 70/week @ 2024-04-01 22/week @ 2024-04-08 23/week @ 2024-04-15 29/week @ 2024-04-22 24/week @ 2024-04-29 33/week @ 2024-05-06 25/week @ 2024-05-13 26/week @ 2024-05-20 16/week @ 2024-05-27 20/week @ 2024-06-03 23/week @ 2024-06-10 24/week @ 2024-06-17 26/week @ 2024-06-24

94 每月下载量
用于 11 个crate(直接使用10个)

MIT/Apache

250KB
347 代码行(不含注释)

crates.io maintenance

Drone STM32 Map

STM32外设映射用于Drone嵌入式操作系统。

此crate使用由CMSIS-SVD文件提供的STMicroelectronics来自动生成Drone寄存器和中断绑定。然而,相应的参考手册是唯一的真实来源。此crate的绑定与参考手册之间的差异被视为错误。修复此类错误不算是重大变更。

此crate重新导出drone_cortexm::map模块的内容,并可以作为它的直接替代品。

支持的设备

drone_stm32_map 核心名称 参考手册 可用功能
stm32f100 ARM® Cortex®-M3 r1p1 RM0041 dma gpio spi tim
stm32f101 ARM® Cortex®-M3 r1p1 RM0008 dma gpio spi tim
stm32f102 ARM® Cortex®-M3 r1p1 RM0008 dma gpio spi tim
stm32f103 ARM® Cortex®-M3 r1p1 RM0008 dma gpio spi tim
stm32f107 ARM® Cortex®-M3 r1p1 RM0008 dma gpio spi tim
stm32f303 ARM® Cortex®-M4F r0p1 RM0316 adc dma exti gpio i2c tim
stm32f401 ARM® Cortex®-M4F r0p1 RM0368 adc dma exti gpio i2c spi tim uart
stm32f405 ARM® Cortex®-M4F r0p1 RM0090 adc dma exti gpio i2c spi tim uart
stm32f407 ARM® Cortex®-M4F r0p1 RM0090 adc dma exti gpio i2c spi tim uart
stm32f410 ARM® Cortex®-M4F r0p1 RM0401 adc dma exti gpio i2c spi tim uart
stm32f411 ARM® Cortex®-M4F r0p1 RM0383 adc dma exti gpio i2c spi tim uart
stm32f412 ARM® Cortex®-M4F r0p1 RM0402 adc dma exti gpio i2c spi tim uart
stm32f413 ARM® Cortex®-M4F r0p1 RM0430 adc dma exti gpio i2c spi tim uart
stm32f427 ARM® Cortex®-M4F r0p1 RM0090 adc dma exti gpio i2c spi tim uart
stm32f429 ARM® Cortex®-M4F r0p1 RM0090 adc dma exti gpio i2c spi tim uart
stm32f446 ARM® Cortex®-M4F r0p1 RM0390 adc dma exti gpio i2c spi tim uart
stm32f469 ARM® Cortex®-M4F r0p1 RM0386 adc dma exti gpio i2c spi tim uart
stm32l4x1 ARM® Cortex®-M4F r0p1 RM0394 dma exti gpio i2c rtc spi tim uart
stm32l4x2 ARM® Cortex®-M4F r0p1 RM0394 dma exti gpio i2c rtc spi tim uart
stm32l4x3 ARM® Cortex®-M4F r0p1 RM0394 dma exti gpio i2c rtc spi tim uart
stm32l4x5 ARM® Cortex®-M4F r0p1 RM0351 dma exti gpio i2c rtc spi tim uart
stm32l4x6 ARM® Cortex®-M4F r0p1 RM0351 dma exti gpio i2c rtc spi tim uart
stm32l4r5 ARM® Cortex®-M4F r0p1 RM0432 adc dma exti gpio i2c rtc spi tim uart
stm32l4s5 ARM® Cortex®-M4F r0p1 RM0432 adc dma exti gpio i2c rtc spi tim uart
stm32l4r7 ARM® Cortex®-M4F r0p1 RM0432 adc dma exti gpio i2c rtc spi tim uart
stm32l4s7 ARM® Cortex®-M4F r0p1 RM0432 adc dma exti gpio i2c rtc spi tim uart
stm32l4r9 ARM® Cortex®-M4F r0p1 RM0432 adc dma exti gpio i2c rtc spi tim uart
stm32l4s9 ARM® Cortex®-M4F r0p1 RM0432 adc dma exti gpio i2c rtc spi tim uart

drone_stm32_map 配置标志应根据此表在应用程序级别设置。

文档

API 文档有意省略了自动生成的 [reg] 和 [thr] 绑定。否则,它将占用几个GB的空间,并且在浏览器中渲染会非常慢。应查阅参考手册。要了解无人机侧的API外观,请查看 drone_cortexm::map 模块文档。

用法

将crate添加到您的 Cargo.toml 依赖项中

[dependencies]
drone-stm32-map = { version = "0.15.0", features = [...] }

按如下方式添加或扩展 host 功能

[features]
host = ["drone-stm32-map/host"]

许可

在以下任一许可下授权

任选其一。

贡献

除非您明确表示,否则根据Apache-2.0许可证定义,您有意提交以包含在作品中的任何贡献,应按上述方式双重许可,不附加任何额外条款或条件。


lib.rs:

STM32外设映射用于Drone嵌入式操作系统。

依赖项

~4.5–6.5MB
~119K SLoC