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

#include <mblock_int.h>

Inheritance diagram for blocks::MIntBlockHAL_V_1_1_X:
Collaboration diagram for blocks::MIntBlockHAL_V_1_1_X:

Public Member Functions

 MIntBlockHAL_V_1_1_X (bus::addr_t block_address)
 
bool write_ic (uint8_t idx, float ic) override
 
bool write_time_factor_switches (std::bitset< 8 > switches) override
 
virtual bool write_time_factor_switches_and_limiters_enable (std::bitset< 8 > switches, std::bitset< 8 > limiters)
 
virtual bool write_time_factor_gain (uint8_t idx, uint8_t gain)
 
- Public Member Functions inherited from blocks::MIntBlockHAL_V_1_0_X
 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

functions::AD8403 f_time_factor_gain_0_3
 
functions::AD8403 f_time_factor_gain_4_7
 
- Protected Attributes inherited from blocks::MIntBlockHAL_V_1_0_X
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 41 of file mblock_int.h.

Constructor & Destructor Documentation

◆ MIntBlockHAL_V_1_1_X()

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

Member Function Documentation

◆ write_ic()

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

Definition at line 285 of file mblock_int.cpp.

References blocks::MIntBlockHAL_V_1_0_X::f_ic_dac.

◆ write_time_factor_gain()

bool blocks::MIntBlockHAL_V_1_1_X::write_time_factor_gain ( uint8_t idx,
uint8_t gain )
virtual

Definition at line 292 of file mblock_int.cpp.

References f_time_factor_gain_0_3, and f_time_factor_gain_4_7.

◆ write_time_factor_switches()

bool blocks::MIntBlockHAL_V_1_1_X::write_time_factor_switches ( std::bitset< 8 > switches)
inlineoverride

Definition at line 52 of file mblock_int.h.

◆ write_time_factor_switches_and_limiters_enable()

bool blocks::MIntBlockHAL_V_1_1_X::write_time_factor_switches_and_limiters_enable ( std::bitset< 8 > switches,
std::bitset< 8 > limiters )
virtual

Member Data Documentation

◆ f_time_factor_gain_0_3

functions::AD8403 blocks::MIntBlockHAL_V_1_1_X::f_time_factor_gain_0_3
protected

Definition at line 43 of file mblock_int.h.

Referenced by MIntBlockHAL_V_1_1_X(), and write_time_factor_gain().

◆ f_time_factor_gain_4_7

functions::AD8403 blocks::MIntBlockHAL_V_1_1_X::f_time_factor_gain_4_7
protected

Definition at line 44 of file mblock_int.h.

Referenced by MIntBlockHAL_V_1_1_X(), and write_time_factor_gain().


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