/* Set Click Latency value. you can use this function to set click Latency value.  */
Result LIS302DLClickLatencySet(uint8_t Latency)
/* Set Click Latency value. you can use this function to set click Latency value.  */
Result LIS302DLClickLatencySet(uint8_t Latency)
{
    Result retv = SUCCESS;
    retv = LIS302DLRegWriteByte(CLICK_LATENCY, Latency);
    if(retv != SUCCESS)
    {
        return (FAILURE);
    }
    return (SUCCESS);
}