feat(driver_twai): update and simplify network example using new driver

This commit is contained in:
wanckl
2025-07-02 20:26:13 +08:00
parent 959557d00a
commit fe8f0f08f3
25 changed files with 581 additions and 1010 deletions

View File

@@ -373,6 +373,7 @@ Application Examples
- :example:`peripherals/twai/twai_utils` demonstrates how to use the TWAI (Two-Wire Automotive Interface) APIs to create a command-line interface for TWAI bus communication, supporting frame transmission/reception, filtering, monitoring, and both classic and FD formats for testing and debugging TWAI networks.
- :example:`peripherals/twai/twai_error_recovery` demonstrates how to recover nodes from the bus-off state and resume communication, as well as bus error reporting, node state changes, and other event information.
- :example:`peripherals/twai/twai_network` using 2 nodes with different roles: transmitting and listening, demonstrates how to use the driver for single and bulk data transmission, as well as configure filters to receive these data.
API Reference
-------------