/* Gets the status of a job. 
Gets the status of an ongoing or the last job. */
enum status_code adc_get_job_status(struct adc_module *module_inst, enum adc_job_type type)
/* Gets the status of a job. 
Gets the status of an ongoing or the last job. */
enum status_code adc_get_job_status(struct adc_module *module_inst, enum adc_job_type type)
{
	Assert(module_inst);
	if (type == ADC_JOB_READ_BUFFER ) {
		return module_inst->job_status;
	} else {
		return STATUS_ERR_INVALID_ARG;
	}
}