| 19 | void (*rt_device_hwtimer_us_delay)(rt_uint32_t us) = RT_NULL; |
| 20 | |
| 21 | void 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 | |
| 36 | rt_inline rt_uint32_t timeout_calc(rt_hwtimer_t *timer, rt_hwtimerval_t *tv) |
no outgoing calls
no test coverage detected