asm-delay-embedded-time

Crates.ioasm-delay-embedded-time
lib.rsasm-delay-embedded-time
version0.9.1
sourcesrc
created_at2022-05-21 05:06:05.443948
updated_at2022-05-21 05:06:05.443948
descriptionno_std implementation of embedded-hal DelayMs & DelayUs based on arm::delay, featuring embedded-time
homepage
repositoryhttps://github.com/andyblarblar/asm-delay-embedded-time
max_upload_size
id590589
size11,542
Andrew Ealovega (andyblarblar)

documentation

README

asm-delay

no_std implementation of embedded-hal's DelayMs & DelayUs for cortex-m.

Build Status

Basic usage

Include library as a dependency in your Cargo.toml crates.io:

[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

Commit count: 43

cargo fmt