Module can_utils::timing_calculator [] [src]

The timing_calculator module computes CAN interface timing parameters.

Modules

recommended_sample_points

The recommended bit sampling points for various protocols. Get your defaults here.

Structs

BitSamplePoint

BitSamplePoint is the fraction of the way through each bit the interface takes its sample.

BitsPerSecond

HACK: once uom supports no_std replace this with a more sane approach to specifying bitrates

CanBitTimingParameterIter

Iterates over all timing parameter solutions.

CanBitTimingParameters

The results of an interface timing calculation.

CanTimingLimits

This struct bundles various maximum limits all CAN interfaces have.

MegaHertz

HACK: Once uom supports no_std, replace this with a more standard frequency representation.

SegmentLength

CAN timing is controlled in units of Time Quanta, this codifies that.

Functions

compute_timing_parameters

Returns an iterator that iterates over all timing solutions to the given problem.