1 unstable release

new 0.3.3 Apr 28, 2024
0.3.2 Apr 27, 2024
0.2.3-Beta3 Apr 3, 2024
0.2.1 Mar 30, 2024

#25 in #constant

Download history 142/week @ 2024-03-23 490/week @ 2024-03-30 33/week @ 2024-04-06 2/week @ 2024-04-13 198/week @ 2024-04-20

735 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
~61K SLoC