GPIO_Set_Pin

The function GPIO_Set_Pin sets the level of an gpio, when it is configured as output.

void GPIO_Set_Pin( 
  volatile GPIO_REGS *v_pGPIOReg, 
  UCHAR pin,
  BOOL State
);    

Parameters

v_pGPIOReg
Pointer to gpio-registers. Use return value of GPIO_AllocSpace.

pin
GPIO pin-number.

State
Set level of pin.

Return Values

none

Remarks

Requirements

OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib

See Also

(C) 2009 Keith & Koep GmbH. Alle Rechte vorbehalten. Nutzungsbedingungen
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use