ProSoft Technology MVI69-ADM User Manual

Page 192

Advertising
background image

Application Development Function Library - ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 192 of 342

ProSoft Technology, Inc.

February 20, 2013

ADM_ScScan

Syntax

int ADM_ScScan(ADMHANDLE adm_handle, ADM_INTERFACE * adm_interface_ptr, int
verbose)

Parameters

adm_handle

Handle returned by previous call to ADM_Open

adm_interface_ptr

Pointer to ADM_INTERFACE structure to allow API access to
structures

verbose

Switch to enable status messages to the debug port. A 1 will
enable messages and a 0 will disable the messages.

Description
This function handles the transfer of data across the side-connect.

Return Value

0

Block transfer was successful

1

Invalid block number received

Example

ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
int verbose = 1;
ADM_INTERFACE interface;
interface_ptr = &interface;
/* call backplane transfer logic */
ADM_ScScan(adm_handle, interface_ptr, verbose);

See Also
ADM_ScOpen (page 188)

Advertising