liveBook · Manning

Device driver

A device driver is system software that provides an interface for higher-level software to communicate with and control a specific hardware device.

How 2 Manning books explain it

Robotics for Programmers

Software that directly controls or communicates with a hardware device and exposes its capabilities to higher-level software.

How it is used
Connects robot hardware to higher-level software through operating-system APIs and abstraction layers.
How deep it goes
Explains driver placement and abstraction, then illustrates sensor conversion, but stops short of detailed embedded implementation.
Examples
Uses a thermistor, ADC register, voltage conversion, actuator chains, and a wrapped get_temperature() function.
What you can do after
Evaluate/understand when robotics code needs drivers and when higher-level APIs are sufficient.

Read how Robotics for Programmers explains device driver →

Embedded Software with Rust

A device driver is software that presents an interface for controlling and communicating with a hardware device.

How it is used
Uses drivers to access peripherals through safe, reusable interfaces and coordinate shared devices.
How deep it goes
Shows trait-based pin implementations and generic peripheral code, without detailing complete register-level implementations.
Examples
Demonstrates LED pin implementations, a generic blink function, and a UART echo loop.
What you can do after
Apply embedded-hal traits to write reusable peripheral code using HAL-provided implementations.

Read how Embedded Software with Rust explains device driver →

Also covered in

Related concepts

Questions about device driver

What is device driver?

A device driver is system software that provides an interface for higher-level software to communicate with and control a specific hardware device.

Which Manning books explain device driver?

Robotics for Programmers and Embedded Software with Rust.

What is device driver part of?

Device driver is part of network stack. A network stack is a layered set of protocols and software or hardware components that enables communication between applications and networked systems.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.