Edit

Share via


Mcp25625 Class

Definition

Driver for the Microchip MCP25625 CAN controller.

public class Mcp25625 : Iot.Device.Mcp25xxx.Mcp25xxx
type Mcp25625 = class
    inherit Mcp25xxx
Public Class Mcp25625
Inherits Mcp25xxx
Inheritance
Mcp25625

Constructors

Mcp25625(SpiDevice, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, GpioController)
Mcp25625(SpiDevice, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, GpioController, Boolean)

Initializes a new instance of the Mcp25625 class.

Properties

InterruptPin

Reads the current value of Interrupt pin.

(Inherited from Mcp25xxx)
ResetPin

Writes a value to Reset pin.

(Inherited from Mcp25xxx)
Rx0BfPin

Reads the current value of Rx0BF pin.

(Inherited from Mcp25xxx)
Rx1BfPin

Reads the current value of Rx1BF pin.

(Inherited from Mcp25xxx)
StandbyPin

Writes a value to Standby (STBY) pin.

Tx0RtsPin

Writes a value to Tx0RTS pin.

(Inherited from Mcp25xxx)
Tx1RtsPin

Writes a value to Tx1RTS pin.

(Inherited from Mcp25xxx)
Tx2RtsPin

Writes a value to Tx2RTS pin.

(Inherited from Mcp25xxx)

Methods

AbortAllPendingTransmissions()

Abort send all messages from buffers, buffers will be empty

(Inherited from Mcp25xxx)
BitModify(Address, Byte, Byte)

Allows the user to set or clear individual bits in a particular register. Not all registers can be bit modified with this command.

(Inherited from Mcp25xxx)
Dispose() (Inherited from Mcp25xxx)
EnableRollover()

If RXB0 contains a valid message and another valid message is received, an overflow error will not occur and the new message will be moved into RXB1

(Inherited from Mcp25xxx)
GetEmptyTxBuffer()

Get witch buffer empty now

(Inherited from Mcp25xxx)
GetInstructionsAddress(TransmitBuffer)

Get instructions address from buffer

(Inherited from Mcp25xxx)
IsMessageSend(TransmitBuffer)

Check is buffer empty

(Inherited from Mcp25xxx)
LoadTxBuffer(TxBufferAddressPointer, ReadOnlySpan<Byte>)

When loading a transmit buffer, reduces the overhead of a normal WRITE command by placing the Address Pointer at one of six locations for transmit buffer.

(Inherited from Mcp25xxx)
Read(Address)

Reads data from the register beginning at the selected address.

(Inherited from Mcp25xxx)
ReadMessages()

Read arrived messages

(Inherited from Mcp25xxx)
ReadRxBuffer(RxBufferAddressPointer, Int32)

When reading a receive buffer, reduces the overhead of a normal READ command by placing the Address Pointer at one of four locations for the receive buffer.

(Inherited from Mcp25xxx)
ReadStatus()

Quick polling command that reads several Status bits for transmit and receive functions.

(Inherited from Mcp25xxx)
RequestToSend(Boolean, Boolean, Boolean)

Instructs the controller to begin the message transmission sequence for any of the transmit buffers.

(Inherited from Mcp25xxx)
Reset()

Resets the internal registers to the default state and sets Configuration mode.

(Inherited from Mcp25xxx)
RxStatus()

Quick polling command that indicates a filter match and message type (standard, extended and/or remote) of the received message.

(Inherited from Mcp25xxx)
SendFromBuffer(TransmitBuffer)

Command to mcp25xx to send bytes from specific buffer

(Inherited from Mcp25xxx)
SendMessage(SendingCanMessage)

Send message

(Inherited from Mcp25xxx)
SendMessageFromBuffer(TransmitBuffer, SendingCanMessage)

Send message from specific buffer

(Inherited from Mcp25xxx)
SetBitrate(FrequencyAndSpeed)

The configuration registers (CNF1, CNF2, CNF3) control the bit timing for the CAN bus interface.

(Inherited from Mcp25xxx)
SetMode(OperationMode)

Set mode of operation

(Inherited from Mcp25xxx)
Write(Address, ReadOnlySpan<Byte>)

Writes data to the register beginning at the selected address.

(Inherited from Mcp25xxx)
WriteByte(Address, Byte)

Writes one byte to the register beginning at the selected address.

(Inherited from Mcp25xxx)
WriteByte(IRegister)

Writes a byte to the selected register address.

(Inherited from Mcp25xxx)

Applies to