Data Fields
CAN_BitRateTimingRaw Struct Reference

Structure defining the raw MCAN bit rate configuration. More...

#include <CAN.h>

Collaboration diagram for CAN_BitRateTimingRaw:
Collaboration graph
[legend]

Data Fields

uint32_t nbrp
 
uint32_t ntSeg1
 
uint32_t ntSeg2
 
uint32_t nsjw
 
const CAN_DataBitRateTimingRawdataTiming
 

Detailed Description

Structure defining the raw MCAN bit rate configuration.

The length of the bit time is [ntSeg1 + ntSeg2 + 3] tq. Bit Rate = (MCAN system clock / (nbrp + 1)) / (length of bit time)

Field Documentation

§ nbrp

uint32_t CAN_BitRateTimingRaw::nbrp

NBRP: Nominal Bit Rate Prescaler value for the MCAN system clock. Interpreted by MCAN as the value is this field + 1. Valid range: 0 to

§ ntSeg1

uint32_t CAN_BitRateTimingRaw::ntSeg1

NTSEG1: Nominal time segment 1 + prop segment. Interpreted by MCAN as the value in this field + 1. Valid range: 1 to 255.

§ ntSeg2

uint32_t CAN_BitRateTimingRaw::ntSeg2

NTSEG2: Nominal time segment 2. Interpreted by MCAN as the value is this field + 1. Valid range: 1 to 127.

§ nsjw

uint32_t CAN_BitRateTimingRaw::nsjw

NSJW: Nominal Resynchronization Jump Width. Interpreted by MCAN as the value is this field + 1. Valid range: 0 to 127. Typically set equal to tSeg2.

§ dataTiming

const CAN_DataBitRateTimingRaw* CAN_BitRateTimingRaw::dataTiming

CAN FD data phase bit rate configuration. May be set to NULL if CAN FD bit rate switching is not enabled.


The documentation for this struct was generated from the following file:
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale