• Ready for review
  • I2C_SetFastMode

    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);