![]() |
CAN Bus Soldered Arduino Library 1.0.0
This is a library for the MCP2518 Can Bus Breakout by Soldered
|
Functions | |
uint16_t | DRV_CANFDSPI_CalculateCRC16 (uint8_t *data, uint16_t size) |
uint32_t | DRV_CANFDSPI_DlcToDataBytes (CAN_DLC dlc) |
Variables | |
static CAN_CONFIG | config |
static CAN_RX_FIFO_CONFIG | rxConfig |
static REG_CiFLTOBJ | fObj |
static REG_CiMASK | mObj |
static CAN_RX_FIFO_EVENT | rxFlags |
static CAN_RX_MSGOBJ | rxObj |
static uint8_t | rxd [MAX_DATA_BYTES] |
static CAN_TX_FIFO_CONFIG | txConfig |
static CAN_TX_FIFO_EVENT | txFlags |
static CAN_TX_MSGOBJ | txObj |
static uint8_t | txd [MAX_DATA_BYTES] |
static uint8_t | spiTransmitBuffer [SPI_DEFAULT_BUFFER_LENGTH+2] |
SPI Transmit buffer. | |
static uint8_t | spiReceiveBuffer [SPI_DEFAULT_BUFFER_LENGTH] |
SPI Receive buffer. | |
static const uint16_t | MAX_BRP = 256 |
static const uint16_t | MAX_ARBITRATION_PHASE_SEGMENT_1 = 256 |
static const uint8_t | MAX_ARBITRATION_PHASE_SEGMENT_2 = 128 |
static const uint8_t | MAX_ARBITRATION_SJW = 128 |
static const uint16_t | MAX_DATA_PHASE_SEGMENT_1 = 32 |
static const uint8_t | MAX_DATA_PHASE_SEGMENT_2 = 16 |
static const uint8_t | MAX_DATA_SJW = 16 |
uint16_t DRV_CANFDSPI_CalculateCRC16 | ( | uint8_t * | data, |
uint16_t | size ) |
uint32_t DRV_CANFDSPI_DlcToDataBytes | ( | CAN_DLC | dlc | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
SPI Receive buffer.
|
static |
SPI Transmit buffer.
|
static |
|
static |
|
static |
|
static |