Many
Manuals
search
Categories
Brands
Home
MATLAB
Software
XPC TARGET 4 - DEVICE DRIVERS
User's Guide
MATLAB XPC TARGET 4 - DEVICE DRIVERS User's Guide Page 87
Download
Share
Sharing
Add to my manuals
Print
Page
/
111
Table of contents
BOOKMARKS
Rated
.
/ 5. Based on
customer reviews
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
8
I/O
Structures
—
By
Category
xpcPCIDevice
Type
definition
for
PCI
configuration
space
structure
xpcTime
Type
definition
of
time
structure
1
2
...
82
83
84
85
86
87
88
89
90
91
92
...
110
111
Device Drivers
1
508-647-7000 (Phone)
2
508-647-7001 (Fax)
2
The MathWorks, Inc
2
3 Apple Hill Drive
2
Natick, MA 01760-2098
2
Revision History
3
Contents
5
Driver Authoring Tool
7
I/O Structures — By Category
8
I/O Functions — By Category
8
Customizing xPC Target
9
Introduction
10
References
12
Source Code
13
MathWorks Consulting
13
Third-Party Directory
14
Block mask
15
Mask editor
15
Mask initialization (M-file)
15
Before You Star t
16
- I/O port mapped
16
- Memory address mapped
16
- Input and output ports
17
- Mask parameters
17
Register Access
18
Inlining xPC Target Drivers
18
Creating a Custom Driver
19
Creating a C ustom Driver
21
Debugging Notes
24
PCI Drivers
25
PCI Bus Considerations
26
PCI Configuration Space API
27
2 PCI Drivers
28
Sample PCI Device Driver
32
ISA and PC/104 Drivers
33
3 ISA and PC/104 Drivers
34
Memory Mapped
35
Masking Drivers
37
4 Masking Drivers
38
Driver Mask Guidelines
39
Cross-Block Checking
41
When You Are Done
42
Sample Driver Mask
43
Interrupt Support
49
5 Interrupt Support
50
Adding Interrupt Support
55
6 Save and close the file
57
- Async IRQ Source block
59
• your_company_name_boardStop
63
PostHook
64
Argument
66
See Also xpcPCIDevice
66
Custom xPC Target Driver
69
S-Function Guidelines
70
DMA Considerations
73
Passing Parameters
74
Accessing Registers
75
• Structure
76
Creating Custom Drivers
77
Using the xPC T arget
77
Setting Up Driver Variables
80
3 In the M ain tab, enter:
81
Saving the Configuration
83
Reloading the Configuration
84
Creating the C File Template
84
3 Click the Build button
85
I/O Structures — By
87
Category
87
I/O Structures — By Catego ry
88
I/O Structures —
89
Alphabetical List
89
BaseAddress to a virtual
92
VirtAddress field
92
I/O Functions — By
95
Por t I/O
96
PCI Configur
96
Physical Memory
96
Miscellaneous
97
I/O Functions — By C atego ry
98
I/O Functions —
99
Free physical memory
102
Free specified m e mory
102
Arguments
103
XPC_NO_SUB for s ubDeviceId
105
See Also xpcGetPCIDeviceInfo
110
Comments to this Manuals
No comments
Publish
Related products and manuals for Software MATLAB XPC TARGET 4 - DEVICE DRIVERS
Software MATLAB GAUGES BLOCKSET RELEASE NOTES User's Guide
(114 pages)
Software MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Specifications
(126 pages)
Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifications
(216 pages)
Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User's Guide
(386 pages)
Software MATLAB BUILDER EX 1 User's Guide
(164 pages)
Software MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 User's Guide
(252 pages)
Software MATLAB SYSTEMTEST RELEASE NOTES Installation Guide
(237 pages)
Software MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES User Manual
(54 pages)
Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Service Manual
(282 pages)
Software MATLAB PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1 User Manual
(18 pages)
Software MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES User's Guide
(574 pages)
Software MATLAB IMAGE ACQUISITION TOOLBOX 3 User's Guide
(408 pages)
Software MATLAB XPC TARGET RELEASE NOTES User Manual
(51 pages)
Software MATLAB BUILDER JA 2 User's Guide
(292 pages)
Software MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS User's Guide
(210 pages)
Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User's Guide
(759 pages)
Software MATLAB CONTROL SYSTEM TOOLBOX 9 Specifications
(591 pages)
Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User's Guide
(130 pages)
Software MATLAB XPC TARGET RELEASE NOTES User's Guide
(531 pages)
Software MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES User's Guide
(216 pages)
Print document
Print page 87
Comments to this Manuals