REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches

HAL class for TBlock version 1.0.1. More...

#include <tblock.h>

Inheritance diagram for blocks::TBlockHAL_V_1_0_X:
Collaboration diagram for blocks::TBlockHAL_V_1_0_X:

Public Member Functions

 TBlockHAL_V_1_0_X (bus::addr_t block_address)
 
std::array< uint8_t, 8 > get_entity_eui () const override
 
bool write_muxes (std::array< uint8_t, 96 > muxes)
 
bool reset_muxes () override
 
void set_mux_disable () override
 
void reset_mux_disable () override
 
- Public Member Functions inherited from entities::EntitySharedHardware< Parent >
metadata::eui_t get_entity_eui () const
 
float read_temperature () const
 

Protected Attributes

const functions::TriggerFunction f_set_mux_disable
 
const functions::TriggerFunction f_reset_mux_disable
 
const functions::TriggerFunction f_reset_connections
 
const functions::SR74HCT595 f_connections
 
const functions::TriggerFunction f_connections_sync
 
- Protected Attributes inherited from entities::EntitySharedHardware< Parent >
const metadata::MetadataEditor f_meta
 
const functions::TMP127Q1 temperature_sensor
 

Static Protected Attributes

static const SPISettings F_CONNECTION_SPI_SETTINGS
 

Additional Inherited Members

- Protected Member Functions inherited from entities::EntitySharedHardware< Parent >
 EntitySharedHardware (bus::addr_t f_meta_addr, bus::addr_t temperature_sensor_addr)
 
 EntitySharedHardware (bus::addr_t block_address)
 

Detailed Description

HAL class for TBlock version 1.0.1.

Definition at line 19 of file tblock.h.

Constructor & Destructor Documentation

◆ TBlockHAL_V_1_0_X()

FLASHMEM TBlockHAL_V_1_0_X::TBlockHAL_V_1_0_X ( bus::addr_t block_address)
explicit

Definition at line 9 of file tblock.cpp.

Member Function Documentation

◆ get_entity_eui()

std::array< uint8_t, 8 > blocks::TBlockHAL_V_1_0_X::get_entity_eui ( ) const
inlineoverride

◆ reset_mux_disable()

FLASHMEM void TBlockHAL_V_1_0_X::reset_mux_disable ( )
override

Definition at line 18 of file tblock.cpp.

References f_reset_mux_disable, and functions::TriggerFunction::trigger().

◆ reset_muxes()

FLASHMEM bool TBlockHAL_V_1_0_X::reset_muxes ( )
override

◆ set_mux_disable()

FLASHMEM void TBlockHAL_V_1_0_X::set_mux_disable ( )
override

Definition at line 16 of file tblock.cpp.

References f_set_mux_disable, and functions::TriggerFunction::trigger().

◆ write_muxes()

FLASHMEM bool TBlockHAL_V_1_0_X::write_muxes ( std::array< uint8_t, 96 > muxes)

Member Data Documentation

◆ F_CONNECTION_SPI_SETTINGS

const SPISettings TBlockHAL_V_1_0_X::F_CONNECTION_SPI_SETTINGS
staticprotected
Initial value:
{
4'000'000, MSBFIRST,
SPI_MODE2 }

Definition at line 27 of file tblock.h.

◆ f_connections

const functions::SR74HCT595 blocks::TBlockHAL_V_1_0_X::f_connections
protected

Definition at line 24 of file tblock.h.

Referenced by reset_muxes(), and write_muxes().

◆ f_connections_sync

const functions::TriggerFunction blocks::TBlockHAL_V_1_0_X::f_connections_sync
protected

Definition at line 25 of file tblock.h.

Referenced by write_muxes().

◆ f_reset_connections

const functions::TriggerFunction blocks::TBlockHAL_V_1_0_X::f_reset_connections
protected

Definition at line 23 of file tblock.h.

Referenced by reset_muxes().

◆ f_reset_mux_disable

const functions::TriggerFunction blocks::TBlockHAL_V_1_0_X::f_reset_mux_disable
protected

Definition at line 22 of file tblock.h.

Referenced by reset_mux_disable().

◆ f_set_mux_disable

const functions::TriggerFunction blocks::TBlockHAL_V_1_0_X::f_set_mux_disable
protected

Definition at line 21 of file tblock.h.

Referenced by set_mux_disable().


The documentation for this class was generated from the following files: