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
byteThe 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
bytePHSEG2[2:0]: PS2 Length bits. (PHSEG2[2:0] + 1) x TQ. Minimum valid setting for PS2 is 2 TQ.
wakeUpFilter
boolWAKFIL: Wake-up Filter bit. True = Wake-up filter is enabled. False = Wake-up filter is disabled.
startOfFrameSignal
boolSOF: 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
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
WakeUpFilter
WAKFIL: Wake-up Filter bit. True = Wake-up filter is enabled. False = Wake-up filter is disabled.
public bool WakeUpFilter { get; }
Property Value
Methods
ToByte()
Converts register contents to a byte.
public byte ToByte()
Returns
- byte
The byte that represent the register contents.