14    unsigned char porta_num;        
 
   15    unsigned char pin_num;
 
   80#define pin_Rset_i2c_mux_down 6 
   81#define pin_Rset_i2c_mux_sup 9 
   83#define ResIn_buffer_A_down 7 
   84#define ResIn_buffer_B_down 8 
   85#define ResIn_buffer_A_up 10 
   86#define ResIn_buffer_B_up 11 
   97#define Chip_Sel_rele_0                         4 
   98#define Chip_Sel_rele_1                         5 
   99#define PGA_Chip_Sel_DAC_ch0                6 
  100#define PGA_Chip_Sel_DAC_ch1                7 
  103#define Chip_Sel_Adc 0 
  116#define MUX_select_in_0 0 
  117#define MUX_select_in_1 1 
  118#define MUX_select_in_2 4 
  120#define MUX_Chip_sel_1 20 
  121#define MUX_Chip_sel_2 21 
  122#define MUX_Chip_sel_3 22 
  123#define MUX_Chip_sel_4 23 
  124#define MUX_Chip_sel_5 24 
  125#define MUX_Chip_sel_6 25 
  126#define MUX_Chip_sel_7 26 
  127#define MUX_Chip_sel_8 27 
  129#define ADC_ready_up_       8 
  130#define ADC_Chip_Sel_up_        10 
  131#define ADC_reset_up_       9 
  132#define ADC_ready_down_     14 
  133#define ADC_Chip_Sel_down_      16 
  134#define ADC_reset_down_     15 
  141#define PGA_rele_ch0_1                          9 
  142#define PGA_rele_ch0_2                          10 
  143#define PGA_rele_ch1_1                          14 
  144#define PGA_rele_ch1_2                          15 
  150#define Sel_Par_Interruttori_3          24 
  151#define Sel_Par_Interruttori_2          25 
  152#define Sel_Par_Interruttori_1          26 
  163#define pin_Reset_I2C_mux_A         0   
  164#define pin_Reset_I2C_mux_B         1   
  165#define pin_LED_Green              13   
  175#define Porta_Led_verde                         2 
const porta_pin_def ADC_reset_down
Configuration ADC pin.
 
const porta_pin_def Mux_enable_postmainboard_1
location of the chip select pin of analog mux 1 of postmainboard, 0=off
 
const porta_pin_def ADC_ready_down
Configuration ADC pin.
 
const porta_pin_def Mux_select_word_2
selettore 2 del pin di ingresso dell'analog mux
 
const porta_pin_def Reset_I2C_mux_down
location of the reset pin of the I2C_mux of frontend board su or giu
 
const porta_pin_def Mux_enable_postmainboard_7
location of the chip select pin of analog mux 7 of postmainboard, 0=off
 
const porta_pin_def LED_Red
Green LED.
 
void LED_pin_configuration(void)
Red and Green LED pin configuration and reset.
 
const porta_pin_def Mux_enable_postmainboard_3
location of the chip select pin of analog mux 3 of postmainboard, 0=off
 
const porta_pin_def Mux_enable_postmainboard_8
location of the chip select pin of analog mux 8 of postmainboard, 0=off
 
void ADC_pin_configurations(void)
ADc pins are initialized here.
 
const porta_pin_def Mux_select_word_1
selettore 1 del pin di ingresso dell'analog mux
 
const porta_pin_def ADC_Chip_Sel_up
Configuration ADC pin.
 
const uint8_t ADC_node_map[]
Mapping to mux's on postmainboard.
 
const porta_pin_def Reset_I2C_mux_up
location of the reset pin of the I2C_mux of frontend board su or giu
 
const porta_pin_def ADC_ready_up
Configuration ADC pin.
 
const porta_pin_def Mux_select_word_0
selettore 0 del pin di ingresso dell'analog mux
 
void Configure_Reset_selection_port_analog_mux_ResIn_ADC_buffer(void)
Set the reset pins of te analog mux's. Take care: reset=0 means output off.
 
const porta_pin_def Mux_enable_postmainboard_5
location of the chip select pin of analog mux 5 of postmainboard, 0=off
 
const porta_pin_def LED_Green
Green LED.
 
void Configure_Reset_I2C_mux(void)
Set the reset pins of te I2C mux, reset the I2C mux and put them into operation.
 
const porta_pin_def Reset_I2C_mux_postfrontend_up
location of the reset pin of the I2C_mux of post-frontend board su or giu
 
void Configure_Bit_Address_for_CAN(void)
Switches for the selection of the hw CAN bus address. Pin are set as input with internal pull-up.
 
const porta_pin_def ADC_ResIn_A_buffer_down
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
 
const porta_pin_def CAN_indirizzo_hw[]
hw Can address
 
const porta_pin_def Mux_enable_postmainboard_6
location of the chip select pin of analog mux 6 of postmainboard, 0=off
 
const porta_pin_def ADC_ResIn_A_buffer_up
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
 
const porta_pin_def Mux_enable_postmainboard_4
location of the chip select pin of analog mux 4 of postmainboard, 0=off
 
const porta_pin_def ADC_Chip_Sel_down
Configuration ADC pin.
 
const porta_pin_def Mux_enable_postmainboard_2
location of the chip select pin of analog mux 2 of postmainboard, 0=off
 
const porta_pin_def ADC_ResIn_B_buffer_down
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
 
const porta_pin_def Reset_I2C_mux_postfrontend_down
location of the reset pin of the I2C_mux of post-frontend board su or giu
 
const porta_pin_def ADC_ResIn_B_buffer_up
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
 
const porta_pin_def ADC_reset_up
Configuration ADC pin.