Skip to content

mcu-rust/timeout-trait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timeout-trait

CI Crates.io Docs.rs License Downloads

Traits used to wait and timeout in a no-std embedded system.

It requires an implementation of TickInstant. In return, it provides TickTimeout and TickDuration, which can be used for timeout-related operations. It also includes an implementation of DelayNs called TickDelay, suitable for bare-metal systems.

Cargo Features

  • std: Used for unit test. Disabled by default.

About

Traits used to wait and timeout in a no-std embedded system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages