User Documentation
CanSystem
The CanSystem
class provides functionality for managing CAN communication in the system. It
provides methods to initialize, run and shutdown the CAN system, as well as to handle received
CAN frames. It defines a configuration for a CAN device, specifying the SocketCAN interface
name and bus ID.
Public API
explicit CanSystem(::async::ContextType context);
CanSystem(CanSystem const&) = delete;
CanSystem& operator=(CanSystem const&) = delete;
::can::ICanTransceiver* getCanTransceiver(uint8_t busId) override;
void init() final;
void run() final;
void shutdown() final;