REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
redac.cpp
Go to the documentation of this file.
1// Copyright (c) 2024 anabrid GmbH
2// Contact: https://www.anabrid.com/licensing/
3//
4// SPDX-License-Identifier: MIT OR GPL-2.0-or-later
5
6#include <proto/main.pb.h>
7#include <redac/redac.h>
8#include "native/redac.h"
9
10platform::REDAC *platform::REDAC::from_entity_classifier(entities::EntityClassifier classifier,
11 const bus::addr_t block_address) {
12
13 auto redac = new REDAC(new REDAC_HAL_Dummy());
14 redac->set_entity_classifier(classifier);
15 return redac;
16}