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

Function rt_dma_calc_recved_len

components/drivers/serial/dev_serial.c:445–448  ·  view source on GitHub ↗

* Calculate DMA received data length. * * @param serial serial device * * @return length */

Source from the content-addressed store, hash-verified

443 * @return length
444 */
445static rt_ssize_t rt_dma_calc_recved_len(struct rt_serial_device *serial)
446{
447 return _serial_fifo_calc_recved_len(serial);
448}
449
450/**
451 * Read data finish by DMA mode then update the get index for receive fifo.

Callers 3

_serial_dma_rxFunction · 0.85
rt_hw_serial_isrFunction · 0.85

Calls 1

Tested by

no test coverage detected