mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
11 lines
282 B
Rust
11 lines
282 B
Rust
#[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)]
|
|
pub(crate) enum Opcode {
|
|
/// Get the elapsed time in milliseconds
|
|
ElapsedMs,
|
|
|
|
/// Sleep for the specified numer of milliseconds
|
|
SleepMs,
|
|
|
|
/// Recalculate the sleep time
|
|
RecalculateSleep,
|
|
}
|