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

This commit is contained in:
wanckl
2026-07-09 15:43:29 +08:00
parent 21c1c30db5
commit d25d82923f
14 changed files with 1114 additions and 0 deletions

View File

@@ -459,6 +459,7 @@ TWAI控制器能够检测由于总线干扰产生的/损坏的不符合帧格式
- :example:`peripherals/twai/twai_error_recovery` 演示了总线错误上报,节点状态变化等事件信息,以及如何从离线状态恢复节点并重新进行通信。
- :example:`peripherals/twai/twai_network` 通过发送、监听, 2 个不同角色的节点,演示了如何使用驱动程序进行单次的和大量的数据发送,以及配置过滤器以接收这些数据。
- :example:`peripherals/twai/cybergear` 演示了如何通过 TWAI 接口控制 XiaoMi CyberGear 电机。
- :example:`peripherals/twai/usb_twai_adapter` 演示了如何制作一个 USB-CAN 适配器并将其枚举为 SocketCAN 设备。
API 参考
========