1 unstable release
0.9.1 | May 21, 2022 |
---|
#1001 in Embedded development
989 downloads per month
5KB
67 lines
asm-delay
no_std implementation of embedded-hal's DelayMs & DelayUs for cortex-m.
Basic usage
Include library as a dependency in your Cargo.toml :
[dependencies.asm_delay]
version = "<version>"
use embedded_hal::prelude::*;
use asm_delay::AsmDelay;
use asm_delay::bitrate::*;
let d = AsmDelay::new(64.mhz());
d.delay_ms(5);
Documentation
API Docs available on docs.rs.
License
Licensed under
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
lib.rs
:
no_std implementation of DelayMs and DelayUs for cortex-m
Dependencies
~1MB
~17K SLoC