⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module usb

Module usb 

Source
Expand description

USB Bus Driver

Implements USB host controller and device management.

This module is organized into submodules:

  • [device]: USB device types, descriptors, and bus-level device management
  • [host]: USB host controller trait and UHCI controller implementation
  • [transfer]: USB transfer types and UHCI transfer descriptors
  • mass_storage: USB Mass Storage Bulk-Only Transport driver

Modules§

hid
USB HID (Human Interface Device) Driver
hotplug
USB Hotplug Detection
mass_storage
USB Mass Storage Class Driver
usb_classes
USB device classes
xhci
xHCI (eXtensible Host Controller Interface) USB 3.x driver

Structs§

UhciController
Simple UHCI host controller implementation
UhciQh
UHCI Queue Head
UhciTd
UHCI Transfer Descriptor
UsbBus
USB bus implementation
UsbConfiguration
USB configuration descriptor
UsbDevice
USB device representation
UsbDeviceDescriptor
USB device descriptor
UsbEndpoint
USB endpoint descriptor
UsbInterface
USB interface descriptor
UsbPortStatus
USB port status

Enums§

UsbDirection
USB endpoint direction
UsbEndpointType
USB endpoint types
UsbSpeed
USB device speeds
UsbTransfer
USB transfer types

Traits§

UsbHostController
USB host controller trait

Functions§

get_usb_bus
Get the global USB bus
init
Initialize USB subsystem