ProSoft Technology MVI69-ADM User Manual

Page 131

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 131 of 342

February 20, 2013

ADM_CheckDBPort

Syntax

int ADM_CheckDBPort(ADMHANDLE adm_handle);

Parameters

adm_handle

Handle returned by previous call to ADM_Open

Description
This function checks for input characters on the debug port. adm_handle must be
a valid handle returned from ADM_Open.

Return Value

ADM_ERR_NOACCESS

adm_handle does not have access

Returns the character input to the debug port

Example

int key;
key = ADM_CheckDBPort(adm_handle);
printf("key = %i\n", key);

Advertising