I2C_Alloc

The function I2C_Alloc allocates virtual-memory and maps it to the I2C-Hardware-Registers.

int I2C_Alloc( void); int i2c_AllocSpace( void);

Parameters

none

Return Values

If the function succeeds, the return value is 1.

If the function fails, the return value is 0.

Remarks

This function needs to be called before any other I2C_xxx-function is beeing used ( Except you will call I2C_Init, than you don't have to use this function! ).

Requirements

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

See Also

I2C_Init, I2C_Free