Loading...
Searching...
No Matches
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 116 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.
 

Field Documentation

◆ bitrate

uint32_t can_bittiming::bitrate

Bit-rate in bits/second.

Definition at line 117 of file can.h.

◆ brp

uint32_t can_bittiming::brp

Bit-rate prescaler.

Definition at line 124 of file can.h.

◆ phase_seg1

uint32_t can_bittiming::phase_seg1

Phase buffer segment 1 in TQs.

Definition at line 121 of file can.h.

◆ phase_seg2

uint32_t can_bittiming::phase_seg2

Phase buffer segment 2 in TQs.

Definition at line 122 of file can.h.

◆ prop_seg

uint32_t can_bittiming::prop_seg

Propagation segment in TQs.

Definition at line 120 of file can.h.

◆ sample_point

uint32_t can_bittiming::sample_point

Sample point in one-tenth of a percent.

Definition at line 118 of file can.h.

◆ sjw

uint32_t can_bittiming::sjw

Synchronisation jump width in TQs.

Definition at line 123 of file can.h.

◆ tq

uint32_t can_bittiming::tq

Time quanta (TQ) in nanoseconds.

Definition at line 119 of file can.h.


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