File tree Expand file tree Collapse file tree 22 files changed +100
-23
lines changed Expand file tree Collapse file tree 22 files changed +100
-23
lines changed Original file line number Diff line number Diff line change 1
1
//! Cyclic Redundancy Check (CRC)
2
+ //!
3
+ //! # Examples
4
+ //!
5
+ //! - [CRC example](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/crc.rs)
2
6
3
7
use core:: convert:: TryInto ;
4
8
use core:: fmt;
Original file line number Diff line number Diff line change 1
1
//! Digital to Analog Converter (DAC)
2
+ //!
3
+ //! # Examples
4
+ //!
5
+ //! - [Simple DAC example](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/dac.rs)
2
6
3
7
use core:: marker:: PhantomData ;
4
8
use core:: mem:: MaybeUninit ;
Original file line number Diff line number Diff line change 73
73
//! * [next_transfer_with](Transfer#method.next_transfer_with)
74
74
//! * [next_dbm_transfer_with](Transfer#method.next_dbm_transfer_with)
75
75
//!
76
+ //! ## Examples
77
+ //!
78
+ //! - [Memory to Memory Transfer](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/dma.rs)
79
+ //! - [Memory to Memory Transfer using Master DMA(MDMA)](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/mdma.rs)
80
+ //! - [Using MDMA with multiple beats per burst](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/mdma_bursts.rs)
81
+ //!
76
82
//! ## Credits
77
83
//!
78
84
//! Adapted from
Original file line number Diff line number Diff line change 5
5
//! - SMSC LAN8742a
6
6
//! - Micrel KSZ8081R
7
7
//!
8
+ //! # Examples
9
+ //!
10
+ //! - [Simple link checker for the Nucleo-H743ZI2](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/ethernet-nucleo-h743zi2.rs)
11
+ //! - [Simple link checker for the STM32H747I-DISCO](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/ethernet-stm32h747i-disco.rs)
12
+ //! - [Ethernet example for the STM32H747I-DISCO using RTIC](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/ethernet-rtic-stm32h747i-disco.rs)
8
13
9
14
/// Station Management Interface (SMI) on an ethernet PHY
10
15
pub trait StationManagement {
Original file line number Diff line number Diff line change 1
1
//! External interrupt controller
2
+ //!
3
+ //! # Examples
4
+ //!
5
+ //! - [External Interrupt via Button](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/exti_interrupt.rs)
2
6
use crate :: stm32:: EXTI ;
3
7
4
8
/// EXTI trigger event
Original file line number Diff line number Diff line change 25
25
//!
26
26
//! `sdram` usage is described
27
27
//! [here](https://github.com/stm32-rs/stm32-fmc#usage).
28
+ //!
29
+ //! # Examples
30
+ //!
31
+ //! - [FMC example using the IS42S32800G SDRAM](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/fmc.rs)
28
32
29
33
// From stm32_fmc
30
34
use stm32_fmc:: FmcPeripheral ;
Original file line number Diff line number Diff line change 1
1
//! General Purpose Input / Output
2
+ //!
3
+ //! # Examples
4
+ //!
5
+ //! - [Simple Blinky](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/blinky.rs)
6
+ //! - [Digital Read](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/digital_read.rs)
7
+ //! - [External Interrupt via Button](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/exti_interrupt.rs)
2
8
3
9
use core:: marker:: PhantomData ;
4
10
Original file line number Diff line number Diff line change 1
1
//! Inter Integrated Circuit (I2C)
2
+ //!
3
+ //! # Examples
4
+ //!
5
+ //! - [I2C simple examples](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/i2c.rs)
6
+ //! - [I2C example using I2C4 and BDMA](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/i2c4_bdma.rs)
2
7
3
8
use core:: cmp;
4
9
use core:: marker:: PhantomData ;
Original file line number Diff line number Diff line change 1
- //! *See the examples folder for more usage examples*
1
+ //! *See the [ examples](https://github.com/stm32-rs/stm32h7xx-hal/tree/master/examples) folder for more usage examples*
2
2
//!
3
3
//! This Hardware Abstraction Layer (HAL) provides the following functionality:
4
4
//!
Original file line number Diff line number Diff line change 6
6
//!
7
7
//! Timers support up to 4 simultaneous PWM output channels
8
8
//!
9
+ //! ## Examples
10
+ //!
11
+ //! - [Simple example](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/pwm.rs)
12
+ //! - [Advanced example](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/pwm_advanced.rs)
13
+ //!
9
14
//! ## Usage
10
15
//!
11
16
//! ```rust
You can’t perform that action at this time.
0 commit comments