![]() |
CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
|
#include "tutti_gli_header.h"
Go to the source code of this file.
Functions | |
void | Configure_Reset_I2C_mux (void) |
Set the reset pins of te I2C mux, reset the I2C mux and put them into operation. | |
void | LED_pin_configuration (void) |
Red and Green LED pin configuration and reset. | |
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. | |
void | ADC_pin_configurations (void) |
ADc pins are initialized here. | |
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. | |
void | Configure_Led_verde (void) |
ADC map for reading nodes on postmainboard. | |
Variables | |
const porta_pin_def | Reset_I2C_mux_up ={ 0 , 9 } |
location of the reset pin of the I2C_mux of frontend board su or giu | |
const porta_pin_def | Reset_I2C_mux_down ={ 0 , 6 } |
location of the reset pin of the I2C_mux of frontend board su or giu | |
porta_pin_def | rele_driver_ch0 ={ 0 , 4 } |
const porta_pin_def | ADC_ResIn_A_buffer_down ={ 0 , 7 } |
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND. | |
const porta_pin_def | ADC_ResIn_B_buffer_down ={ 0 , 8 } |
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND. | |
const porta_pin_def | ADC_ResIn_A_buffer_up ={ 0 , 10 } |
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND. | |
const porta_pin_def | ADC_ResIn_B_buffer_up ={ 0 , 11 } |
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 | PGA_DAC_pin_select_ch0 ={0, 6 } |
const porta_pin_def | PGA_DAC_pin_select_ch1 ={0, 7 } |
const porta_pin_def | Mux_select_word_0 ={ 1 , 0 } |
selettore 0 del pin di ingresso dell'analog mux | |
const porta_pin_def | Mux_select_word_1 ={ 1 , 1 } |
selettore 1 del pin di ingresso dell'analog mux | |
const porta_pin_def | Mux_select_word_2 ={ 1 , 4 } |
selettore 2 del pin di ingresso dell'analog mux | |
const porta_pin_def | Mux_enable_postmainboard_1 ={ 1 , 20 } |
location of the chip select pin of analog mux 1 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_2 ={ 1 , 21 } |
location of the chip select pin of analog mux 2 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_3 ={ 1 , 22 } |
location of the chip select pin of analog mux 3 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_4 ={ 1 , 23 } |
location of the chip select pin of analog mux 4 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_5 ={ 1 , 24 } |
location of the chip select pin of analog mux 5 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_6 ={ 1 , 25 } |
location of the chip select pin of analog mux 6 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_7 ={ 1 , 26 } |
location of the chip select pin of analog mux 7 of postmainboard, 0=off | |
const porta_pin_def | Mux_enable_postmainboard_8 ={ 1 , 27 } |
location of the chip select pin of analog mux 8 of postmainboard, 0=off | |
const porta_pin_def | ADC_ready_up ={ 1 , 8 } |
Configuration ADC pin. | |
const porta_pin_def | ADC_Chip_Sel_up ={ 1 , 10 } |
Configuration ADC pin. | |
const porta_pin_def | ADC_reset_up ={ 1 , 9 } |
Configuration ADC pin. | |
const porta_pin_def | ADC_ready_down ={ 1 , 14 } |
Configuration ADC pin. | |
const porta_pin_def | ADC_Chip_Sel_down ={ 1 , 16 } |
Configuration ADC pin. | |
const porta_pin_def | ADC_reset_down ={ 1 , 15 } |
Configuration ADC pin. | |
const porta_pin_def | PGA_pre_gain_1_ch0 ={ 1 , 10 } |
const porta_pin_def | PGA_pre_gain_10_ch0 ={ 1 , 9 } |
const porta_pin_def | PGA_pre_gain_1_ch1 ={ 1 , 15 } |
const porta_pin_def | PGA_pre_gain_10_ch1 ={ 1 , 14 } |
const porta_pin_def | Reset_I2C_mux_postfrontend_up ={ 2 , 0 } |
location of the reset pin of the I2C_mux of post-frontend board su or giu | |
const porta_pin_def | Reset_I2C_mux_postfrontend_down ={ 2 , 1 } |
location of the reset pin of the I2C_mux of post-frontend board su or giu | |
const porta_pin_def | LED_Green ={ 2 , 13 } |
Green LED. | |
const porta_pin_def | LED_Red ={ 2 , 9 } |
Green LED. | |
const uint8_t | ADC_node_map [] |
Mapping to mux's on postmainboard. Its syntax: bits 0 to 3 are common to all the MUXs and select one of the input analog lines; bits 4 to 5 are the address for the chips select for the 2 groups of 4 MUXs. The selection of the MUX gropu is trhough the board_up_down. | |