/* Get the capture value from OSTIMER. 
This function will get a capture decimal-value from OSTIMER. The RAW value of timer capture is gray code format, will be translated to decimal data internally. */
uint64_t OSTIMER_GetCaptureValue(OSTIMER_Type *base)
/* Get the capture value from OSTIMER. 
This function will get a capture decimal-value from OSTIMER. The RAW value of timer capture is gray code format, will be translated to decimal data internally. */
uint64_t OSTIMER_GetCaptureValue(OSTIMER_Type *base)
{
    uint64_t tmp = 0U;
    tmp = OSTIMER_GetCaptureRawValue(base);
    return OSTIMER_GrayToDecimal(tmp);
}