REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
lucidac.h
Go to the documentation of this file.
Definition carrier.h:23
Entity()=default
DataFunction to transfer 32bit of data to the I-Block matrix command registry.
Definition iblock.h:30
The SR74HCT595 is an 8-Bit Shift Register with 3-State Output Registers.
Definition SR74HCT595.h:16
Definition TMP127Q1.h:14
A trigger function exploits the fact that setting an address on the bus triggers an action (TODO: Is ...
Definition functions.h:33
The Lucidac Front Panel is represented by this class.
Definition front_panel.h:26
Definition lucidac.h:15
const functions::TriggerFunction f_adc_switcher_matrix_reset
Definition lucidac.h:42
static constexpr uint8_t ADC_RESET_8816_FADDR
Definition lucidac.h:23
const functions::ICommandRegisterFunction f_adc_switcher_prg
Definition lucidac.h:39
static const SPISettings F_ADC_SWITCHER_PRG_SPI_SETTINGS
Definition lucidac.h:9
const functions::TriggerFunction f_adc_switcher_sr_reset
Definition lucidac.h:41
static constexpr uint8_t ADC_RESET_SR_FADDR
Definition lucidac.h:24
@ EXTERNAL_
@ INTERNAL_
static constexpr uint8_t ADC_STROBE_FADDR
Definition lucidac.h:25
bool write_adc_bus_mux(const std::array< int8_t, 8 > &channels) override
Write channel selection to ADC bus muxer.
Definition lucidac.cpp:45
static constexpr uint8_t TEMPERATURE_FADDR
Definition lucidac.h:21
const functions::TriggerFunction f_adc_switcher_sync
Definition lucidac.h:40
bool write_acl(std::array< ACL, 8 > acl)
Write bits to ACL shift register, from I-block input 24 (first element) to 31 (last element)
Definition lucidac.cpp:27
Definition lucidac.h:63
Entity * get_child_entity(const std::string &child_id) override
Definition lucidac.cpp:103
const std::array< ACL, 8 > & get_acl_select() const
Definition lucidac.cpp:118
void config_self_to_json(JsonObject &cfg) override
Serialize the configuration of this entity to a JsonObject.
Definition lucidac.cpp:182
std::vector< Entity * > get_child_entities() override
Definition lucidac.cpp:96
bool _config_acl_from_json(const JsonVariantConst &cfg)
Definition lucidac.cpp:163
utils::status config_self_from_json(JsonObjectConst cfg) override
Deserialize a new configuration for this entity from a JsonObject.
Definition lucidac.cpp:144
void set_acl_select(const std::array< ACL, 8 > &acl_select_)
Definition lucidac.cpp:120
Define singletons which are not static-space allocated (and thus consume valuable ICTM space).
Definition singleton.h:46
A recoverable error, inspired from https://abseil.io/docs/cpp/guides/status and https://github....
Definition error.h:35
This concept of Backpanel / Backplane refers to the address decoder and periphery reachable by every ...
Definition cblock.h:15
Definition base.h:101