Structure defining the raw MCAN CAN FD data phase bit rate configuration. More...
#include <CAN.h>
Data Fields | |
uint32_t | dbrp |
uint32_t | dtSeg1 |
uint32_t | dtSeg2 |
uint32_t | dsjw |
uint32_t | tdcOffset |
uint32_t | tdcFilterWinLen |
Structure defining the raw MCAN CAN FD data phase bit rate configuration.
The length of the bit time is [dtSeg1 + dtSeg2 + 3] tq. Bit Rate = (MCAN system clock / (dbrp + 1)) / (length of bit time)
uint32_t CAN_DataBitRateTimingRaw::dbrp |
DBRP: Data Bit Rate Prescaler value for the MCAN system clock. Interpreted by MCAN as the value is this field + 1. If Transceiver Delay Compensation is used, valid range: 0 to 1. Otherwise, valid range: 0 to
uint32_t CAN_DataBitRateTimingRaw::dtSeg1 |
DTSEG1: Data time segment 1 + prop segment. Interpreted by MCAN as the value in this field + 1. Valid range: 0 to 31.
uint32_t CAN_DataBitRateTimingRaw::dtSeg2 |
DTSEG2: Data time segment 2. Interpreted by MCAN as the value is this field + 1. Valid range: 0 to 15.
uint32_t CAN_DataBitRateTimingRaw::dsjw |
DSJW: Data Resynchronization Jump Width. Interpreted by MCAN as the value is this field + 1. Valid range: 0 to 15. Typically set equal to tSeg2.
uint32_t CAN_DataBitRateTimingRaw::tdcOffset |
Transceiver Delay Compensation offset. Valid range: 0 to 127 mtq.
uint32_t CAN_DataBitRateTimingRaw::tdcFilterWinLen |
Transceiver Delay Compensation filter window length. Valid range: 0 to 127 mtq.