The pointer to the instruction functions is constructed here.
void instr_ADC_LETTURA_function(void)
All the posible nodes voltages can be read with this instruction. Either the internal or an external ...
@ instr_Shut_Down_ON_OFF
µ-controller can be maintained always ON
@ instr_NO_operation
NOP, the fw version is replayed.
@ instr_offset_trimmer_calibration
fine and coarse trimmer calibration for ofset compensation
@ instr_preamplifier_memory
Write /read the preamplifier EPROM.
@ instr_PGA_DAC_GAIN_CROSS
Set the gain of the second stage of the PGA.
@ instr_PGA_gain_set
Set the PGA gain value.
@ instr_detector_Vbias_we_want_to_set
The voltage we intend to set to the detector. This command does not apply the voltage.
@ instr_readback_node_voltages
Nodes voltage read from external ADC.
@ instr_ERROR_inspection
quering about the presence of any error
@ instr_LED_ON_OFF
LEDs can be switched ON/OFF for test and diagnostic.
@ instr_output_offset_to_be_set
Adjust the ouput voltage that was previously set at instr_ouput_offset_we_want_to_set.
@ instr_Vbias_to_be_set
The voltage set with instr_detector_Vbias_we_want_to_set is set to the detector.
@ instr_ADC_LETTURA
ADC reading, the following byte from the CAN set the reading node.
@ instr_preamplifier_scrittura_lettura_trimmer_offset
Write /read to /from the trimmers for the preamplifier offset adjustment.
@ instr_preamplifier_temperature_meas
Measure the preamplifier temperature.
@ instr_EPROM_read_write
read from preamplifier or mainboard or post frontend board EPROM
@ instr_connect_disconnect_mux_node
select/deselect a node from the analog mux
@ instr_preamplifier_gain_low_high_set
Set /reset of the large gain for the preamplifier.
@ instr_inizializza_tutto_da_zero
µ-controller is reset. The perifelal are all initialized.
@ instr_ERROR_echo_on_off
if enabled, echo of the error via CAN as soon as the error is verified
@ instr_ouput_offset_we_want_to_set
Set the output offset to set channel per channel.
@ instr_detector_scrittura_lettura_trimmer_bias
Write /read to /from the trimmers for the detectors biases.
@ instr_Relays_driver_set_reset_channel
Set / reset of the relais that manage the detectors.
@ instr_readback_variables
Variables Readback
@ instr_DetBias_trimmer_calibration
fine and coarse trimmer calibration for detector bias compensation
@ instr_periferal_reset
I2C, SPI and CAN can be reset.
@ instr_PGA_set_reset_pre_PGA_gain
Set /reset of the first stage of PGA.
void instr_detector_scrittura_lettura_trimmer_bias_function(void)
This is an instruction via CAN bus to read/write the detector trimmers. It calls the detector_scrittu...
void instr_detector_Vbias_we_want_to_set_function(void)
void instr_Vbias_to_be_set_function(void)
The detector bias will be set at the value set with the function instr_detector_Vbias_we_want_to_set_...
void instr_Relays_driver_set_reset_channel_function(void)
Function to set the relais for detector bias.
void instr_ERROR_inspection_function(void)
The state of the errors can be verified/reset.
void instr_ERROR_echo_on_off_function(void)
Immediate echos of a verified error activated/disattivated.
void instr_readback_variables_function(void)
readback of some parameters
void instr_NO_operation_function(void)
The NOP sends backs the fw version.
void instr_Shut_Down_ON_OFF_function(void)
μ-controller power down ON/OFF
void Setting_of_the_pointer_for_command_parser(void)
The pointer to the instruction functions is constructed here.
void instr_readback_node_voltages_function(void)
readback of some node voltages from external ADC
void instr_connect_disconnect_mux_node_function(void)
Routing of available node voltage to outout by means of the analog mux.
void instr_PGA_gain_set_function(void)
PGA gain set.
void instr_preamplifier_gain_low_high_set_function(void)
preamplifier gain set large or small
void instr_preamplifier_memory_function(void)
void instr_preamplifier_temperature_meas_function(void)
void(* ptr_istruzioni[The_total_number_of_instrucions])(void)
This is the pointer array to the instructions set: the byte istruzione_codice of the CAN message is t...
void instr_PGA_set_reset_pre_PGA_gain_function(void)
PGA input stage gain set.
void instr_LED_ON_OFF_function(void)
LEDs can be set ON/OFF.
void instr_EPROM_read_write_function(void)
CAN insrtuction to Read from preamplifier, on-board and post frontend board EPROM.
void instr_preamplifier_scrittura_lettura_trimmer_offset_function(void)
Content of the preamplifier trimmers can be read/write.
void instr_output_offset_to_be_set_function(void)
The detector bias will be set at the value set with the function instr_detector_Vbias_we_want_to_set_...
void instr_ouput_offset_we_want_to_set_function(void)
The preamplifier offset will be set at the value passed from the CAN with this function if,...
void instr_DetBias_trimmer_calibration_function(void)
The fine and coarse trimmers for Detector bias adjustment are calibrated here
void instr_offset_trimmer_calibration_function(void)
The fine and coarse trimmers for offset adjustment are calibrated here
void instr_inizializza_tutto_da_zero_function(void)
Start-up function.
void instr_periferal_reset_function(void)
I2C, SPI and CAN can be rest.