Eflg Class

Definition

Error Flag Register.

public class Eflg : Iot.Device.Mcp25xxx.Register.IRegister
type Eflg = class
    interface IRegister
Public Class Eflg
Implements IRegister
Inheritance
Eflg
Implements

Constructors

Eflg(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Initializes a new instance of the Eflg class.

Eflg(Byte)

Initializes a new instance of the Eflg class.

Properties

Address

Gets the address of the register.

BusOffErrorFlag

TXBO: Bus-Off Error Flag bit. Bit sets when TEC reaches 255. Resets after a successful bus recovery sequence.

ErrorWarningFlag

EWARN: Error Warning Flag bit. Sets when TEC or REC is equal to or greater than 96 (TXWAR or RXWAR = 1). Resets when both REC and TEC are less than 96.

ReceiveBuffer0OverflowFlag

RX0OVR: Receive Buffer 0 Overflow Flag bit. Sets when a valid message is received for RXB0 and the RX0IF bit in the CANINTF register is ‘1’. Must be reset by MCU.

ReceiveBuffer1OverflowFlag

RX1OVR: Receive Buffer 1 Overflow Flag bit. Sets when a valid message is received for RXB1 and the RX1IF bit in the CANINTF register is ‘1’. Must be reset by MCU.

ReceiveErrorPassiveFlag

RXEP: Receive Error-Passive Flag bit. Sets when REC is equal to or greater than 128. Resets when REC is less than 128.

ReceiveErrorWarningFlag

RXWAR: Receive Error Warning Flag bit. Sets when REC is equal to or greater than 96. Resets when REC is less than 96.

TransmitErrorPassiveFlag

TXEP: Transmit Error-Passive Flag bit. Sets when TEC is equal to or greater than 128. Resets when TEC is less than 128.

TransmitErrorWarningFlag

TXWAR: Transmit Error Warning Flag bit. Sets when TEC is equal to or greater than 96. Resets when TEC is less than 96.

Methods

ToByte()

Converts register contents to a byte.

Applies to