REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
mblock_int.h
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 <block/mblock_int.h>
6
7namespace blocks {
8
9class DummyMIntBlockHAL : public MIntBlockHAL {
10public:
11 explicit DummyMIntBlockHAL(){};
12
13 bool init() override { return true; };
14
15 bool write_ic(uint8_t idx, float ic) override { return true; };
16
17 bool write_time_factor_switches(std::bitset<8> switches) override { return true; };
18
19 std::bitset<8> read_overload_flags() override { return {}; };
20
21 void reset_overload_flags() override{
22
23 };
24
25 metadata::eui_t get_entity_eui() const override { return {}; }
26};
27
28} // namespace blocks
std::bitset< 8 > read_overload_flags() override
Definition mblock_int.h:19
bool write_time_factor_switches(std::bitset< 8 > switches) override
Definition mblock_int.h:17
bool init() override
Definition mblock_int.h:13
void reset_overload_flags() override
Definition mblock_int.h:21
bool write_ic(uint8_t idx, float ic) override
Definition mblock_int.h:15
metadata::eui_t get_entity_eui() const override
Definition mblock_int.h:25