MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_hw_us_delay

Function rt_hw_us_delay

components/drivers/hwtimer/hwtimer.c:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19void (*rt_device_hwtimer_us_delay)(rt_uint32_t us) = RT_NULL;
20
21void rt_hw_us_delay(rt_uint32_t us)
22{
23 if (rt_device_hwtimer_us_delay)
24 {
25 rt_device_hwtimer_us_delay(us);
26 }
27 else
28 {
29 LOG_E("Implemented at least in the libcpu");
30
31 RT_ASSERT(0);
32 }
33}
34#endif /* RT_USING_DM */
35
36rt_inline rt_uint32_t timeout_calc(rt_hwtimer_t *timer, rt_hwtimerval_t *tv)

Callers 13

dw_pcie_wait_for_linkFunction · 0.50
reset_simple_resetFunction · 0.50
rt_sdhci_resetFunction · 0.50
sdhci_transfer_pioFunction · 0.50
rt_sdhci_clk_enableFunction · 0.50
its_cmd_allocFunction · 0.50
its_cmd_submit_rawFunction · 0.50
redist_disable_lpisFunction · 0.50
i2c_bus_unlockFunction · 0.50
regulator_delayFunction · 0.50
mdelayFunction · 0.50
udelayFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected