Device Drivers Code Samples (Compact 7)
3/12/2014
Windows Embedded Compact 7 contains the following code samples that apply to Device Drivers.
Warning
The sample code is only a starting point for development. As with any code, you must ensure proper error handling, identify security risks, and thoroughly test it before considering it for production use.
General
Feature area | Description | Location | Related topic |
---|---|---|---|
Introduction to Device Drivers |
Demonstrates how to create a device driver project from a sample stream driver, add functionality to control the hardware, and implement device driver features that are used by the OS and applications |
Implementing Your Device Driver white paper on the web or in %Program Files%\Windows Embedded Compact 7\Documentation |
Accelerometer Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Accelerometer Drivers |
Provides a sample implementation of an accelerometer model device driver (MDD) and a platform-dependent driver (PDD) |
%_WINCEROOT%\public\COMMON\oak\drivers\accelerometer |
|
Accelerometer Drivers |
Provides a sample accelerometer PDD for a system-on-a-chip (SOC) that is based on the Freescale i.MX31 processor |
%_WINCEROOT%\platform\common\src\soc\Freescale\mx31_fsl_v1\ACCELEROMETER\pdd |
|
Accelerometer Drivers |
Provides a sample accelerometer PDD for the Freescale i.MX31 board support package (BSP) |
%_WINCEROOT%\platform\IMX313DS\SRC\DRIVERS\ACCELEROMETER\PDD |
|
Accelerometer Drivers |
Demonstrates how to use the accelerometer APIs |
%_WINCEROOT%\platform\IMX313DS\SRC\TEST\ACCELEROMETER\AccSample |
Audio Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Audio Drivers |
Provides a simple volume and echo filter |
%_WINCEROOT%\public\COMMON\oak\drivers\acm\msfilter |
|
Audio Drivers |
Implements the GSM 6.10 voice encoding standard that was originally developed for digital cellular telephone encoding |
%_WINCEROOT%\public\COMMON\oak\drivers\acm\gsm610 |
|
Audio Drivers |
Implements a single audio device that is capable of playing and recording pulse code modulation (PCM) waveform audio |
%_WINCEROOT%\public\COMMON\oak\drivers\wavedev |
Battery Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Battery Drivers |
Provides a sample implementation of a battery driver |
%_WINCEROOT%\platform\IMX313DS\SRC\DRIVERS\BATTDRVR\MC13783 |
Bus Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Bus Drivers |
Scans the PCI bus and displays PCI configuration information |
%_WINCEROOT%\public\COMMON\oak\drivers\ceddk\test\pcienum |
|
Bus Drivers |
Finds and displays any Plug and Play ISA configuration headers |
%_WINCEROOT%\public\COMMON\oak\drivers\ceddk\test\isaenum |
Camera Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Camera Drivers |
Provides a sample implementation of a camera PDD |
%_WINCEROOT%\public\COMMON\oak\drivers\Capture\camera\layered\pdd_null |
|
Camera Drivers |
Provides a sample implementation of a camera MDD |
%_WINCEROOT%\public\COMMON\oak\drivers\Capture\camera\layered\MDD |
Display Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Display Drivers |
Provides a sample implementation of an ATI Rage XL Expert 98 (Warbird) display driver |
%_WINCEROOT%\public\COMMON\oak\drivers\display\ragexl |
|
Display Drivers |
Provides a sample display driver for the VGA linear (flat) framebuffer driver |
%_WINCEROOT%\public\COMMON\oak\drivers\display\vgaflat |
|
Display Drivers |
Provides header files that define DirectDraw display driver data structures, class definitions, and function and variable prototypes |
%_WINCEROOT%\public\COMMON\oak\inc |
Flash Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
NOR flash |
Provides a sample MirrorBit NOR flash driver |
%_WINCEROOT%\public\COMMON\oak\drivers\block\msflashfmd\fasl |
|
NOR flash |
Provides a sample NOR flash Strataflash |
%_WINCEROOT%\public\COMMON\oak\drivers\block\msflashfmd\strata\stratad |
|
NAND flash |
Provides a sample SD NAND flash PCI driver |
%_WINCEROOT%\public\COMMON\oak\drivers\block\msflashfmd\sdnpci\sdnpcid |
|
OneNAND Flash |
Provides a sample MDD/PDD OneNAND flash driver |
%_WINCEROOT%\public\COMMON\oak\drivers\block\msflash\PddDrivers\Samsung\OneNand |
Printer Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Printer Drivers |
Provides a driver for printers that support the Printer Control Language (PCL) interface |
%_WINCEROOT%\public\COMMON\oak\drivers\printer |
|
Printer Drivers |
Provides support for printing over a USB connection |
%_WINCEROOT%\public\COMMON\oak\drivers\usb\class\printer |
Serial Port Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Serial Port Drivers |
Provides lower-layer code to support any number of bus-attached (non-removable) 16x50 serial UARTs |
%_WINCEROOT%\public\COMMON\oak\drivers\serial\com16550 |
|
Serial Port Drivers |
Provides a sample installable interrupt service routine (ISR) for the SER16550 serial library |
%_WINCEROOT%\public\COMMON\oak\drivers\serial\isr16550 |
|
Serial Port Drivers |
Provides common code for the serial driver PDD 16550 |
%_WINCEROOT%\public\COMMON\oak\drivers\serial\oo16550 |
|
Serial Port Drivers |
Provides a library for supporting 16550-compatible UARTs |
%_WINCEROOT%\public\COMMON\oak\drivers\serial\ser16550 |
|
Serial Port Drivers |
Provides common code for the serial PDD |
%_WINCEROOT%\public\COMMON\oak\drivers\serial\serpddcm |
|
Serial Port Drivers |
Implements a USB function serial client driver |
%_WINCEROOT%\public\COMMON\oak\drivers\UsbFn\class\Serial |
|
Serial Port Drivers |
Provides serial device functions for the Freescale BSPs |
%_WINCEROOT%\platform\common\src\soc\Freescale\mx31_fsl_v1\SERIAL %_WINCEROOT%\platform\common\src\soc\Freescale\mxarm11_fsl_v1\SERIAL %_WINCEROOT%\platform\common\src\soc\iMX27_MS_v2\Serial |
Storage/Memory Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Storage Drivers (Block) |
Provides an ATAPI PCI/IDE storage block driver |
%_WINCEROOT%\public\COMMON\oak\drivers\block\atapi |
|
Storage Drivers (Block) |
Provides a USB host mass storage client driver |
%_WINCEROOT%\public\COMMON\oak\drivers\usb\class\storage\class %_WINCEROOT%\public\COMMON\oak\drivers\usb\class\storage\disk\SCSI2 |
|
Storage Drivers (Block) |
Provides a USB function mass storage driver |
%_WINCEROOT%\public\COMMON\oak\drivers\UsbFn\class\storage\transport\bot |
|
Direct Memory Access (DMA) |
Provides a sample implementation of DMA abstraction |
%_WINCEROOT%\platform\common\src\soc\x86_ms_v1\dma8237 |
|
File Systems |
Provides a sample file system driver |
%_WINCEROOT%\public\COMMON\oak\drivers\fsd\fsdspy |
|
Timer Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
Timer Drivers |
Provides a timer driver sample |
%_WINCEROOT%\public\COMMON\oak\drivers\mmtimer |
USB Drivers
Feature area | Description | Location | Related topic |
---|---|---|---|
USB Function Drivers |
Provides a sample Netchip NET2280 USB 2.0 function bus driver |
%_WINCEROOT%\public\COMMON\oak\drivers\UsbFn\controller\net2280 |