twai: TWAI_ALERT_RX_DATA indicates that frames were received

Signed-off-by: Darian Leung <darian@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/7386
Closes https://github.com/espressif/esp-idf/issues/7374
This commit is contained in:
Darian
2021-08-25 19:57:10 +08:00
committed by Zim Kalinowski
parent fe5c87cb3c
commit 72ba1866fb
3 changed files with 21 additions and 18 deletions

View File

@@ -124,6 +124,8 @@ The TWAI driver contains an alert feature that is used to notify the application
- No more messages queued for transmission
* - ``TWAI_ALERT_TX_SUCCESS``
- The previous transmission was successful
* - ``TWAI_ALERT_RX_DATA``
- A frame has been received and added to the RX queue
* - ``TWAI_ALERT_BELOW_ERR_WARN``
- Both error counters have dropped below error warning limit
* - ``TWAI_ALERT_ERR_ACTIVE``