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

Go to the source code of this file.

Macros

#define reg_temperatura   0
 
#define reg_configuration   1
 
#define reg_control_status   4
 
#define Shut_down_and_one_shot_command_for_config_reg   0x84
 
#define Max_accuracy_command_for_control_reg   0x60
 
#define maschera_DAV   1
 
#define reg_temperatura   0
 
#define reg_configuration   1
 
#define reg_control_status   4
 
#define Shut_down_and_one_shot_command_for_config_reg   0x84
 
#define Shut_down_config_reg   0x80
 
#define Max_accuracy_command_for_control_reg   0x60
 
#define maschera_DAV   1
 

Functions

void termometro_lettura (uint8_t scheda_su_scheda_giu, uint8_t canale, uint32_t *temperatura_in_microK)
 Read the termometer on preamplifier.
 
void termometro_sht_down (uint8_t scheda_su_scheda_giu, uint8_t canale)
 

 
void I2C_termometro_SignalEvent_t (uint32_t event)
 
void I2C_termometro_Initialize (void)
 

Variables

const struct address_detector_bias_trimmer_type termometro_adrress [6]
 Thermometer selection structure.
 
ARM_DRIVER_I2C Driver_I2C2