Crates.io | asm-delay-embedded-time |
lib.rs | asm-delay-embedded-time |
version | 0.9.1 |
source | src |
created_at | 2022-05-21 05:06:05.443948 |
updated_at | 2022-05-21 05:06:05.443948 |
description | no_std implementation of embedded-hal DelayMs & DelayUs based on arm::delay, featuring embedded-time |
homepage | |
repository | https://github.com/andyblarblar/asm-delay-embedded-time |
max_upload_size | |
id | 590589 |
size | 11,542 |
asm-delay
no_std implementation of embedded-hal's DelayMs & DelayUs for cortex-m.
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);
API Docs available on docs.rs.
Licensed under