Expand description
Registry of VFS control command kind bytes (file_system::define_command!).
Each device class uses a distinct 1-byte kind identifier encoded into
[file_system::ControlCommandIdentifier]. Existing kind bytes are part of
the stable VFS control ABI and must not be changed.
| Kind byte | Hex | Device class | Owning module / crate |
|---|---|---|---|
b'A' | 0x41 | Audio | device::audio / audio |
b'B' | 0x42 | Block device | file_system::block_device |
b'D' | 0x44 | Screen / display | device::screen / graphics |
b'E' | 0x45 | Executable | executable |
b'F' | 0x46 | Firmware update | firmware_update::device |
b'H' | 0x48 | Hash accelerator | device::hash |
b'N' | 0x4E | Neural network | device::neural_network / drivers_neural_network |
b'P' | 0x50 | System power | device::power / drivers_peripherals::power |
b'T' | 0x54 | Terminal / character | file_system::character_device |
b'L' | 0x4C | Bluetooth LE | device::bluetooth / bluetooth |
b'a' | 0x61 | ADC | device::adc / drivers_peripherals::adc |
b'g' | 0x67 | GPIO | device::gpio / drivers_peripherals::gpio |
b'h' | 0x68 | Human interface emulation | device::human_interface / drivers_peripherals::human_interface |
b'i' | 0x69 | I2C | device::i2c / drivers_peripherals::i2c |
b'n' | 0x6E | Network interface | network |
b'p' | 0x70 | PWM | device::pwm / drivers_peripherals::pwm |
b'r' | 0x72 | Real-time clock | device::real_time_clock / drivers_peripherals::real_time_clock |
b's' | 0x73 | SPI | device::spi / drivers_peripherals::spi |
b'u' | 0x75 | UART | device::uart / drivers_peripherals::uart |
b'w' | 0x77 | Wi-Fi | network |
Constantsยง
- ADC
- Analog-to-digital converter (
b'a'). - ALL
- All registered VFS control command kind bytes.
- AUDIO
- Audio playback and stream control (
b'A'). - BLOCK_
DEVICE - Generic block device geometry queries (
b'B'). - BLUETOOTH
- Bluetooth Low Energy host.
- EXECUTABLE
- Native executable launch entry point query (
b'E'). - FIRMWARE_
UPDATE - Firmware update transaction control (
b'F'). - GPIO
- General-purpose input/output line (
b'g'). - HASH
- Hardware or software cryptographic hash device (
b'H'). - HUMAN_
INTERFACE - Human interface emulation device, acting as a keyboard, media remote and mouse toward
the connected computer (
b'h'). - I2C
- Inter-Integrated Circuit bus endpoint (
b'i'). - NETWORK
- Network interface configuration and routing (
b'n'). - NEURAL_
NETWORK - Neural network inference device (
b'N'). - POWER
- System power actions: power off, restart, sleep (
b'P'). - PWM
- Pulse-width modulation channel (
b'p'). - REAL_
TIME_ CLOCK - Real-time clock: wall-clock time (UTC) kept across resets and power-off (
b'r'). - SCREEN
- Screen / display control and screenshot requests (
b'D'). - SPI
- Serial Peripheral Interface endpoint (
b's'). - TERMINAL
- Terminal capability query and line discipline attributes on character
devices (
b'T'). - UART
- Universal Asynchronous Receiver-Transmitter endpoint (
b'u'). - WIFI
- Wi-Fi radio, scan, and client association control (
b'w').