estimate_fpga_clock

Function estimate_fpga_clock 

Source
pub fn estimate_fpga_clock<T>(transport: &mut T) -> Result<f64, Error>
where T: Transport,
Expand description

Read the sys_clkcounter register a few times to estimate the clock rate in megahertz

ยงErrors

Returns an error on bad transport