OpenCores
URL https://opencores.org/ocsvn/minsoc/minsoc/trunk

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [drivers/] [can.h] - Diff between revs 36 and 53

Show entire file | Details | Blame | View Log

Rev 36 Rev 53
Line 1... Line 1...
 
 
struct can_type
struct can_type
{
{
    unsigned char rtr;
    unsigned char rtr;
    unsigned char len;
    unsigned char len;
    unsigned short identifier;
    unsigned short identifier;
Line 154... Line 153...
#define CAN_ERROR_CAPTURE_CODE_TYPE_STUFF 0x2
#define CAN_ERROR_CAPTURE_CODE_TYPE_STUFF 0x2
#define CAN_ERROR_CAPTURE_CODE_TYPE_OTHER 0x3
#define CAN_ERROR_CAPTURE_CODE_TYPE_OTHER 0x3
#define CAN_ERROR_CAPTURE_CODE_DIR        0x40  //1 = TX | 0 = RX
#define CAN_ERROR_CAPTURE_CODE_DIR        0x40  //1 = TX | 0 = RX
#define CAN_ERROR_CAPTURE_CODE_SEG        0x1F
#define CAN_ERROR_CAPTURE_CODE_SEG        0x1F
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.