Crate can_utils [] [src]

This is a crate of handy modules and utilities for manipulating CAN data and interfaces.

NOTE: this crate is not yet ready for prime time, but it will be soon, just publishing now to claim the name

TODO: add real documentation here

Modules

byte_orders

A collection of byteorder types to facilitate unpacking values from frames.

interface

The interface module holds various types for modeling parts of a CAN interface.

timing_calculator

The timing_calculator module computes CAN interface timing parameters.

Structs

CanFdFrame

A low level representation of the frames that might be sent and received on a CAN FD bus.

CanFrame

A low level representation of the frames that might be sent and received on a CAN bus.

Functions

byte_count_to_can_fd_dlc

Converts a byte count into a CAN-FD DLC.

can_fd_dlc_to_byte_count

Converts a CAN-FD DLC into a byte count.