/* The example of the function of read and write.  */
void M24CxxReadWrite(void)
/* The example of the function of read and write.  */
void M24CxxReadWrite(void)
{
    unsigned long i; 
    xSysCtlClockSet(72000000, xSYSCTL_OSC_MAIN | SYSCTL_XTAL_25MHZ);
    UartInit(); 
    M24CxxInit();
    UartPrintfChar('\r'); 
    UartPrintfChar('\n');
    M24CxxBufferWrite(ucWriteData, WriteAddress, Length);
    M24CxxBufferRead(ucReadData, WriteAddress, Length);
    for(i = 0; i < Length; i++)
    {
        UartPrintfChar(ucReadData[i]);      
    }
}