User`s guide

1 Customizing xPC Target™ Drivers
Before You Star t
In this section...
“Introduction” on page 1-8
“Driver Types” on page 1-9
“Bus Types and Register Access” on page 1-9
“Register Access” on page 1-10
“Inlining xPC Target Drivers” on page 1-10
Introduction
This topic assumes that you satisfy the requirements outlined earlier in
“Expected Background” o n page 1-3 and that you have review ed the following
sections to prepare:
“References” on page 1-4
“Source Code” on page 1-5
“xPC Target Exported Functions” on page 1-6
“Third-Party Directory” on page 1-6
It also assumes that you already have a board for which you want to write
a driver. Before you start, use the following checklist to specify the driver
you want to write:
Determine the functions of your board that you want to access with your
driver.
Determinethebustypefortheboard.
- PCI
- ISA
Select the I/O access mapping type.
- I/O port mapped
- Memory address mapped
1-8