/* Given a desired period (in ns), return the proper counter value (divider-1) for the internal clock. Sets the original period to be the true value.  */
static int rtd_ns_to_timer(unsigned int *ns, int roundMode)
/* Given a desired period (in ns), return the proper counter value (divider-1) for the internal clock. Sets the original period to be the true value.  */
static int rtd_ns_to_timer(unsigned int *ns, int roundMode)
{
	return rtd_ns_to_timer_base(ns, round_mode, RTD_CLOCK_BASE);
}