Class CanSettings
- Namespace
- nanoFramework.Device.Can
- Assembly
- nanoFramework.Device.Can.dll
Represents the settings for CAN bus.
public sealed class CanSettings
- Inheritance
-
CanSettings
- Inherited Members
- Extension Methods
Constructors
CanSettings(byte, byte, byte, byte)
Initializes a new instance of CanSettings.
public CanSettings(byte baudRatePrescaler, byte phaseSegment1, byte phaseSegment2, byte syncJumpWidth)
Parameters
baudRatePrescalerbyteBus baud rate prescaler.
phaseSegment1bytePhase segment 1.
phaseSegment2bytePhase segment 2.
syncJumpWidthbyteSynchronization jump width.
Properties
BaudRatePrescaler
Gets or sets the baud rate prescaler.
public byte BaudRatePrescaler { get; set; }
Property Value
PhaseSegment1
Gets or sets the value for phase segment 1.
public byte PhaseSegment1 { get; set; }
Property Value
PhaseSegment2
Gets or sets the value for phase segment 2.
public byte PhaseSegment2 { get; set; }
Property Value
SyncJumpWidth
Gets or sets the value for the synchronization jump width.
public byte SyncJumpWidth { get; set; }