GPIO_AllocSpace

The function GPIO_AllocSpace allocates virtual-memory and maps it to the GPIO-hardware-registers.

PGPIO_REGS GPIO_AllocSpace( void);     

Parameters

none

Return Values

If the function succeeds, it returns a pointer to the GPIO-registers.

If the function fails, the return value is NULL.

Remarks

This function needs to be called before any other GPIO_xxx-function is beeing used.

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