Class Mcp25625
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
SpiDeviceThe SPI device used for communication.
reset
intThe output pin number that is connected to Reset.
tx0rts
intThe output pin number that is connected to Tx0RTS.
tx1rts
intThe output pin number that is connected to Tx1RTS.
tx2rts
intThe output pin number that is connected to Tx2RTS.
standby
intThe output pin number that is connected to STBY.
interrupt
intThe input pin number that is connected to INT.
rx0bf
intThe input pin number that is connected to Rx0BF.
rx1bf
intThe input pin number that is connected to Rx1BF.
clkout
intThe input pin number that is connected to CLKOUT.
gpioController
GpioControllerThe GPIO controller for defined external pins. If not specified, the default controller will be used.
shouldDispose
boolTrue to dispose the Gpio Controller
Properties
StandbyPin
Writes a value to Standby (STBY) pin.
public PinValue StandbyPin { set; }