Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The function SPinGpioInit configures a SODIMM-pin as GPIO.

int SPinGpioInit( 
  int pin, 
  int isOutput,
  int state
);    

Parameters

pin
SODIMM-pin-number.

isOutput
0: Input, 1: Output.

state
Set level of pin.

Return Values

GPIO-number of the SODIMM-pin. 0 on failure.

Remarks

If the SODIMM-pin-bumber is or'ed with 0x100, than the function of every SPin_xxx function is inverted.

Requirements

OS Versions: Windows Embedded Compact 7.
Header: drvlib_app.h
Link Library: drvlib_app.lib

See Also

SPinGpioGet, SPinGpioSet, SPinGpioSetPad

  • No labels