xous-core/services/usb-test/src/api.rs
2022-03-31 04:37:54 +08:00

9 lines
273 B
Rust

pub(crate) const SERVER_NAME_USBTEST: &'static str = "_USB test and development server_";
#[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)]
pub(crate) enum Opcode {
/// Suspend/resume callback
SuspendResume,
/// Exits the server
Quit,
}