can_bittiming Struct Reference

CAN bit-timing parameters. More...

Detailed Description

CAN bit-timing parameters.

For further information, please read chapter "8 BIT TIMING REQUIREMENTS" of the "Bosch CAN Specification version 2.0": https://www.kvaser.com/software/7330130980914/V1/can2spec.pdf

Definition at line 113 of file can.h.

#include <can.h>

Data Fields

uint32_t bitrate
 Bit-rate in bits/second.
 
uint32_t sample_point
 Sample point in one-tenth of a percent.
 
uint32_t tq
 Time quanta (TQ) in nanoseconds.
 
uint32_t prop_seg
 Propagation segment in TQs.
 
uint32_t phase_seg1
 Phase buffer segment 1 in TQs.
 
uint32_t phase_seg2
 Phase buffer segment 2 in TQs.
 
uint32_t sjw
 Synchronisation jump width in TQs.
 
uint32_t brp
 Bit-rate prescaler.
 

The documentation for this struct was generated from the following file: