Loading...
Searching...
No Matches
candev_mcp2515_conf Struct Reference

MCP2515 configuration descriptor. More...

Detailed Description

MCP2515 configuration descriptor.

Definition at line 91 of file candev_mcp2515.h.

#include <candev_mcp2515.h>

Data Fields

spi_t spi
 SPI bus.
 
spi_mode_t spi_mode
 SPI mode.
 
spi_clk_t spi_clk
 SPI clock speed.
 
gpio_t cs_pin
 Slave select pin.
 
gpio_t rst_pin
 Reset pin.
 
gpio_t int_pin
 Interrupt pin.
 
uint32_t clk
 External clock frequency.
 

Field Documentation

◆ clk

uint32_t candev_mcp2515_conf::clk

External clock frequency.

Definition at line 98 of file candev_mcp2515.h.

◆ cs_pin

gpio_t candev_mcp2515_conf::cs_pin

Slave select pin.

Definition at line 95 of file candev_mcp2515.h.

◆ int_pin

gpio_t candev_mcp2515_conf::int_pin

Interrupt pin.

Definition at line 97 of file candev_mcp2515.h.

◆ rst_pin

gpio_t candev_mcp2515_conf::rst_pin

Reset pin.

Definition at line 96 of file candev_mcp2515.h.

◆ spi

spi_t candev_mcp2515_conf::spi

SPI bus.

Definition at line 92 of file candev_mcp2515.h.

◆ spi_clk

spi_clk_t candev_mcp2515_conf::spi_clk

SPI clock speed.

Definition at line 94 of file candev_mcp2515.h.

◆ spi_mode

spi_mode_t candev_mcp2515_conf::spi_mode

SPI mode.

Definition at line 93 of file candev_mcp2515.h.


The documentation for this struct was generated from the following file: