Signalyzer

Recommend Print

AUX_GetGpioPinState

AUX_GetGpioPinState

  • Favourites
    Add to favourites

Syntax

C

SIGNALYZER_STATUS SIGNALYZER_AUX_GetGpioPinState(
SIGNALYZER_HANDLE sHandle,
unsigned char devicePort,
unsigned char * pinsValue
);

Parameters

SIGNALYZER_HANDLE - pointer to a variable of FT_HANDLE where handle will be stored when used with FTDI D2XX

devicePort - specifies the port operation to be performed.

pinsValue -

Return value

SIGNALYZER_STATUS - returns result of executed command. The result value will depend on type of library signalyzer_aux library is being used with ( FTD2XX or LIBFTDI ).

FT2XX:

FT_OK - on successful return.

FT_INVALID_ARGS - if one of the function passed parameters did not meet specific criteria

FT_OTHER_ERROR - for any other errors.

LIBFTDI:

0 - will be returned on successful function call

-1 - if one of the function passed parameters did not meet specific criteria

-2 - for any other errors.

Examples

CODE HERE

Requirements

WindowsLinuxMac OSWindows CE
2000 and later all soon soon

See Also

 

  • Created
    Friday, 12 February 2010
  • Created by
    Administrator
  • Last modified
    Monday, 15 February 2010
  • Revised by
    Administrator
  • Voting
    (0 votes)
  • Version
    6
Comments (0)Add Comment

Write comment

busy