File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
17
17
- Make writing raw bits to a whole register safe if the SVD indicates
18
18
so through the <WriteConstraint > element (see [ v0.7.1] too).
19
19
- Remove lint #![ deny(const_err)] as it is a hard error in Rust now
20
+ - Add doc of using ` critical-section `
20
21
21
22
## [ v0.26.0] - 2022-10-07
22
23
Original file line number Diff line number Diff line change 185
185
//! let panics = stm32f30x::Peripherals::take().unwrap();
186
186
//! ```
187
187
//!
188
+ //! This method needs an implementation of `critical-section`. You can implement it yourself or
189
+ //! use the implementation provided by the target crate like `cortex-m`, `riscv` and `*-hal` crates.
190
+ //! See more details in the [`critical-section`](https://crates.io/crates/critical-section) crate documentation.
191
+ //!
188
192
//! The singleton property can be *unsafely* bypassed using the `ptr` static method which is
189
193
//! available on all the peripheral types. This method is useful for implementing safe higher
190
194
//! level abstractions.
You can’t perform that action at this time.
0 commit comments