/* Set Click time limit value. you can use this function to set click time limit value.  */
Result LIS302DLClickTimeLimitSet(uint8_t TimeLimit)
/* Set Click time limit value. you can use this function to set click time limit value.  */
Result LIS302DLClickTimeLimitSet(uint8_t TimeLimit)
{
    Result    retv     =   SUCCESS;
    retv = LIS302DLRegWriteByte(CLICK_TiMELIMIT, TimeLimit);
    if(retv != SUCCESS)
    {
        return (FAILURE);
    }
    return (SUCCESS);
}