# [Documentation](https://docs.rs/stm32h7xx-hal)
stm32h7xx-hal
=============
[![docs.rs](https://docs.rs/stm32h7xx-hal/badge.svg)](https://docs.rs/stm32h7xx-hal)
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/12691)
[![CI](https://github.com/stm32-rs/stm32h7xx-hal/workflows/Continuous%20integration/badge.svg)](https://github.com/stm32-rs/stm32h7xx-hal/actions)
[![Crates.io](https://img.shields.io/crates/v/stm32h7xx-hal.svg)](https://crates.io/crates/stm32h7xx-hal)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.59.0+-yellow.svg)
[_stm32h7xx-hal_](https://github.com/stm32-rs/stm32h7xx-hal) contains
a hardware abstraction layer on top of the peripheral access API for
the STMicro STM32H7xx family of microcontrollers. The idea behind this
crate is to gloss over the slight differences in the various
peripherals available on those MCUs so a HAL can be written for all
chips in that same family without having to cut and paste crates for
every single model.
This crate relies on Adam Greig's fantastic [stm32h7][] crate to provide
appropriate register definitions, and implements a partial set of the
[embedded-hal][] traits. Much of the implementation was adapted from
other HAL crates in the [stm32-rs organisation][stm32-rs].
Collaboration on this crate is highly welcome, as are pull requests!
Supported Configurations
------------------------
* __stm32h743v__ (Revision V: stm32h743, stm32h742, stm32h750)
* __stm32h753v__
* __stm32h747cm7__ (stm32h747, stm32h757)
* __stm32h7b3__
* __stm32h7b0__
* __stm32h7a3__
* __stm32h735__ (stm32h725, stm32h735)
#### Old revision STM32H742/743/750/753 parts
In 2019 ST released hardware Revision V of the stm32h742, stm32h743, stm32h750
and stm32h753 ([eevblog][]). This hardware revision makes breaking hardware
changes, documented in [AN5312][]. If you have a device purchased before
mid-2019, check the revision code on your device. Parts from the previous
revision (Revision Y) are supported by feature gates without the 'v'
suffix. (__stm32h743__, __stm32h753__)
#### Dual core parts (Cortex M7 + Cortex M4)
On dual core parts, currently only the Cortex M7 core is supported.
#### Flash memory size
By default this crate assumes a 2Mbyte flash size. To set a smaller limit for
linker errors, uncomment the correct `FLASH` section definition in memory.x
Getting Started
---------------
The [examples folder](examples/) contains several example programs. To compile
them, specify the target device in a cargo feature:
```
$ cargo build --features=stm32h743v,rt
```
See the [Examples README](examples/README.md) for more details.
To use stm32h7xx-hal as a dependency in a standalone project the
target device feature must be specified in the `Cargo.toml` file:
```toml
[dependencies]
cortex-m = "0.7.4"
cortex-m-rt = "0.7.1"
stm32h7xx-hal = {version = "0.12.2", features = ["stm32h743v","rt"]}
```
If you are unfamiliar with embedded development using Rust, there are
a number of fantastic resources available to help.
- [Embedded Rust Documentation](https://docs.rust-embedded.org/)
- [The Embedded Rust Book](https://docs.rust-embedded.org/book/)
- [Rust Embedded FAQ](https://docs.rust-embedded.org/faq.html)
- [rust-embedded/awesome-embedded-rust](https://github.com/rust-embedded/awesome-embedded-rust)
Hardware
--------
Below is a short list of publicly available and documented STM32H7
development boards. Note that including them on this list does not
mean they have been successfully tested with this crate. Some boards
have a Board Support Crate (BSP) offering pin mappings and additional
functionality.
Board | Manufacturer | BSP / Examples?
---|---|---
[NUCLEO-H743ZI](https://www.st.com/en/evaluation-tools/nucleo-h743zi.html) | ST | [Examples](https://github.com/astraw/nucleo-h743zi)
[NUCLEO-H745ZI-Q](https://www.st.com/en/evaluation-tools/nucleo-h745zi-q.html) | ST | [BSP](https://github.com/antoinevg/nucleo-h745zi)
[STM32H743I-EVAL](https://www.st.com/en/evaluation-tools/stm32h743i-eval.html) | ST |
[STM32H747I-EVAL](https://www.st.com/en/evaluation-tools/stm32h747i-eval.html) | ST |
[STM32H747I-DISCO](https://www.st.com/en/evaluation-tools/stm32h747i-disco.html) | ST |
[Daisy Seed](https://www.electro-smith.com/daisy/daisy) | Electrosmith | [BSP](https://github.com/antoinevg/daisy_bsp)
[Portenta H7](https://store.arduino.cc/portenta-h7) ⚠️ | Arduino |
[OpenH743I-C](https://www.waveshare.com/openh743i-c-standard.htm) | Waveshare |
[Toasty](https://www.tindie.com/products/webtronics/toasty-480mhz-stm32-usb-development-board/) | Webtronics |
⚠️: Programming this board via its USB connector requires interacting with
an unknown proprietary(?) bootloader. This bootloader may make it difficult
or impossible for you to load binaries not approved by Arduino. Alternative
programming interfaces are only available on the high density connectors.
Minimum supported Rust version
------------------------------
The Minimum Supported Rust Version (MSRV) at the moment is **1.59.0**. Older
versions **may** compile, especially when some features are not used
in your application.
Changelog
---------
See [CHANGELOG.md](CHANGELOG.md).
License
-------
0-Clause BSD License, see [LICENSE-0BSD.txt](LICENSE-0BSD.txt) for more details.
[stm32h7]: https://crates.io/crates/stm32h7
[stm32-rs]: https://github.com/stm32-rs
[embedded-hal]: https://github.com/rust-embedded/embedded-hal
[AN5312]: https://www.st.com/resource/en/application_note/dm00609692.pdf
[eevblog]: https://www.eevblog.com/forum/microcontrollers/stm32h7-series-revision-beware-of-the-changes!/
没有合适的资源?快使用搜索试试~ 我知道了~
STM32H7 系列微控制器的外设访问 API_rust_代码_相关文件_下载
共141个文件
rs:123个
md:6个
yml:4个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 101 浏览量
2022-07-06
16:46:14
上传
评论
收藏 324KB ZIP 举报
温馨提示
stm32h7xx-hal在 STMicro STM32H7xx 系列微控制器的外围访问 API 之上包含一个硬件抽象层。这个 crate 背后的想法是掩盖这些 MCU 上可用的各种外围设备的细微差别,以便可以为同一系列中的所有芯片编写 HAL,而无需为每个模型剪切和粘贴 crate。 这个 crate 依赖于 Adam Greig 出色的stm32h7 crate 来提供适当的寄存器定义,并实现了部分 嵌入的 hal特征集。大部分实现都改编自stm32-rs 组织中的其他 HAL crate 。 支持的配置 stm32h743v(修订版 V:stm32h743、stm32h742、stm32h750) stm32h753v stm32h747cm7 (stm32h747, stm32h757) stm32h7b3 stm32h7b0 stm32h7a3 stm32h735 (stm32h725, stm32h735) 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
STM32H7 系列微控制器的外设访问 API_rust_代码_相关文件_下载
(141个子文件)
config 257B
.gitattributes 24B
.gitignore 77B
CHANGELOG.md 14KB
README.md 6KB
README.md 4KB
RELEASING.md 826B
ITM.md 604B
README.md 273B
pwm.rs 63KB
spi.rs 55KB
sdmmc.rs 47KB
mod.rs 46KB
mdma.rs 44KB
serial.rs 42KB
mod.rs 39KB
mod.rs 35KB
dma.rs 34KB
i2c.rs 33KB
adc.rs 31KB
timer.rs 31KB
eth.rs 27KB
rtc.rs 27KB
pll.rs 27KB
i2s.rs 26KB
rec.rs 26KB
bdma.rs 24KB
octospi.rs 22KB
gpio.rs 21KB
flash.rs 17KB
pwr.rs 17KB
mod.rs 15KB
convert.rs 14KB
traits.rs 13KB
crc.rs 13KB
ltdc.rs 12KB
pwm_advanced.rs 12KB
pdm.rs 11KB
usb_hs.rs 10KB
fmc.rs 9KB
sai_dma_passthru.rs 8KB
delay.rs 8KB
ethernet-rtic-stm32h747i-disco.rs 8KB
qspi.rs 8KB
ethernet-rtic-stm32h735g-dk.rs 8KB
rng.rs 8KB
can.rs 7KB
exti.rs 7KB
macros.rs 7KB
mdma.rs 7KB
mod.rs 7KB
qei.rs 7KB
fmc.rs 6KB
dac.rs 6KB
lib.rs 6KB
mco.rs 6KB
usb_phy_serial_interrupt.rs 6KB
hal_02.rs 6KB
ethernet-nucleo-h743zi2.rs 6KB
spi-dma-rtic.rs 6KB
spi-dma.rs 6KB
watchdog.rs 6KB
exti.rs 5KB
serial-dma.rs 5KB
mdma_bursts.rs 5KB
rtic_low_power.rs 5KB
qspi_flash_memory.rs 5KB
sdmmc.rs 5KB
dynamic.rs 4KB
ethernet-stm32h747i-disco.rs 4KB
sai-i2s-passthru.rs 4KB
backup.rs 4KB
usb_rtic.rs 4KB
octospi_hyperram.rs 4KB
erased.rs 4KB
core_clocks.rs 4KB
usb_passthrough.rs 4KB
can-echo.rs 4KB
lan8742a.rs 4KB
qspi_mdma.rs 4KB
exti_interrupt.rs 3KB
spi_send_frames.rs 3KB
i2c4_bdma.rs 3KB
partially_erased.rs 3KB
rtic_timers.rs 3KB
dma.rs 3KB
crc.rs 3KB
sdmmc_fat.rs 3KB
usb_serial.rs 3KB
octospi.rs 3KB
spi_hardware_cs.rs 3KB
adc12_parallel.rs 3KB
logger.rs 3KB
temperature.rs 2KB
tick_lptimer.rs 2KB
adc.rs 2KB
tick_timer.rs 2KB
rtc.rs 2KB
signature.rs 2KB
time.rs 2KB
共 141 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 2w+
- 资源: 9157
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 白色简洁风格的优雅创意设计模板下载.zip
- 白色简洁风格的娱乐APP应用整站网站源码下载.zip
- 白色简洁风格的园艺修整整站网站源码下载.zip
- 白色简洁风格的远足旅行机构整站网站源码下载.zip
- 白色简洁风格的杂志列表展示源码下载.rar
- 白色简洁风格的运动会员信息登记源码下载.zip
- 白色简洁风格的运动品牌商城网站模板下载.zip
- 白色简洁风格的杂志主题网页CSS模板下载.zip
- 白色简洁风格的照相摄影源码下载.zip
- 白色简洁风格的照片浏览切换源码下载.rar
- 白色简洁风格的纸竹BLOG网页源码下载.zip
- 白色简洁风格的制造工厂建设整站网站源码下载.zip
- 白色简洁风格的重型汽车销售企业网站源码下载.zip
- 《1+X移动互联网应用开发初级》01-解析.docx
- 大学生党建系统:用户体验与功能优化
- JAVA源码+SpringBoot+vue+mysql+信息学科平台+数据库+指导文档
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功