|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <SensorHotfireCore.h>
Public Attributes | |
| const char * | board_name |
| const sense_board_pins::Layout * | pins |
| void(* | init_adc )(void *user_data) |
| void(* | collect_chunk )(void *user_data) |
| void(* | send_chunks_to )(void *user_data, IPAddress dest_ip, int dest_port, bool also_to_abort_controller, IPAddress abort_controller_ip, int abort_controller_port) |
| Send collected chunks to primary dest; if also_to_abort_controller then send same data to abort_controller_ip:port as well, then drain. | |
| void(* | on_reference_voltage_config )(void *user_data, uint8_t reference_voltage) |
| Called when SENSOR_CONFIG is received with reference_voltage byte (0=2.5V internal, 1=VDD, 2=ignore). | |
| void(* | run_self_test )(void *user_data, const StoredSensorConfig &config, std::vector< daq::SelfTestResult > &results_out) |
| Called once when entering SelfTest state. | |
| void * | user_data |
Definition at line 74 of file SensorHotfireCore.h.
| const char* SensorHotfire::Config::board_name |
Definition at line 75 of file SensorHotfireCore.h.
| void(* SensorHotfire::Config::collect_chunk) (void *user_data) |
Definition at line 78 of file SensorHotfireCore.h.
| void(* SensorHotfire::Config::init_adc) (void *user_data) |
Definition at line 77 of file SensorHotfireCore.h.
| void(* SensorHotfire::Config::on_reference_voltage_config) (void *user_data, uint8_t reference_voltage) |
Called when SENSOR_CONFIG is received with reference_voltage byte (0=2.5V internal, 1=VDD, 2=ignore).
Definition at line 87 of file SensorHotfireCore.h.
| const sense_board_pins::Layout* SensorHotfire::Config::pins |
Definition at line 76 of file SensorHotfireCore.h.
| void(* SensorHotfire::Config::run_self_test) (void *user_data, const StoredSensorConfig &config, std::vector< daq::SelfTestResult > &results_out) |
Called once when entering SelfTest state.
Performs ADC self-test and connector continuity check, fills results_out. After return, core sends the SELF_TEST packet and goes to Active.
Definition at line 95 of file SensorHotfireCore.h.
| void(* SensorHotfire::Config::send_chunks_to) (void *user_data, IPAddress dest_ip, int dest_port, bool also_to_abort_controller, IPAddress abort_controller_ip, int abort_controller_port) |
Send collected chunks to primary dest; if also_to_abort_controller then send same data to abort_controller_ip:port as well, then drain.
Definition at line 81 of file SensorHotfireCore.h.
| void* SensorHotfire::Config::user_data |
Definition at line 97 of file SensorHotfireCore.h.