mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/CAN-Demo.git
synced 2025-06-12 03:56:00 +00:00
30 lines
446 B
C++
30 lines
446 B
C++
/*
|
|
* can_task.hpp
|
|
*
|
|
* Created on: 10 Dec 2023
|
|
* Author: Carl
|
|
*/
|
|
|
|
#ifndef INC_TASKS_RELAYTASK_HPP_
|
|
#define INC_TASKS_RELAYTASK_HPP_
|
|
|
|
#include <sta/tacos/thread.hpp>
|
|
#include <sta/devices/stm32/can.hpp>
|
|
|
|
namespace tasks
|
|
{
|
|
class RelayTask : public sta::tacos::TacosThread {
|
|
public:
|
|
RelayTask(uint32_t canID);
|
|
|
|
void init() override;
|
|
|
|
void func() override;
|
|
|
|
private:
|
|
|
|
};
|
|
} // namespace demo
|
|
|
|
#endif /* INC_TASKS_RELAYTASK_HPP_ */
|