How can I convert following GIO code to BIOS 6.
*********************
I2c_Params i2cBatteryParams;
GIO_Handle i2c_Battery_outHandle;
GIO_Handle i2c_Battery_inHandle;
GIO_Attrs gioAttrs = GIO_ATTRS;
I2c_ChanParams chanParams;
Int status = 340;
chanParams.masterOrSlave = I2c_CommMode_MASTER;
/* Create the I2C Channels for the TX and RX communication */
i2c_Battery_outHandle = GIO_create("/I2C0", IOM_OUTPUT, &status, &chanParams, &gioAttrs);
i2c_Battery_inHandle = GIO_create("/I2C0", IOM_INPUT, &status, &chanParams, &gioAttrs);
***************************
From the documents, I am assuming that GIO api, structure are changed from BIO 5 to BIOS 6.
Thanks
Jayesh