2 releases

new 1.0.0-rc2 May 26, 2024
1.0.0-rc1 May 11, 2024
0.3.4 May 5, 2024
0.3.3 Apr 28, 2024
0.2.1 Mar 30, 2024

#677 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

1,001 downloads per month
Used in zlgcan_driver

Custom license

105KB
3K SLoC

ZLGCAN driver for rust


lib.rs:

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.

Dependencies

~2–2.9MB
~60K SLoC