Crate lin_bus[−][src]
Re-exports
pub use master::Master; |
Modules
driver | |
master |
Structs
PID |
Protected ID which is a 6 bit ID with two parity bits |
Enums
Error |
Functions
checksum |
Calculate the LIN checksum. It is defined as "The inverted eight bit sum with carry. Eight bit sum with carry is equivalent to sum all values and subtract 255 every time the sum is greater or equal to 256" |
classic_checksum |
Calculate the classic checksum. It is defined as "Checksum calculation over the data bytes only is called classic checksum" |