REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
mode.cpp
Go to the documentation of this file.
1// Copyright (c) 2024 anabrid GmbH
2// Contact: https://www.anabrid.com/licensing/
3// SPDX-License-Identifier: MIT OR GPL-2.0-or-later
4
5#include "mode/mode.h"
6#include "mode/counters.h"
7
8#include <Arduino.h>
9
10#include "utils/factorize.h"
11#include "utils/logging.h"
12
13bool mode::is_global_overload_active() { return true; }
14
15void mode::ManualControl::init() { std::cout << "Control: Init" << std::endl; }
16
17void mode::ManualControl::to_ic() { std::cout << "Control: Ic" << std::endl; }
18
19void mode::ManualControl::to_op() { std::cout << "Control: Op" << std::endl; }
20
21void mode::ManualControl::to_halt() { std::cout << "Control: Halt" << std::endl; }
22
23void mode::RealManualControl::enable() { std::cout << "Control: Enable" << std::endl; }
24
25void mode::RealManualControl::disable() { std::cout << "Control: Disable" << std::endl; }
26
27void mode::RealManualControl::to_ic() { std::cout << "Control: Ic" << std::endl; }
28
29void mode::RealManualControl::to_op() { std::cout << "Control: Op" << std::endl; }
30
31void mode::RealManualControl::to_halt() { std::cout << "Control: Halt" << std::endl; }