Searched refs:us (Results 1 – 5 of 5) sorted by relevance
157 static inline uint32_t _get_cycles_for_us_internal(const uint16_t us, const uint32_t freq, const ui… in _get_cycles_for_us_internal() argument161 return (us * (freq / 100000) - 1) / 10 + 1; in _get_cycles_for_us_internal()163 return (us * (freq / 10000) - 1) / 100 + 1; in _get_cycles_for_us_internal()165 return (us * (freq / 1000) - 1) / 1000 + 1; in _get_cycles_for_us_internal()167 return (us * (freq / 100) - 1) / 10000 + 1; in _get_cycles_for_us_internal()169 return (us * (freq / 10) - 1) / 100000 + 1; in _get_cycles_for_us_internal()171 return (us * freq - 1) / 1000000 + 1; in _get_cycles_for_us_internal()178 uint32_t _get_cycles_for_us(const uint16_t us) in _get_cycles_for_us() argument180 return _get_cycles_for_us_internal(us, CONF_CPU_FREQUENCY, CPU_FREQ_POWER); in _get_cycles_for_us()
71 void delay_us(const uint16_t us) in delay_us() argument73 _delay_cycles(hardware, _get_cycles_for_us(us)); in delay_us()
77 void delay_us(const uint16_t us);
64 uint32_t _get_cycles_for_us(const uint16_t us);
684 - Fixed timings comments. Timing values are most of the time us based734 - Added a function to get the time in us771 …ged the TimeOnAir radio function to return a uint32_t value instead of a double. The value is in us