mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-14 08:03:34 +00:00
17 lines
455 B
Rust
17 lines
455 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 {
|
|
/// Handle the USB interrupt
|
|
UsbIrqHandler,
|
|
/// Parse a commandlne
|
|
DoCmd,
|
|
/// Keyboard input
|
|
KeyboardChar,
|
|
/// Keyboard handler input
|
|
HandlerTrigger,
|
|
/// Suspend/resume callback
|
|
SuspendResume,
|
|
/// Exits the server
|
|
Quit,
|
|
}
|