Table of Contents

Class Cnf3

Namespace
Iot.Device.Mcp25xxx.Register.BitTimeConfiguration
Assembly
Iot.Device.Mcp25xxx.dll

Configuration 3 Register.

public class Cnf3 : IRegister
Inheritance
Cnf3
Implements

Constructors

Cnf3(byte)

Initializes a new instance of the Cnf3 class.

public Cnf3(byte value)

Parameters

value byte

The value that represents the register contents.

Cnf3(byte, bool, bool)

Initializes a new instance of the Cnf3 class.

public Cnf3(byte ps2Length, bool wakeUpFilter, bool startOfFrameSignal)

Parameters

ps2Length byte

PHSEG2[2:0]: PS2 Length bits. (PHSEG2[2:0] + 1) x TQ. Minimum valid setting for PS2 is 2 TQ.

wakeUpFilter bool

WAKFIL: Wake-up Filter bit. True = Wake-up filter is enabled. False = Wake-up filter is disabled.

startOfFrameSignal bool

SOF: Start-of-Frame Signal bit. If CLKEN(CANCTRL[2]) = 1: True = CLKOUT pin is enabled for SOF signal. False = CLKOUT pin is enabled for clock out function; If CLKEN(CANCTRL[2]) = 0: Bit is don’t care.

Properties

Address

Gets the address of the register.

public Address Address { get; }

Property Value

Address

The address of the register.

Ps2Length

PHSEG2[2:0]: PS2 Length bits. (PHSEG2[2:0] + 1) x TQ. Minimum valid setting for PS2 is 2 TQ.

public byte Ps2Length { get; }

Property Value

byte

StartOfFrameSignal

SOF: Start-of-Frame Signal bit. If CLKEN(CANCTRL[2]) = 1: True = CLKOUT pin is enabled for SOF signal. False = CLKOUT pin is enabled for clock out function; If CLKEN(CANCTRL[2]) = 0: Bit is don’t care.

public bool StartOfFrameSignal { get; }

Property Value

bool

WakeUpFilter

WAKFIL: Wake-up Filter bit. True = Wake-up filter is enabled. False = Wake-up filter is disabled.

public bool WakeUpFilter { get; }

Property Value

bool

Methods

ToByte()

Converts register contents to a byte.

public byte ToByte()

Returns

byte

The byte that represent the register contents.