Skip to content
master
Switch branches/tags
Code

Latest commit

348: Fix slightly misleading examples. r=adamgreig a=newAM

This is a bit of a nitpick; the examples provided for the peripherals use the cycle counter as an example, but it is not properly enabled, which is slightly misleading.  The examples only do `peripherals.DWT.enable_cycle_counter`, but this write may be ignored because tracing needs to be enabled first.

Co-authored-by: Alex Martens <alexmgit@protonmail.com>
6b01313

Git stats

Files

Permalink
Failed to load latest commit information.

crates.io crates.io

cortex-m

Low level access to Cortex-M processors

This project is developed and maintained by the Cortex-M team.

Documentation

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.38 and up. It might compile with older versions but that may change in any new patch release.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Code of Conduct

Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, the Cortex-M team, promises to intervene to uphold that code of conduct.