[][src]Crate lin_bus

Re-exports

pub use crate::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 V2.1 "enhanced" 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 LIN V1.3 "classic" checksum. It is defined as "Checksum calculation over the data bytes only"