fn freq_hw(&self) -> Option<Rate> {
        self.clock_source.map(|source| match source {
            LSClockSource::APBClk => {
                let clocks = Clocks::get();
                clocks.apb_clock
            }
        })
    }
Get the current source timer frequency from the HW
esp-hal/src/ledc/timer.rs