REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
lucidac.h
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#pragma once
7
8#include "lucidac/lucidac.h"
9#include "utils/mac.h"
10
11namespace platform {
12
13class Dummy_LUCIDAC_HAL : public LUCIDAC_HAL {
14public:
16
17 };
18
20 bool write_acl(std::array<ACL, 8> acl) override { return true; };
21
22 void reset_acl() override {}
23
26 bool write_adc_bus_mux(std::array<int8_t, 8> channels) override { return true; }
27
28 void reset_adc_bus_mux() override {}
29};
30
31} // namespace platform
void reset_adc_bus_mux() override
Definition lucidac.h:28
bool write_acl(std::array< ACL, 8 > acl) override
Write bits to ACL shift register, from I-block input 24 (first element) to 31 (last element)
Definition lucidac.h:20
void reset_acl() override
Definition lucidac.h:22
bool write_adc_bus_mux(std::array< int8_t, 8 > channels) override
Write channel selection to ADC bus muxer.
Definition lucidac.h:26
Definition leds.h:7