MATLAB XPC TARGET 4 - DEVICE DRIVERS Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Software MATLAB XPC TARGET 4 - DEVICE DRIVERS.
Wir stellen 1 PDF-Handbücher MATLAB XPC TARGET 4 - DEVICE DRIVERS zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Betriebsanweisung


Inhaltsverzeichnis

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





Weitere Produkte und Handbücher für Software MATLAB

Modelle Dokumententyp
GAUGES BLOCKSET RELEASE NOTES Betriebsanweisung   MATLAB GAUGES BLOCKSET RELEASE NOTES User`s guide, 114 Seiten
EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Spezifikationen   MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Specifications, 126 Seiten
SIMULINK 7 - GRAPHICAL USER INTERFACE Spezifikationen   MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifications, 216 Seiten
REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Betriebsanweisung   MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User`s guide [en] , 386 Seiten
BUILDER EX 1 Betriebsanweisung   MATLAB BUILDER EX 1 User`s guide [en] [es] , 164 Seiten
VIDEO AND IMAGE PROCESSING BLOCKSET 3 Betriebsanweisung   MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 User`s guide, 252 Seiten
SYSTEMTEST RELEASE NOTES Installationsanleitung   MATLAB SYSTEMTEST RELEASE NOTES Installation guide, 237 Seiten
TARGET SUPPORT PACKAGE - RELEASE NOTES Bedienungsanleitung   MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES User manual [en] , 54 Seiten
REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Wartungshandbuch   MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Technical data [en] , 282 Seiten
PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1 Bedienungsanleitung   Lab #4, 18 Seiten
IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Betriebsanweisung   MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES User`s guide, 574 Seiten
IMAGE ACQUISITION TOOLBOX 3 Betriebsanweisung   MATLAB IMAGE ACQUISITION TOOLBOX 3 User`s guide, 408 Seiten
XPC TARGET RELEASE NOTES Bedienungsanleitung   MATLAB XPC TARGET RELEASE NOTES User manual, 51 Seiten
BUILDER JA 2 Betriebsanweisung   MATLAB BUILDER JA 2 User`s guide, 292 Seiten
SIMULINK 7 - DEVELOPING S-FUNCTIONS Betriebsanweisung   MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS User`s guide, 210 Seiten
SIMULINK 7 - GRAPHICAL USER INTERFACE Betriebsanweisung   MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User`s guide [en] , 759 Seiten
CONTROL SYSTEM TOOLBOX 9 Spezifikationen   MATLAB CONTROL SYSTEM TOOLBOX 9 Specifications [en] , 591 Seiten
REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Betriebsanweisung   MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User`s guide, 130 Seiten
XPC TARGET RELEASE NOTES Betriebsanweisung   MATLAB XPC TARGET RELEASE NOTES User`s guide, 531 Seiten
CURVE FITTING TOOLBOX - RELEASE NOTES Betriebsanweisung   MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES User`s guide, 216 Seiten