/* Status command helper function. Display the output data rate of the ADC. */
static int32_t cn0414_status_odr(struct cn0414_dev *dev)
/* Status command helper function. Display the output data rate of the ADC. */
static int32_t cn0414_status_odr(struct cn0414_dev *dev)
{
	int32_t ret;
	ad717x_st_reg *temp_ptr;
	temp_ptr = AD717X_GetReg(dev->ad4111_device, AD717X_FILTCON0_REG);
	ret = usr_uart_write_string(dev->uart_descriptor,
				    (uint8_t*)"ADC output data rate: ");
	if(ret != CN0414_SUCCESS)
		return ret;
	ret = usr_uart_write_string(dev->uart_descriptor,
				    odr_options[temp_ptr->value & AD717X_FILT_CONF_REG_ODR(0x1f)]);
	if(ret != CN0414_SUCCESS)
		return ret;
	return usr_uart_write_string(dev->uart_descriptor, (uint8_t*)"\n");
}