/* \breif This function is used to generate a falling edge, as the of Timer counting source. */
void EdgeGenerate(void)
/* \breif This function is used to generate a falling edge, as the of Timer counting source. */
void EdgeGenerate(void)
{
    int i;
    xGPIOSPinWrite(PC12, 0);
    for(i = 0; i < 5; i++);
    xGPIOSPinWrite(PC12, 1);
    for(i = 0; i < 5; i++);
}