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

Function rt_vbus_rb_dump

components/vbus/vbus.c:1212–1224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212void rt_vbus_rb_dump(void)
1213{
1214 rt_kprintf("OUT ring:(%s blocked)\n", RT_VBUS_OUT_RING->blocked ? "is" : "not");
1215 rt_kprintf("put idx: %8x, get idx: %8x\n",
1216 RT_VBUS_OUT_RING->put_idx, RT_VBUS_OUT_RING->get_idx);
1217 rt_kprintf("space: %d\n", _bus_ring_space_nr(RT_VBUS_OUT_RING));
1218
1219
1220 rt_kprintf("IN ring:(%s blocked)\n", RT_VBUS_IN_RING->blocked ? "is" : "not");
1221 rt_kprintf("put idx: %8x, get idx: %8x\n",
1222 RT_VBUS_IN_RING->put_idx, RT_VBUS_IN_RING->get_idx);
1223 rt_kprintf("space: %d\n", _bus_ring_space_nr(RT_VBUS_IN_RING));
1224}
1225
1226void rt_vbus_chn_dump(void)
1227{

Callers

nothing calls this directly

Calls 2

rt_kprintfFunction · 0.85
_bus_ring_space_nrFunction · 0.85

Tested by

no test coverage detected