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>
4namespace CAN {
5struct 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
15struct CAN : public Sink<Message>, public Source<Message> { };
16}
Copyright (c) 2023 IACE.
generic object sink, i.e.
Definition streams.h:15
generic object source, i.e.
Definition streams.h:40