feat(driver_twai): add usb<->twai candlelight example

This commit is contained in:
wanckl
2026-08-19 21:00:12 +08:00
parent 21c1c30db5
commit d25d82923f
14 changed files with 1114 additions and 0 deletions
@@ -459,6 +459,7 @@ Application Examples
- :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.
- :example:`peripherals/twai/cybergear` demonstrates how to control XiaoMi CyberGear motors via TWAI interface.
- :example:`peripherals/twai/usb_twai_adapter` demonstrates how to make an USB-CAN adapter and enumerate it to a socket can device.
API Reference
=============