Data Fields
MCAN_BitTimingParams Struct Reference

Structure for bit timing calculation. Bit timing related to data phase will be valid only if CAN-FD mode and bit rate switching are enabled and will be '0' otherwise. More...

#include <MCAN.h>

Data Fields

uint32_t nomRatePrescalar
 
uint32_t nomTimeSeg1
 
uint32_t nomTimeSeg2
 
uint32_t nomSynchJumpWidth
 
uint32_t dataRatePrescalar
 
uint32_t dataTimeSeg1
 
uint32_t dataTimeSeg2
 
uint32_t dataSynchJumpWidth
 

Detailed Description

Structure for bit timing calculation. Bit timing related to data phase will be valid only if CAN-FD mode and bit rate switching are enabled and will be '0' otherwise.

< Any read access to the Protocol Status Register re-initializes the LEC to

  1. When the LEC shows the value 7, no CAN bus event was detected since the last CPU read access to the Protocol Status Register.

Field Documentation

§ nomRatePrescalar

uint32_t MCAN_BitTimingParams::nomRatePrescalar

Nominal Baud Rate Pre-scaler Interpreted by MCAN as the value in this field + 1. Range:[0x0-0x1FF]

§ nomTimeSeg1

uint32_t MCAN_BitTimingParams::nomTimeSeg1

Nominal Time segment before sample point Interpreted by MCAN as the value in this field + 1. Range:[0x0-0xFF]

§ nomTimeSeg2

uint32_t MCAN_BitTimingParams::nomTimeSeg2

Nominal Time segment after sample point Interpreted by MCAN as the value in this field + 1. Range:[0x0-0x7F]

§ nomSynchJumpWidth

uint32_t MCAN_BitTimingParams::nomSynchJumpWidth

Nominal (Re)Synchronization Jump Width Interpreted by MCAN as the value in this field + 1. Range:[0x0-0x7F]

§ dataRatePrescalar

uint32_t MCAN_BitTimingParams::dataRatePrescalar

Data Baud Rate Pre-scaler Interpreted by MCAN as the value in this field + 1. Range:[0x0-0x1F]

§ dataTimeSeg1

uint32_t MCAN_BitTimingParams::dataTimeSeg1

Data Time segment before sample point Interpreted by MCAN as the value in this field + 1. Range:[0x0-0x1F]

§ dataTimeSeg2

uint32_t MCAN_BitTimingParams::dataTimeSeg2

Data Time segment after sample point Interpreted by MCAN as the value in this field + 1. Range:[0x0-0xF]

§ dataSynchJumpWidth

uint32_t MCAN_BitTimingParams::dataSynchJumpWidth

Data (Re)Synchronization Jump Width Interpreted by MCAN as the value in this field + 1. Range:[0x0-0xF]


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