piMCP2515
A library for controlling an MCP2515 on the Raspberry Pi and Raspberry Pi Pico
Loading...
Searching...
No Matches
REQOP Codes

These definitions hold the REQOP (operating mode) codes. More...

Macros

#define PI_MCP2515_REQOP_MASK   0xE0
 Mask for REQOP values.

Enumerations

enum  mcp2515_reqop_t {
  PI_MCP2515_REQOP_NORMAL = 0x00 , PI_MCP2515_REQOP_SLEEP = 0x20 , PI_MCP2515_REQOP_LOOPBACK = 0x40 , PI_MCP2515_REQOP_LISTENONLY = 0x60 ,
  PI_MCP2515_REQOP_CONFIG = 0x80 , PI_MCP2515_REQOP_POWERUP = 0xE0
}

Detailed Description

These definitions hold the REQOP (operating mode) codes.

Enumeration Type Documentation

◆ mcp2515_reqop_t

Enumerator
PI_MCP2515_REQOP_NORMAL 

Normal operating mode.

PI_MCP2515_REQOP_SLEEP 

Sleep operating mode.

PI_MCP2515_REQOP_LOOPBACK 

Loopback operating mode.

PI_MCP2515_REQOP_LISTENONLY 

Listenonly operating mode.

PI_MCP2515_REQOP_CONFIG 

Config operating mode.

PI_MCP2515_REQOP_POWERUP 

Powerup operating mode.