Hardware Support
Interface with specific CPU or other hardware features.
For operating system interaction, you'll often use system calls. For external peripherals, you'll need to find or create crates that provide access to the specific device. For embedded systems, HAL crates are essential.
Processor Management
Recipe | Crates | Categories |
---|---|---|
Check the Number of Logical cpu Cores | ||
SIMD (Single Instruction, Multiple Data) Operations | [![std::arch][c-std::arch-badge]][c-std::arch] |
FIXME
Peripheral Devices
FIXME
Memory-mapped I/O
Interact with hardware registers in embedded systems.
FIXME
Interrupts
Hardware signals the CPU through interrupts.
FIXME
Device Drivers
Software that interfaces between the operating system and hardware.
Hardware Protocols
FIXME how devices communicate with each other
Related Topics
Memory Management
See Memory Management.
Operating System Interaction - System Calls
User-space programs request services from the operating system kernel via system calls.
std::os::unix
provides access to Unix-specific system calls.std::os::windows
provides access to Windows-specific system calls.
See FreeBSD APIs, Linux APIs, macOS APIs, Unix APIs, Windows APIs and Rust OSes.
no_std
Environments
core
provides the bare minimum for writing code without the standard library.alloc
provides memory allocation APIs forno-std
environments.
See no std
.
Embedded Systems
See Embedded Systems.