Bewerken

Delen via


Simple peripheral bus (SPB) driver samples

The driver samples in this directory provide a starting point for writing a custom SPB driver for your device.

Sample Description
Skeleton I2C Sample Driver Demonstrates how to design a KMDF controller driver for Windows that conforms to the simple peripheral bus (SPB) device driver interface (DDI). SPB is an abstraction for low-speed serial buses (for example, I2C and SPI) that allows peripheral drivers to be developed for cross-platform use without any knowledge of the underlying bus hardware or device connections.
SpbTestTool Demonstrates how to open a handle to the SPB controller, use the SPB interface from a KMDF driver, and employ GPIO passive-level interrupts.