asm-delay

Crates.ioasm-delay
lib.rsasm-delay
version1.0.0
sourcesrc
created_at2019-03-06 19:20:22.86516
updated_at2024-01-28 20:24:43.453075
descriptionno_std implementation of embedded-hal DelayMs & DelayUs based on arm::delay
homepage
repositoryhttps://github.com/copterust/asm-delay
max_upload_size
id119167
size5,335
Tools (github:rust-embedded:tools)

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: 41

cargo fmt