Mcp25xxx Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A general purpose driver for the Microchip MCP25 CAN controller device family.
public abstract class Mcp25xxx : IDisposable
type Mcp25xxx = class
interface IDisposable
Public MustInherit Class Mcp25xxx
Implements IDisposable
- Inheritance
-
Mcp25xxx
- Derived
- Implements
Mcp25xxx(Spi |
A general purpose driver for the Microchip MCP25 CAN controller device family. |
Mcp25xxx(Spi |
Interrupt |
Reads the current value of Interrupt pin. |
Reset |
Writes a value to Reset pin. |
Rx0Bf |
Reads the current value of Rx0BF pin. |
Rx1Bf |
Reads the current value of Rx1BF pin. |
Tx0Rts |
Writes a value to Tx0RTS pin. |
Tx1Rts |
Writes a value to Tx1RTS pin. |
Tx2Rts |
Writes a value to Tx2RTS pin. |
Abort |
Abort send all messages from buffers, buffers will be empty |
Bit |
Allows the user to set or clear individual bits in a particular register. Not all registers can be bit modified with this command. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Enable |
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 |
Get |
Get witch buffer empty now |
Get |
Get instructions address from buffer |
Is |
Check is buffer empty |
Load |
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. |
Read(Address) |
Reads data from the register beginning at the selected address. |
Read |
Read arrived messages |
Read |
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. |
Read |
Quick polling command that reads several Status bits for transmit and receive functions. |
Request |
Instructs the controller to begin the message transmission sequence for any of the transmit buffers. |
Reset() |
Resets the internal registers to the default state and sets Configuration mode. |
Rx |
Quick polling command that indicates a filter match and message type (standard, extended and/or remote) of the received message. |
Send |
Command to mcp25xx to send bytes from specific buffer |
Send |
Send message |
Send |
Send message from specific buffer |
Set |
The configuration registers (CNF1, CNF2, CNF3) control the bit timing for the CAN bus interface. |
Set |
Set mode of operation |
Write(Address, Read |
Writes data to the register beginning at the selected address. |
Write |
Writes one byte to the register beginning at the selected address. |
Write |
Writes a byte to the selected register address. |
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |