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
byteThe 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
byteBRP[5:0]: Baud Rate Prescaler bits. TQ = 2 x (BRP[5:0] + 1)/FOSC.
synchronizationJumpWidthLength
Cnf1.JumpWidthLengthSJW[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
SynchronizationJumpWidthLength
SJW[1:0]: Synchronization Jump Width Length bits.
public Cnf1.JumpWidthLength SynchronizationJumpWidthLength { get; }
Property Value
Methods
ToByte()
Converts register contents to a byte.
public byte ToByte()
Returns
- byte
The byte that represent the register contents.