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

Function udelay

bsp/dm365/drivers/i2c-davinci.c:105–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105static void udelay (rt_uint32_t us)
106{
107 rt_int32_t i;
108 for (; us > 0; us--)
109 {
110 i = 50000;
111 while(i > 0)
112 {
113 i--;
114 }
115 }
116}
117
118
119#if 0

Callers 2

generic_i2c_clock_pulseFunction · 0.70
i2c_davinci_xfer_msgFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected