AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
Loading...
Searching...
No Matches
can_hardware_abstraction.hpp
Go to the documentation of this file.
1//================================================================================================
8//================================================================================================
9
10#ifndef CAN_HARDWARE_ABSTRACTION_HPP
11#define CAN_HARDWARE_ABSTRACTION_HPP
12
14
15#include <cstdint>
16
17namespace isobus
18{
22 bool send_can_message_frame_to_hardware(const CANMessageFrame &frame);
23
26 void receive_can_message_frame_from_hardware(const CANMessageFrame &frame);
27
30 void on_transmit_can_message_frame_from_hardware(const CANMessageFrame &txFrame);
31
34
35} // namespace isobus
36
37#endif // CAN_HARDWARE_ABSTRACTION_HPP
A classical CAN frame, with 8 data bytes.
This namespace encompasses all of the ISO11783 stack's functionality to reduce global namespace pollu...
bool send_can_message_frame_to_hardware(const CANMessageFrame &frame)
The sending abstraction layer between the hardware and the stack.
void on_transmit_can_message_frame_from_hardware(const CANMessageFrame &txFrame)
Informs the network manager whenever messages are emitted on the bus.
void periodic_update_from_hardware()
The periodic update abstraction layer between the hardware and the stack.
void receive_can_message_frame_from_hardware(const CANMessageFrame &frame)
The receiving abstraction layer between the hardware and the stack.