Home
last modified time | relevance | path

Searched refs:us (Results 1 – 5 of 5) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/core/
Dhpl_core_m0plus_base.c157 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() argument
161 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() argument
180 return _get_cycles_for_us_internal(us, CONF_CPU_FREQUENCY, CPU_FREQ_POWER); in _get_cycles_for_us()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_delay.c71 void delay_us(const uint16_t us) in delay_us() argument
73 _delay_cycles(hardware, _get_cycles_for_us(us)); in delay_us()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhal_delay.h77 void delay_us(const uint16_t us);
Dhpl_delay.h64 uint32_t _get_cycles_for_us(const uint16_t us);
/loramac-node-3.4.0/
DCHANGELOG.md684 - Fixed timings comments. Timing values are most of the time us based
734 - Added a function to get the time in us
771 …ged the TimeOnAir radio function to return a uint32_t value instead of a double. The value is in us