Here the 2 digital signals of the preamplifier's trimmer are exploited to set the gain of the preamplifier itself.
63 uint8_t spedizione[2];
64 if(scheda_su_scheda_giu) scheda_su_scheda_giu=6;
71 if( set_2_reset_1_idle_0) {
73 spedizione[0] = set_2_reset_1_idle_0 << 1 ;
78 while( I2C_mux->GetStatus().busy);
88 while( I2C_mux->GetStatus().busy);
92 while( I2C_mux->GetStatus().busy){};
#define wait_time_for_rele_setting
[ref_spi_clock_for_relais]
volatile uint32_t Error_bad_operation
exploited to mark the errors
void ERROR_codifica_errore(uint8_t scheda_su_scheda_giu, unsigned char error_addres, unsigned char code_to_shift, uint8_t reset_count_se_0)
If an error is found its flag is codified here.
@ I2C_Error_trimmer_0
trimmer ch0
@ error_address_I2C0
Error register A for I2C0.
void I2C_mux_select_ch(uint8_t scheda_su_scheda_giu, uint8_t mainboard_postmainboard, uint8_t canale_da_abilitare)
The I2C mux.
void preamplifier_set_reset_pre_gain(uint8_t scheda_su_scheda_giu, uint8_t canale, uint8_t set_2_reset_1_idle_0)
Here the 2 digital signals of the preamplifier's trimmer are exploited to set the gain of the preampl...
#define preamplifier_Gain_set_idle
. */
void Aspetta_tanti_ms(int millisecondi)
The timing function.
const struct address_detector_bias_trimmer_type address_preamplifier_trimmer[6]
Preamplifier trimmer addresses
uint8_t volatile contenuto_trimmer_preamplifier[12][4]