16 releases (1 stable)
1.0.0 | Jan 28, 2024 |
---|---|
0.9.0 | Jul 12, 2020 |
0.8.1 | Jul 12, 2020 |
0.7.0 | Jun 4, 2019 |
0.5.1 | Mar 17, 2019 |
#243 in Embedded development
574 downloads per month
Used in sent-driver
4KB
62 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
~600KB