10#define TWAI_PLUGIN_HPP
17#include "driver/twai.h"
28 class TWAIPlugin :
public CANHardwarePlugin
35 explicit TWAIPlugin(
const twai_general_config_t *generalConfig,
const twai_timing_config_t *timingConfig,
const twai_filter_config_t *filterConfig);
38 virtual ~TWAIPlugin();
42 bool get_is_valid()
const override;
45 void close()
override;
61 const twai_general_config_t *generalConfig;
62 const twai_timing_config_t *timingConfig;
63 const twai_filter_config_t *filterConfig;
An abstraction between this CAN stack and any hardware layer.
A base class for a CAN driver. Can be derived into your platform's required interface.
A classical CAN frame, with 8 data bytes.
A CAN frame for interfacing with a hardware layer, like socket CAN or other interface.
This namespace encompasses all of the ISO11783 stack's functionality to reduce global namespace pollu...