Table of Contents

Class Cnf1

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

Configuration 1 Register.

public class Cnf1 : IRegister
Inheritance
Cnf1
Implements

Constructors

Cnf1(byte)

Initializes a new instance of the Cnf1 class.

public Cnf1(byte value)

Parameters

value byte

The value that represents the register contents.

Cnf1(byte, JumpWidthLength)

Initializes a new instance of the Cnf1 class.

public Cnf1(byte baudRatePrescaler, Cnf1.JumpWidthLength synchronizationJumpWidthLength)

Parameters

baudRatePrescaler byte

BRP[5:0]: Baud Rate Prescaler bits. TQ = 2 x (BRP[5:0] + 1)/FOSC.

synchronizationJumpWidthLength Cnf1.JumpWidthLength

SJW[1:0]: Synchronization Jump Width Length bits.

Properties

Address

Gets the address of the register.

public Address Address { get; }

Property Value

Address

The address of the register.

BaudRatePrescaler

BRP[5:0]: Baud Rate Prescaler bits. TQ = 2 x (BRP[5:0] + 1)/FOSC.

public byte BaudRatePrescaler { get; }

Property Value

byte

SynchronizationJumpWidthLength

SJW[1:0]: Synchronization Jump Width Length bits.

public Cnf1.JumpWidthLength SynchronizationJumpWidthLength { get; }

Property Value

Cnf1.JumpWidthLength

Methods

ToByte()

Converts register contents to a byte.

public byte ToByte()

Returns

byte

The byte that represent the register contents.