forked from haraldwolff/avr-fw-modules
20 lines
275 B
C
20 lines
275 B
C
|
/**
|
||
|
* rb2/can.h CAN Bus Unterstützung für regbus2
|
||
|
*
|
||
|
* (c) 2016 Harald Christian Joachim Wolff
|
||
|
*
|
||
|
**/
|
||
|
|
||
|
#include <rb2/regbus.h>
|
||
|
|
||
|
#define RB2_CANLINK_IDDEPTH 8
|
||
|
|
||
|
struct rb2_can_link {
|
||
|
RB2_LINK link;
|
||
|
|
||
|
uint16_t idmasks[RB2_CANLINK_IDDEPTH];
|
||
|
|
||
|
CANREQUEST *canrx[2];
|
||
|
};
|
||
|
|