Platform/ECM3532/DSP/hw/csp/ecm3532/src/eta_csp_io.c
/***************************************************************************/
/**
 *
 *  eta_csp_printviam3_inc_indx - Circular increment of write or read ptr by 1
 *
 *  @param curr_ptr - Current array pointer value
 *
 *  @return pointer incremented by 1
 *
 ******************************************************************************/
Circular increment of write or read ptr by 1
@param curr_ptr - Current array pointer value

@return pointer incremented by 1
Circular increment of write or read ptr by 1 @param curr_ptr - Current array pointer value @return pointer incremented by 1
int
eta_csp_printviam3_inc_indx(int curr_ptr)
{
    if(curr_ptr == (DSP_PRINT_BUFFER_USABLE - 1))
    {
        curr_ptr = 0;
    }
    else
    {
        curr_ptr++;
    }
    return(curr_ptr);
}
int eta_csp_printviam3_inc_indx ( int curr_ptr ) { if ( curr_ptr == ( DSP_PRINT_BUFFER_USABLE - 1 ) ) { curr_ptr = 0 ; } else { curr_ptr ++ ; } return ( curr_ptr ) ; }
eta_csp_printviam3_inc_indx - Circular increment of write or read ptr by 1
  @param curr_ptr - Current array pointer value
eta_csp_printviam3_inc_indx - Circular increment of write or read ptr by 1 @param curr_ptr - Current array pointer value