Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
Loading...
Searching...
No Matches
can.h
1
#pragma once
2
#include <cstdint>
3
#include <
core/streams.h
>
4
namespace
CAN {
5
struct
Message {
6
uint64_t data;
7
uint32_t id;
8
struct
{
9
uint8_t rtr:1;
10
uint8_t ide:1;
11
uint8_t dlc:4;
12
} opts;
13
};
14
15
struct
CAN :
public
Sink
<Message>,
public
Source
<Message> { };
16
}
streams.h
Copyright (c) 2023 IACE.
Sink
generic object sink, i.e.
Definition
streams.h:15
Source
generic object source, i.e.
Definition
streams.h:40
comm
can.h
Generated by
1.9.8