pub fn new<T>(timeout: T, src_freq: u32) -> Self
    where
        T: Into<Hertz>,
    {
        let timeout = timeout.into();
        let ticks: u32 = src_freq / timeout.0.max(1);
        Self::new_from_ticks(ticks)
    }
/// calculates RTC timer paramters based on the input frequency-based
/// timeout.
calculates RTC timer paramters based on the input frequency-based
timeout.
calculates RTC timer paramters based on the input frequency - based timeout .
pub fn new<T>(timeout: T, src_freq: u32) -> Self
    where
        T: Into<Hertz>,
    {
        let timeout = timeout.into();
        let ticks: u32 = src_freq / timeout.0.max(1);
        Self::new_from_ticks(ticks)
    }
pub fn new < T > ( timeout : T , src_freq : u32 ) -> Self where T : Into < Hertz > , { let timeout = timeout . into ( ) ; let ticks : u32 = src_freq / timeout . 0 . max ( 1 ) ; Self :: new_from_ticks ( ticks ) }
calculates RTC timer paramters based on the input frequency-based
timeout.
calculates RTC timer paramters based on the input frequency - based timeout .
timeout
T
src_freq
u32
timeout
T
src_freq
u32