REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
blocks::MIntBlockHAL_V_1_0_X Class Reference

#include <mblock_int.h>

Inheritance diagram for blocks::MIntBlockHAL_V_1_0_X:
Collaboration diagram for blocks::MIntBlockHAL_V_1_0_X:

Public Member Functions

 MIntBlockHAL_V_1_0_X (bus::addr_t block_address)
 
bool init () override
 
bool write_ic (uint8_t idx, float ic) override
 
bool write_time_factor_switches (std::bitset< 8 > switches) override
 
std::bitset< 8 > read_overload_flags () override
 
void reset_overload_flags () override
 
- Public Member Functions inherited from entities::EntitySharedHardware< MIntBlockHAL >
metadata::eui_t get_entity_eui () const
 
float read_temperature () const
 
metadata::eui_t get_entity_eui () const
 
float read_temperature () const
 

Protected Attributes

const functions::DAC60508 f_ic_dac
 
const functions::SR74HCT595 f_time_factor
 
const functions::TriggerFunction f_time_factor_sync
 
const functions::TriggerFunction f_time_factor_reset
 
const functions::SR74HC16X f_overload_flags
 
const functions::TriggerFunction f_overload_flags_reset
 
- Protected Attributes inherited from entities::EntitySharedHardware< MIntBlockHAL >
const metadata::MetadataEditor f_meta
 
const functions::TMP127Q1 temperature_sensor
 
const metadata::MetadataEditor f_meta
 
const functions::TMP127Q1 temperature_sensor
 

Additional Inherited Members

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

Detailed Description

Definition at line 20 of file mblock_int.h.

Constructor & Destructor Documentation

◆ MIntBlockHAL_V_1_0_X()

blocks::MIntBlockHAL_V_1_0_X::MIntBlockHAL_V_1_0_X ( bus::addr_t block_address)
explicit

Member Function Documentation

◆ init()

bool blocks::MIntBlockHAL_V_1_0_X::init ( )
override

Definition at line 242 of file mblock_int.cpp.

References f_ic_dac.

◆ read_overload_flags()

std::bitset< 8 > blocks::MIntBlockHAL_V_1_0_X::read_overload_flags ( )
override

Definition at line 262 of file mblock_int.cpp.

References f_overload_flags.

◆ reset_overload_flags()

void blocks::MIntBlockHAL_V_1_0_X::reset_overload_flags ( )
override

Definition at line 266 of file mblock_int.cpp.

References f_overload_flags_reset.

◆ write_ic()

bool blocks::MIntBlockHAL_V_1_0_X::write_ic ( uint8_t idx,
float ic )
override

Definition at line 248 of file mblock_int.cpp.

References f_ic_dac.

◆ write_time_factor_switches()

bool blocks::MIntBlockHAL_V_1_0_X::write_time_factor_switches ( std::bitset< 8 > switches)
override

Definition at line 255 of file mblock_int.cpp.

References f_time_factor, and f_time_factor_sync.

Member Data Documentation

◆ f_ic_dac

const functions::DAC60508 blocks::MIntBlockHAL_V_1_0_X::f_ic_dac
protected

◆ f_overload_flags

const functions::SR74HC16X blocks::MIntBlockHAL_V_1_0_X::f_overload_flags
protected

Definition at line 26 of file mblock_int.h.

Referenced by MIntBlockHAL_V_1_0_X(), and read_overload_flags().

◆ f_overload_flags_reset

const functions::TriggerFunction blocks::MIntBlockHAL_V_1_0_X::f_overload_flags_reset
protected

Definition at line 27 of file mblock_int.h.

Referenced by MIntBlockHAL_V_1_0_X(), and reset_overload_flags().

◆ f_time_factor

const functions::SR74HCT595 blocks::MIntBlockHAL_V_1_0_X::f_time_factor
protected

◆ f_time_factor_reset

const functions::TriggerFunction blocks::MIntBlockHAL_V_1_0_X::f_time_factor_reset
protected

Definition at line 25 of file mblock_int.h.

Referenced by MIntBlockHAL_V_1_0_X().

◆ f_time_factor_sync

const functions::TriggerFunction blocks::MIntBlockHAL_V_1_0_X::f_time_factor_sync
protected

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