|
void | initialize () override |
| Initialize FPGA.
|
|
void | open () override |
| Load & run FPGA code, setup interrupts.
|
|
void | close () override |
| Close FPGA, stop FPGA code.
|
|
void | finalize () override |
| Should be called after closing FPGA.
|
|
void | sample () override |
| Writes sample request.
|
|
void | readSlot1 (float *data) override |
| Read 6 float from float array indicator.
|
|
void | readSlot2 (uint32_t *data) override |
| Reads 32 bitfield of DIO status.
|
|
void | setResource (bool enabled, std::string resource) |
|
|
static IExpansionFPGA & | get () |
|
bool | _disabled |
|
std::string | _fpga_resource |
|
◆ close()
void SimulatedExpansionFPGA::close |
( |
| ) |
|
|
overridevirtual |
◆ finalize()
void SimulatedExpansionFPGA::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
void SimulatedExpansionFPGA::initialize |
( |
| ) |
|
|
overridevirtual |
◆ open()
void SimulatedExpansionFPGA::open |
( |
| ) |
|
|
overridevirtual |
◆ readSlot1()
void SimulatedExpansionFPGA::readSlot1 |
( |
float * | data | ) |
|
|
overridevirtual |
Read 6 float from float array indicator.
Data corresponds to Expansion FPGA slot 1 channels.
Data:
- current meter DC A [V]
- current meter DC B [V]
- current meter DC C [V]
- current meter DC D [V]
- current meter controllers [V]
- current meter lights [V]
- Parameters
-
data | fills values from indicators |
- Exceptions
-
Implements LSST::M1M3::SS::IExpansionFPGA.
◆ readSlot2()
void SimulatedExpansionFPGA::readSlot2 |
( |
uint32_t * | data | ) |
|
|
overridevirtual |
Reads 32 bitfield of DIO status.
The reported values are:
- MCU - 1 Circuit breaker auxiliary contact
- MCU - 2 Circuit breaker auxiliary contact
- MCU - 3 Circuit breaker auxiliary contact
- Support cabinet utility outlet Circuit breaker auxiliary contact
- External equipment Circuit breaker auxiliary contact
- DC power network A redundancy module status
- DC power network B redundancy module status
- DC power network C redundancy module status
- DC power network D redundancy module status
- DC power network controllers redundancy module status DC network A power supply 1 status
- DC network A power supply 2 status
- DC network B power supply 3 status
- DC network B power supply 4 status
- DC network C power supply 5 status
- DC network C power supply 6 status
- DC network D power supply 7 status
- DC network D power supply 8 status
- DC network controllers power supply 9 status DC network LED lights power supply 11 status
- DC network external control power supply 12 status
- DC network laser tracker power supply 13 status
- Exceptions
-
Implements LSST::M1M3::SS::IExpansionFPGA.
◆ sample()
void SimulatedExpansionFPGA::sample |
( |
| ) |
|
|
overridevirtual |
Writes sample request.
After sample request, measured values can be read from float array and U32 indicators.
- Exceptions
-
Implements LSST::M1M3::SS::IExpansionFPGA.
The documentation for this class was generated from the following files: