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

Function serial_fops_rx_ind

components/drivers/serial/dev_serial.c:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61RT_OBJECT_HOOKLIST_DEFINE(rt_hw_serial_rxind);
62
63static rt_err_t serial_fops_rx_ind(rt_device_t dev, rt_size_t size)
64{
65 rt_wqueue_wakeup(&(dev->wait_queue), (void*)POLLIN);
66
67 RT_OBJECT_HOOKLIST_CALL(rt_hw_serial_rxind, (dev, size));
68
69 return RT_EOK;
70}
71
72/* fops for serial */
73static int serial_fops_open(struct dfs_file *fd)

Callers

nothing calls this directly

Calls 1

rt_wqueue_wakeupFunction · 0.85

Tested by

no test coverage detected