Table of Contents

Class Mcp25625

Namespace
Iot.Device.Mcp25xxx
Assembly
Iot.Device.Mcp25xxx.dll

Driver for the Microchip MCP25625 CAN controller.

public class Mcp25625 : Mcp25xxx
Inheritance
Mcp25625
Inherited Members

Constructors

Mcp25625(SpiDevice, int, int, int, int, int, int, int, int, int, GpioController?, bool)

Initializes a new instance of the Mcp25625 class.

public Mcp25625(SpiDevice spiDevice, int reset = -1, int tx0rts = -1, int tx1rts = -1, int tx2rts = -1, int standby = -1, int interrupt = -1, int rx0bf = -1, int rx1bf = -1, int clkout = -1, GpioController? gpioController = null, bool shouldDispose = true)

Parameters

spiDevice SpiDevice

The SPI device used for communication.

reset int

The output pin number that is connected to Reset.

tx0rts int

The output pin number that is connected to Tx0RTS.

tx1rts int

The output pin number that is connected to Tx1RTS.

tx2rts int

The output pin number that is connected to Tx2RTS.

standby int

The output pin number that is connected to STBY.

interrupt int

The input pin number that is connected to INT.

rx0bf int

The input pin number that is connected to Rx0BF.

rx1bf int

The input pin number that is connected to Rx1BF.

clkout int

The input pin number that is connected to CLKOUT.

gpioController GpioController

The GPIO controller for defined external pins. If not specified, the default controller will be used.

shouldDispose bool

True to dispose the Gpio Controller

Properties

StandbyPin

Writes a value to Standby (STBY) pin.

public PinValue StandbyPin { set; }

Property Value

PinValue