[DeviceDriver] update CAN baudrate enum.
This commit is contained in:
parent
2fffc07d5e
commit
defa6f37ff
|
@ -37,15 +37,15 @@
|
|||
|
||||
enum CANBAUD
|
||||
{
|
||||
CAN1MBaud = 0, /* 1 MBit/sec */
|
||||
CAN800kBaud, /* 800 kBit/sec */
|
||||
CAN500kBaud, /* 500 kBit/sec */
|
||||
CAN250kBaud, /* 250 kBit/sec */
|
||||
CAN125kBaud, /* 125 kBit/sec */
|
||||
CAN100kBaud, /* 100 kBit/sec */
|
||||
CAN50kBaud, /* 50 kBit/sec */
|
||||
CAN20kBaud, /* 20 kBit/sec */
|
||||
CAN10kBaud /* 10 kBit/sec */
|
||||
CAN1MBaud = 1000UL * 1000,/* 1 MBit/sec */
|
||||
CAN800kBaud = 1000UL * 800, /* 800 kBit/sec */
|
||||
CAN500kBaud = 1000UL * 500, /* 500 kBit/sec */
|
||||
CAN250kBaud = 1000UL * 250, /* 250 kBit/sec */
|
||||
CAN125kBaud = 1000UL * 125, /* 125 kBit/sec */
|
||||
CAN100kBaud = 1000UL * 100, /* 100 kBit/sec */
|
||||
CAN50kBaud = 1000UL * 50, /* 50 kBit/sec */
|
||||
CAN20kBaud = 1000UL * 20, /* 20 kBit/sec */
|
||||
CAN10kBaud = 1000UL * 10 /* 10 kBit/sec */
|
||||
};
|
||||
|
||||
#define RT_CAN_MODE_NORMAL 0
|
||||
|
|
Loading…
Reference in New Issue