Function imxrt_hal::ccm::ticks [−][src]
Expand description
Computes the number of clock ticks that span the provide duration, given
the clock frequency and clock divider. If there is no divider, use Divider::default()
to specify an unused divider. Returns Ok(ticks)
when the computation of
clock ticks succeeds, or an error.