5 releases

2.0.0-rc2 Jun 11, 2024
2.0.0-rc1 Jun 8, 2024
1.0.0-rc4 May 31, 2024
0.3.4 May 5, 2024
0.2.1 Mar 30, 2024

#638 in Hardware support

Download history 300/week @ 2024-03-25 359/week @ 2024-04-01 8/week @ 2024-04-08 507/week @ 2024-04-22 237/week @ 2024-04-29 217/week @ 2024-05-06 40/week @ 2024-05-13 134/week @ 2024-05-20 327/week @ 2024-05-27 269/week @ 2024-06-03 214/week @ 2024-06-10

953 downloads per month
Used in zlgcan_driver

Custom license

2.5K SLoC

ZLGCAN driver for rust


The common struct or enum defined by head(.h) file. It's include difference's device driver on windows or linux. The goal of this lib is to create structures that are compatible with different devices.

For this reason, we divided the structure into four modules: can module defined "CAN channel", "CAN frame" and "CAN constant" that include constants and enums. And for define a common frame, we define the file frame.rs and utils.rs for avoiding file to long. cloudmodule defined the struct for cloud device. device module defined the struct for device. lin module defined the LIN struct. The error.rs defined the only error struct. The util.rs defined utility functions.


~59K SLoC