Edit

Share via


CanCtrl Constructors

Definition

Overloads

CanCtrl(Byte)

Initializes a new instance of the CanCtrl class.

CanCtrl(CanCtrl+PinPrescaler, Boolean, Boolean, Boolean, OperationMode)

Initializes a new instance of the CanCtrl class.

CanCtrl(Byte)

Initializes a new instance of the CanCtrl class.

public CanCtrl (byte value);
new Iot.Device.Mcp25xxx.Register.CanControl.CanCtrl : byte -> Iot.Device.Mcp25xxx.Register.CanControl.CanCtrl
Public Sub New (value As Byte)

Parameters

value
Byte

The value that represents the register contents.

Applies to

CanCtrl(CanCtrl+PinPrescaler, Boolean, Boolean, Boolean, OperationMode)

Initializes a new instance of the CanCtrl class.

public CanCtrl (Iot.Device.Mcp25xxx.Register.CanControl.CanCtrl.PinPrescaler clkOutPinPrescaler, bool clkOutPinEnable, bool oneShotMode, bool abortAllPendingTransmissions, Iot.Device.Mcp25xxx.Tests.Register.CanControl.OperationMode requestOperationMode);
new Iot.Device.Mcp25xxx.Register.CanControl.CanCtrl : Iot.Device.Mcp25xxx.Register.CanControl.CanCtrl.PinPrescaler * bool * bool * bool * Iot.Device.Mcp25xxx.Tests.Register.CanControl.OperationMode -> Iot.Device.Mcp25xxx.Register.CanControl.CanCtrl
Public Sub New (clkOutPinPrescaler As CanCtrl.PinPrescaler, clkOutPinEnable As Boolean, oneShotMode As Boolean, abortAllPendingTransmissions As Boolean, requestOperationMode As OperationMode)

Parameters

clkOutPinPrescaler
CanCtrl.PinPrescaler

CLKPRE[1:0]: CLKOUT Pin Prescaler bits.

clkOutPinEnable
Boolean

CLKEN: CLKOUT Pin Enable bit. True = CLKOUT pin is enabled. False = CLKOUT pin is disabled(pin is in a high-impedance state).

oneShotMode
Boolean

OSM: One-Shot Mode bit. True = Enabled: Message will only attempt to transmit one time. False = Disabled: Messages will reattempt transmission if required.

abortAllPendingTransmissions
Boolean

ABAT: Abort All Pending Transmissions bit. True = Requests abort of all pending transmit buffers. False = Terminates request to abort all transmissions.

requestOperationMode
OperationMode

REQOP[2:0]: Request Operation mode bits.

Applies to