summaryrefslogtreecommitdiff
path: root/spb
diff options
context:
space:
mode:
authorBarry Golden <[email protected]>2019-09-06 05:20:38 -0700
committerGitHub <[email protected]>2019-09-06 05:20:38 -0700
commitbbe176e4e13cb9f963897173a935e639267a1a20 (patch)
tree34072ee3c72436e12433fd6b2166415aca3bd410 /spb
parent22af24719daf72029a70119cc6653d2a3b940549 (diff)
Diffstat (limited to 'spb')
-rw-r--r--spb/SkeletonI2C/README.md12
-rw-r--r--spb/SpbTestTool/README.md12
2 files changed, 2 insertions, 22 deletions
diff --git a/spb/SkeletonI2C/README.md b/spb/SkeletonI2C/README.md
index af9abe30..1e1efa4d 100644
--- a/spb/SkeletonI2C/README.md
+++ b/spb/SkeletonI2C/README.md
@@ -8,16 +8,6 @@ products:
- windows-wdk
---
-
-<!---
- name: Skeleton I2C Sample Driver
- platform: KMDF
- language: cpp
- category: SimplePeripheralBus
- description: Demonstrates how to design a KMDF controller driver for Windows that conforms to the simple peripheral bus (SPB) device driver interface (DDI).
- samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=617969
---->
-
# Skeleton I2C Sample Driver
The SkeletonI2C sample demonstrates how to design a KMDF controller driver for Windows that conforms to the [simple peripheral bus](http://msdn.microsoft.com/en-us/library/windows/hardware/hh450903) (SPB) device driver interface (DDI). SPB is an abstraction for low-speed serial buses (for example, I<sup>2</sup>C and SPI) that allows peripheral drivers to be developed for cross-platform use without any knowledge of the underlying bus hardware or device connections. While this sample implements an empty I<sup>2</sup>C driver, it could just as easily be the starting point for an SPI driver with only minor modifications.
@@ -127,4 +117,4 @@ Handles processing for both normal and error condition interrupts. Invokes `Cont
`ControllerCompleteTransfer`
-Invoked when an I/O completes or an error is detected. If this I/O is part of a sequence, `PbcRequestConfigureForIndex`() is called to prepare the next I/O; otherwise, the request is marked for completion. \ No newline at end of file
+Invoked when an I/O completes or an error is detected. If this I/O is part of a sequence, `PbcRequestConfigureForIndex`() is called to prepare the next I/O; otherwise, the request is marked for completion.
diff --git a/spb/SpbTestTool/README.md b/spb/SpbTestTool/README.md
index 522ce4ad..3f4c4680 100644
--- a/spb/SpbTestTool/README.md
+++ b/spb/SpbTestTool/README.md
@@ -8,16 +8,6 @@ products:
- windows-wdk
---
-
-<!---
- name: SpbTestTool sample
- platform: KMDF
- language: cpp
- category: SimplePeripheralBus
- description: Demonstrates how to open a handle to the SPB controller, use the SPB interface from a KMDF driver, and employ GPIO.
- samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=617970
---->
-
# SpbTestTool
The SpbTestTool sample serves two purposes. First, it demonstrates how to open a handle to the [SPB controller](http://msdn.microsoft.com/en-us/library/windows/hardware/hh698220), use the SPB interface from a KMDF driver, and employ GPIO [passive-level interrupts](http://msdn.microsoft.com/en-us/library/windows/hardware/hh451035). Second, it implements a set of commands for communicating with a peripheral device to aid in debugging.
@@ -124,4 +114,4 @@ internal.h | Common includes and function definitions
main.cpp | Application entry point, input parsing, and main execution loop. Also contains the interrupt notification thread.
makefile | Redirects to the real makefile that is shared by all components of the WDK.
sources | Lists source files and build options.
-util.cpp | Helper functions \ No newline at end of file
+util.cpp | Helper functions