+ return frequency_ == 0 ? 0 : 1 / frequency_;
+}
+
+/// @brief Return a timeval struct based on the frequency_ member. used to
+/// specified CAN BCM timers.
+const struct timeval frequency_clock_t::get_timeval_from_period() const
+{
+ struct timeval freq = {0, 0};
+ float f;
+ freq.tv_usec = (long int)(std::modf(frequency_to_period(), &f) * unit_);
+ freq.tv_sec = (time_t)f;
+
+ return freq;