Trace: » I2C_WriteBurst » I2C_ReadRandom » GPIO_Init_Pin
Access to information is restricted depending on your login.
Request login-information through our contact form.
Table of Contents
GPIO_Init_Pin
The function GPIO_Init_Pin initialises a pin for use as gpio.
void GPIO_Init_Pin( volatile GPIO_REGS *v_pGPIOReg, UCHAR pin, BOOL IsOutput, BOOL DefaultState );
Parameters
v_pGPIOReg
Pointer to gpio-registers. Use return value of GPIO_AllocSpace.
pin
GPIO pin-number.
IsOutput
TRUE: configure GPIO as output. FALSE: configure GPIO as input.
DefaultState
If configured as output, sets level of gpio.
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
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use