REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
mblock_mul.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 "native/mblock_mul.h"
6
7blocks::MMulBlock *blocks::MMulBlock::from_entity_classifier(entities::EntityClassifier classifier,
8 const bus::addr_t block_address) {
9 return new MMulBlock(SLOT::M1, new DummyMMulBlockHAL());
10}
11
12bool blocks::MMulBlock::calibrate(platform::Cluster *cluster, carrier::Carrier *carrier) { return true; }
13
14bool blocks::MMulBlockHAL::init() { return MBlockHAL::init(); }
15
17 bool error = true;
18 error &= MMulBlockHAL::init();
19 return error;
20}
21
23
25 uint16_t offset_y) {
26 return true;
27}
28
30 return true;
31}
32
bool write_calibration_output_offset(uint8_t idx, uint16_t offset_z) override
void reset_overload_flags() override
std::bitset< 8 > read_overload_flags() override
bool write_calibration_input_offsets(uint8_t idx, uint16_t offset_x, uint16_t offset_y) override
Definition daq.h:14