![]() |
CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
|
#include "stdint.h"
Go to the source code of this file.
Data Structures | |
struct | rele_s1 |
struct | rele_s2 |
struct | rele_s3 |
struct | rele_k4 |
struct | rele_s4 |
struct | rele_s5 |
struct | rele_s6 |
struct | rele_k5 |
Macros | |
#define | spi_clock_for_relais (uint32_t) 400000 |
[ref_spi_clock_for_relais] | |
#define | wait_time_for_rele_setting 10 |
[ref_spi_clock_for_relais] | |
#define | Detector_bias_invertito 1 << 0 |
#define | Detector_bias_diretto 1 << 1 |
#define | Detector_large_RLOAD 1 << 2 |
#define | Detector_small_RLOAD 1 << 3 |
#define | Detector_prea_to_GND 1 << 4 |
#define | Detector_prea_to_det 1 << 5 |
#define | Detector_external_bias 1 << 6 |
#define | Detector_internal_bias 1 << 7 |
#define | detector_offset_from_half_scale (1<<1) |
#define | detector_bit_per_storing_startup (1<<3) |
#define | detector_bit_per_storing_user_state (1<<5) |
#define | detector_bit_recall_startup (1<<4) |
#define | detector_bit_recall_user_defined (1<<6) |
#define | detector_bit_store_state_in_user_as_it_is (1<<7) |
Typedefs | |
typedef struct rele_s1 | struttura_rele_s1 |
typedef struct rele_s2 | struttura_rele_s2 |
typedef struct rele_s3 | struttura_rele_s3 |
typedef struct rele_k4 | struttura_rele_k4 |
typedef struct rele_s4 | struttura_rele_s4 |
typedef struct rele_s5 | struttura_rele_s5 |
typedef struct rele_s6 | struttura_rele_s6 |
typedef struct rele_k5 | struttura_rele_k5 |
Functions | |
void | Relays_driver_set_reset_channel (uint8_t scheda_su_giu, uint8_t numero_canale, uint8_t valore_da_trasmettere) |
Setting the state of the detector realis: pre connected to detector or intrnal resistor, polarity of the detector bias, load resistro choiche and internal or external detector bias. | |
void | Funzione_per_attivare (uint8_t numero_canale, uint8_t valore_da_trasmettere) |
void | Attiva_OUT_1_ch0 (void) |
void | Attiva_OUT_2_ch0 (void) |
void | Attiva_OUT_3_ch0 (void) |
void | Attiva_OUT_4_ch0 (void) |
void | Attiva_OUT_5_ch0 (void) |
void | Attiva_OUT_6_ch0 (void) |
void | Attiva_OUT_7_ch0 (void) |
void | Attiva_OUT_8_ch0 (void) |
void | Attiva_OUT_1_ch1 (void) |
void | Attiva_OUT_2_ch1 (void) |
void | Attiva_OUT_3_ch1 (void) |
void | Attiva_OUT_4_ch1 (void) |
void | Attiva_OUT_5_ch1 (void) |
void | Attiva_OUT_6_ch1 (void) |
void | Attiva_OUT_7_ch1 (void) |
void | Attiva_OUT_8_ch1 (void) |
void | ATTIVA_CANALE_0_PER_I_RELE (void) |
void | ATTIVA_CANALE_1_PER_I_RELE (void) |
void | RELE_ATTIVA (int canale, int OUTN) |