REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
mblock_int.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 <proto/main.pb.h>
6#include "native/mblock_int.h"
7
8blocks::MIntBlock *blocks::MIntBlock::from_entity_classifier(entities::EntityClassifier classifier,
9 const bus::addr_t block_address) {
10
11 auto int_block = new MIntBlock(SLOT::M0, new DummyMIntBlockHAL());
12 int_block->set_entity_classifier(classifier);
13 return int_block;
14}