BitrateXL(BitrateXLClockFrequency, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, Boolean, Boolean) Constructor

Initializes an instance of a BitrateXL object.

Definition

Namespace: Peak.Can.Basic
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
C#
public BitrateXL(
	BitrateXLClockFrequency frequency = BitrateXLClockFrequency.Mhz_160,
	uint prescaler = 0,
	uint nominalTseg1 = 0,
	uint nominalTseg2 = 0,
	uint nominalSjw = 0,
	uint fdTseg1 = 0,
	uint fdTseg2 = 0,
	uint fdSjw = 0,
	uint fdOffset = 0,
	uint xlTseg1 = 0,
	uint xlTseg2 = 0,
	uint xlSjw = 0,
	uint xlOffset = 0,
	bool errorSignaling = true,
	bool transceiverModeSwitch = false
)

Parameters

frequency  BitrateXLClockFrequency  (Optional)
The clock frequency to use for the CAN XL bit rate.
prescaler  UInt32  (Optional)
The prescaler value for the CAN XL bit rate.
nominalTseg1  UInt32  (Optional)
The time segment 1 used for the arbitration phase.
nominalTseg2  UInt32  (Optional)
The time segment 2 used for the arbitration phase.
nominalSjw  UInt32  (Optional)
The synchronization jump width used for the arbitration phase.
fdTseg1  UInt32  (Optional)
The time segment 1 used for the flexible data phase.
fdTseg2  UInt32  (Optional)
The time segment 2 used for the flexible data phase.
fdSjw  UInt32  (Optional)
The synchronization jump width used for the flexible data phase.
fdOffset  UInt32  (Optional)
The secondary sample point used for the flexible data phase.
xlTseg1  UInt32  (Optional)
The time segment 1 used for the extended data length phase.
xlTseg2  UInt32  (Optional)
The time segment 2 used for the extended data length phase.
xlSjw  UInt32  (Optional)
The synchronization jump width used for the extended data length phase.
xlOffset  UInt32  (Optional)
The secondary sample point used for the extended data length phase.
errorSignaling  Boolean  (Optional)
A value indicating whether error signaling is enabled for the CAN XL bit rate.
transceiverModeSwitch  Boolean  (Optional)
A value indicating whether transceiver mode switching is enabled for the CAN XL bit rate.

See Also