VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
can_prio_from_opc.c
Go to the documentation of this file.
1
#include "
vlcb/common/can.h
"
2
3
#include "
vlcb/common/vlcb_defs.h
"
4
5
VlcbCanPriority
vlcb_defs_CanPriorityFromOpcode
(
const
VlcbOpCode
opc) {
6
// TODO: copy the logic from rust project
7
switch
(opc) {
8
default
:
9
return
VLCB_CAN_PRIO_DEFAULT
;
10
}
11
}
vlcb_defs_CanPriorityFromOpcode
VlcbCanPriority vlcb_defs_CanPriorityFromOpcode(const VlcbOpCode opc)
Definition
can_prio_from_opc.c:5
can.h
VlcbCanPriority
VlcbCanPriority
Definition
common/inc/vlcb/common/can.h:15
VLCB_CAN_PRIO_DEFAULT
#define VLCB_CAN_PRIO_DEFAULT
Definition
common/inc/vlcb/common/can.h:24
vlcb_defs.h
VlcbOpCode
VlcbOpCode
Definition
vlcb_defs.h:493
common
src
can
can_prio_from_opc.c
Generated on Mon Nov 4 2024 09:13:33 for VLCB SDK by
1.12.0