/* 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 | xSYSCTL_XTAL_8MHZ);
    UartInit();
    HT24CxxInit();
    UartPrintfChar('\r');
    UartPrintfChar('\n');
    HT24CxxBufferWrite(ucWriteData, WriteAddress, Length);
    HT24CxxBufferRead(ucReadData, WriteAddress, Length);
    for(i = 0; i < Length; i++)
    {
        UartPrintfChar(ucReadData[i]);
    }
}