ProSoft Technology MVI69-ADM User Manual

Page 121

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Application Development Function Library - ADM API

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 121 of 342

February 20, 2013

Function Category

Function Name

Description

ADM_DBGetString

Read a string from the database

ADM_DBSetString

Write a string to the database

ADM_DBSwapWord

Swaps bytes within a word in the database

ADM_DBSwapDWord

Swaps bytes within a double word in the
database

ADM_GetDBCptr

Get a pointer to a character in the database

ADM_GetDBIptr

Get a pointer to a word in the database

ADM_GetDBInt

Returns an integer from the database

ADM_DBChanged

Tests a database register for a change

ADM_DBBitChanged

Tests a database bit for a change

ADM_DBOR_Byte

Inclusive OR a byte with a database byte

ADM_DBNOR_Byte

Inclusive NOR a byte with a database byte

ADM_DBAND_Byte

AND a byte with a database byte

ADM_DBNAND_Byte

NAND a byte with a database byte

ADM_DBXOR_Byte

Exclusive OR a byte with a database byte

ADM_DBXNOR_Byte

Exclusive NOR a byte with a database byte

Timer

ADM_StartTimer

Initialize a timer

ADM_CheckTimer

Check current timer value

Backplane

ADM_BtOpen

Opens and initializes backplane interface

ADM_BtClose

Closes backplane interface

ADM_BtNext

Sets next write block number

ADM_ReadBtCfg

Reads configuration from the processor

ADM_BtFunc

Handles backplane transfers

ADM_SetStatus

Writes status to Error/Status table

ADM_SetBtStatus

Writes status to processor

LED

ADM_SetLed

Turn user LED indicators on or off

Flash

ADM_FileGetString

Searches for a string in a config file

ADM_FileGetInt

Searches for an integer in a config file

ADM_FileGetChar

Searches for a char in a config file

ADM_GetVal

Gets an integer from a buffer

ADM_GetStr

Gets a string from a buffer

ADM_Getc

Gets a char from a buffer

ADM_SkipToNext

Skips white space

Miscellaneous

ADM_GetVersionInfo

Get the ADM API version information

ADM_SetConsolePort

Enable the console on a port

ADM_SetConsoleSpeed

Set the console port baud rate

Side Connect

ADM_ScOpen

Open and initializes the side-connect
interface

ADM_ScClose

Close the side-connect interface

Advertising