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 I2C_SetFastMode selects the I2C controller clockrate between 100KHz or 400kHz

int I2C_SetFastMode( int fastmode); 

Parameters

fastmode
if 0 use 100KHz mode otherwise use 400kHz clockrate

Return

int old status of internal shadow mask 0=´´it was disabled´´ or 0x8000=´´it was enabled´´

Remarks

Requirements

OS Versions: Drvlib builds since May 10th 2009 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib
Processor: PXA270

See Also

I2C_Read

int i2c_setfastmode(int fm);

  • No labels