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

Function _vbus_indicate

components/vbus/vbus.c:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172static void _vbus_indicate(enum rt_vbus_event_id eve, unsigned char chnr)
173{
174 RT_ASSERT(eve < sizeof(_vbus_rx_indi)/sizeof(_vbus_rx_indi[0]));
175
176 if (_vbus_rx_indi[eve][chnr].indicate)
177 _vbus_rx_indi[eve][chnr].indicate(_vbus_rx_indi[eve][chnr].ctx);
178}
179
180#define _BUS_OUT_THRD_STACK_SZ 2048
181#define _BUS_OUT_THRD_PRIO 8

Callers 3

_bus_out_entryFunction · 0.85
_chn0_actorFunction · 0.85
_bus_in_entryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected