CAN 接口
在 Raspberry Pi® 硬件上读取 CAN 报文并将其写入 CAN 扩展板
通过 CAN 通道写入和读取 CAN 报文。在使用 CAN 扩展板函数之前,请创建 raspi
对象。
对象
canChannel | Connection to CAN channel connected to a specified device (自 R2021b 起) |
函数
read | Read messages from CAN channel (自 R2021b 起) |
write | Write messages to CAN channel (自 R2021b 起) |
enableCAN | Enable CAN interface (自 R2021b 起) |
disableCAN | Disable CAN interface (自 R2021b 起) |