/* Increase a index value in queue. 
This function increases the index value in the queue, if the index is out of the queue range, it is reset to 0. */
static uint8_t CSI_TransferIncreaseQueueIdx(uint8_t idx)
/* Increase a index value in queue. 
This function increases the index value in the queue, if the index is out of the queue range, it is reset to 0. */
static uint8_t CSI_TransferIncreaseQueueIdx(uint8_t idx)
{
    uint8_t ret;
    ret = idx + 1U;
    if (ret >= CSI_DRIVER_ACTUAL_QUEUE_SIZE)
    {
        ret = 0U;
    }
    return ret;
}