CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
Loading...
Searching...
No Matches
DAC_PGA.c File Reference
#include "tutti_gli_header.h"

Go to the source code of this file.

Functions

void PGA_GAIN_CROSS (uint8_t scheda_su_scheda_giu, uint8_t canale, uint8_t PGA_gain_to_set)
 Here the 2 digital signals from the trimmer are exploited to set the gain of the input stage of the PGA.
 
void PGA_set_reset_pre_PGA_gain (uint8_t scheda_su_scheda_giu, uint8_t canale, uint8_t set_2_reset_1_idle_0)
 Here the 2 digital signals from the trimmer are exploited to set the gain of the input stage of the PGA.
 
void PGA_DAC_GAIN_CROSS (uint8_t scheda_su_scheda_giu, uint8_t canale, uint8_t guadagno_da_impostare, uint8_t PGA_si_NO)
 

 
void PGA_GAIN (uint8_t scheda_su_scheda_giu, uint8_t canale, uint8_t guadagno_da_impostare)
 It sets the PGA gain irrespective of the offset.
 
void instruction_for_PGA_GAIN_set (void)
 The second stage gain is settable here.
 
void PGA_preparation_to_gain_set (char chi_aggiustiamo, unsigned int guadagno_da_impostare)
 It sets the new gain letting the output offset at the same level.
 
void PGA_GAIN_set (char canale, unsigned int guadagno_da_impostare)
 It sets the new gain irrespective of the offset.
 

Variables

uint8_t guadagno_minimo_PGA = 1
 
uint8_t massimo_guadagno_impostabile = 100
 
uint8_t PGA_settled_gain [12]
 PGA set gain.
 
unsigned int PGA_Gain_code [2]
 
unsigned int PGA_Gain_V_su_V [2]