Skip to main content

read_pulse_hz

Function read_pulse_hz 

Source
pub fn read_pulse_hz(pcnt: &mut PcntDriver, config: &RpmConfig) -> f32
Expand description

Single-shot read of the sensor’s pulse rate, in Hz.

What the hardware actually measures. Turning Hz into engine rpm needs the alternator’s pole count and the pulley ratio, which are the application’s to know.