Intel cPCI-7200 manual 13 7200AllocDMAMem, 38 ∙ C/C++ Libraries

Page 48

5.13 _7200_Alloc_DMA_Mem

@ Description

Contact Windows 95/98 system to allocate a block of contiguous memory for single-buffered DMA transfer. This function is only available in Windows 95/98 version.

@ Syntax

Visual C++ (Windows 95)

int W_7200_Alloc_DMA_Mem (U32 *buff, U32 *handle, U32 buf_size, U32 *actual_size)

Visual Basic (Windows 95)

W_7200_Alloc_DMA_Mem (buff As Long, handle As Long, ByVal buf_size As Long, actual_size As Long ) As Long

@ Argument

buff : The start address of the user buffer for DMA data transfer. This buffer will be attached to the DMA memory allocated by this function. When using this DMA memory handle as an argument of W_7200_DI_DMA_Start function, DI data will be copied to this buffer. When using this DMA memory handle as an argument of W_7200_DO_DMA_Start function, the data stored in this buffer will be the

DO data.

handle: The handle of system DMA memory returned from system. Use this handle in _7200_DI_DMA_Start or _7200_DO_DMA_Start. buf_size: Bytes to allocate. Please be careful, the unit of this parameter is BYTE, not SAMPLE.

actual_size: The actual size system allocate for DMA memory. The unit is BYTE. If system is not able to get a block of contiguous memory of specified buf_size, it will allocate a block of memory as large as it can. In this case, this function returns ERR_SmallerDMAMemAllocated, and actual_size denotes the actual size of allocated memory.

@ Return Code

ERR_NoError

ERR_SmallerDMAMemAllocated

38 C/C++ Libraries

Image 48
Contents NuDAQ / NuIPC PCI-7200 / cPCI-7200 Page Trademarks Page Getting service from Adlink QuestionsPage Table of Contents 7200DITimer Ii ∙ Table of ContentsProgramming Guide 7200DI 7200DIChannelPage How to Use This Guide Introduction ApplicationsIntroduction ∙ Features SpecificationsMaximum Transfer Speed ∙ IntroductionConnector DimensionPower Consumption Input VoltageSoftware Supporting Programming LibraryPCIS-LVIEW LabVIEW Driver PCIS-ISG ISaGRAFTM driver Installation Installation ∙What You Have Device Installation for Windows Systems ∙ InstallationUnpacking CPCI/PCI-7200’s Layout PCI -Bus Controller1b cPCI-7200 Layout Diagram 10 ∙ Installation Hardware Installation Outline Hardware configurationConnector Pin Assignments CN1 Pin Assignments 12 ∙ InstallationCN2 Pin Assignments Installation ∙ 14 ∙ Installation CPCI-7200 Pin Assignments8254 for Timer Pacer Generation 8254 configurationRegisters Format I/O Registers Format16 ∙ Registers Format Digital Input Register Base + Digital Output Register Base +DIO Status & Control Register Base + Digital Input Mode Setting Digital Output Mode Setting18 ∙ Registers Format Interrupt Status & Control Register Base + 1C Digital I/O Fifo StatusAddress Base + 1C Attribute READ/WRITE Data Format Interrupt ControlTimer Configuration Control 20 ∙ Registers FormatIreq Polarity Selection Fifo Control and Status cPCI-7200 onlyFifoff Read only Full flag of the DI Fifo 1 DI Fifo is full 8254 Timer Registers Base + 22 ∙ Registers FormatOperation Theorem Direct Program ControlOperation Theorem ∙ Timer Pacer Mode Timer24 ∙ Operation Theorem External Clock Mode HandshakingInreq Inack 26 ∙ Operation TheoremTiming Characteristic ≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns≥ 0ns ≥ 60ns ≥ 2 PCI CLK Cycle ≥ 1 PCI CLK Cycle Outreq O REQ Outack O ACK Libraries Installation ++ Libraries30 ∙ C/C++ Libraries Programming Guide ++ Libraries ∙7200Initial Visual C++ WindowsVisual Basic Windows ++ DOS7200SwitchCardNo 7200AUXDI7200AUXDIChannel 7200AUXDO34 ∙ C/C++ Libraries 7200AUXDOChannel 7200DI10 7200DIChannel 11 7200DO36 ∙ C/C++ Libraries 12 7200DOChannel 13 7200AllocDMAMem 38 ∙ C/C++ Libraries14 7200FreeDMAMem 15 7200AllocDBDMAMem16 7200FreeDBDMAMem 17 7200DIDMAStart40 ∙ C/C++ Libraries ++ Libraries ∙ 42 ∙ C/C++ Libraries 18 7200DIDMAStatus Clearfifo19 7200DIDMAStop 20 7200DblBufferMode44 ∙ C/C++ Libraries 21 7200CheckHalfReady 22 7200DblBufferTransfer23 7200GetOverrunStatus 24 7200DODMAStart46 ∙ C/C++ Libraries 25 7200DODMAStatus ModeThis memory should be double-word alignment 26 7200DODMAStop 48 ∙ C/C++ Libraries27 7200DITimer @ Argument28 7200DOTimer 50 ∙ C/C++ LibrariesInt W7200DOTimer U16 c1, U16 c2, Booelan mode Double Buffer Mode Principle 52 ∙ Double Buffer Mode PrincipleDouble Buffer Mode Principle ∙ Limitation 54 ∙ LimitationProduct Warranty/Service Product Warranty/Service ∙

PCI-7200, cPCI-7200 specifications

The Intel cPCI-7200 is a high-performance, rugged computing platform designed to meet the demands of embedded and telecommunications applications. As a part of Intel’s CompactPCI family, the cPCI-7200 highlights the commitment to providing advanced processing capabilities in a flexible and modular form factor.

One of the standout features of the cPCI-7200 is its powerful multicore processing capabilities. It is equipped with Intel's latest x86 architecture, offering multiple cores that enable efficient execution of parallel tasks. This makes the cPCI-7200 particularly suitable for applications requiring real-time processing, such as network and communication systems. Additionally, the system supports high-speed data transfer, essential for bandwidth-intensive applications.

The cPCI-7200 also integrates advanced I/O technologies, ensuring that users can connect various peripherals and devices. With support for PCI Express, Ethernet, and other high-speed interfaces, the system provides a robust communication backbone for data-intensive applications. The modular design of CompactPCI allows for easy expansion, accommodating custom I/O cards as per specific application needs.

Built to function in harsh environments, the cPCI-7200 is designed with ruggedness in mind. It meets stringent environmental standards, which include resistance to shock, vibration, and temperature extremes. This makes the platform especially suitable for deployment in aerospace, military, and industrial settings where reliability is critical.

Furthermore, the Intel cPCI-7200 incorporates extensive power management features, which enhance overall system efficiency and reduce energy consumption. The adaptive power management capabilities enable the system to adjust power usage based on workload requirements, making it an eco-friendly option in comparison to other embedded systems.

Another significant characteristic of the cPCI-7200 is its scalability. The system can accommodate varying performance levels depending on application demands. Users can select from various processing options and add or remove resources as required, making this platform not only versatile but also cost-effective in the long run.

In summary, the Intel cPCI-7200 is a powerful, flexible, and rugged computing solution that caters to the evolving needs of embedded and telecommunications markets. With its advanced processing capabilities, extensive I/O options, rugged construction, energy-efficient design, and scalable architecture, it stands out as a reliable choice for developers looking to build high-performance applications in various challenging environments.