/* Write a data to the slave when the bus is idle, and waiting for all bus transmiton complete.(Write Step1) 
After the master obtained control of the bus, and haven't release it, users can call xI2CMasterWriteS2() to continue transmit data to slave. Users call also can xI2CMasterStop() to terminate this transmition and release the I2C bus. */
void I2CMasterWriteS1(unsigned long ulBase, unsigned long ulSlaveAddr, unsigned long ulData, xtBoolean bEndTransmition)
/* Write a data to the slave when the bus is idle, and waiting for all bus transmiton complete.(Write Step1) 
After the master obtained control of the bus, and haven't release it, users can call xI2CMasterWriteS2() to continue transmit data to slave. Users call also can xI2CMasterStop() to terminate this transmition and release the I2C bus. */
void I2CMasterWriteS1(unsigned long ulBase, unsigned long ulSlaveAddr, unsigned long ulData, xtBoolean bEndTransmition)
{
    I2CMasterWriteRequestS1(ulBase, ulSlaveAddr, ulData, bEndTransmition);
}