STM32 driver: getRxQueueOverflowCount()

This commit is contained in:
Pavel Kirienko
2016-08-07 12:45:17 +03:00
parent b6fa34fed5
commit ca15954213
@@ -188,7 +188,12 @@ public:
bool isRxBufferEmpty() const;
/**
* Total number of hardware failures.
* Number of RX frames lost due to queue overflow.
*/
uavcan::uint32_t getRxQueueOverflowCount() const { return rx_queue_.getOverflowCount(); }
/**
* Total number of hardware failures and other kinds of errors (e.g. queue overruns).
* May increase continuously if the interface is not connected to the bus.
*/
virtual uavcan::uint64_t getErrorCount() const;