4#define channel_number 6
6#define I2C_to_Parallel_1_ini_set 0xFF
7#define I2C_to_Parallel_2_ini_set 0x7F
8#define I2C_to_Parallel_3_ini_set 0xFD
9#define I2C_to_Parallel_maschera_linee_ucita 0xF
15#define I2C_to_Parallel_address_1 0x21
16#define I2C_to_Parallel_address_2 0x22
17#define I2C_to_Parallel_address_3 0x23
19#define I2C_to_Parallel_name_1 1
20#define I2C_to_Parallel_name_2 2
21#define I2C_to_Parallel_name_3 3
23#define I2C_to_Parallel_Command_read_output 0
24#define I2C_to_Parallel_Command_data_to_write 1
25#define I2C_to_Parallel_Command_polarity_inversion 2
26#define I2C_to_Parallel_Command_configuration_register 3
39#define chip_select_all_off 0xFF
void I2C_to_Parallel_set_PCA9554_outputs_values(uint8_t scheda_su_scheda_giu, uint8_t select_PCA, uint8_t value)
The function I2C_to_Parallel_set_PCA9554_outputs_values allow to set the output pin of the I2C to par...
const struct chip_select_type detector_chip_select_bias[6]
This is the vector of constant values which allows to enable the relays drivers of each channels,...
const uint8_t I2C_to_Parallel_ini_set[4]
...
void I2C_to_Parallel_ini_PCA9554(uint8_t scheda_su_scheda_giu, uint8_t select_PCA)
The I2C_to_Parallel_ini_PCA9554 inits the I2C_to_Parallel_ini_PCA9554 chips by setting all the output...
uint8_t I2C_to_parallel_chip_num
This is the I2C to parallel chip to which the driver is connectted, they are 3.
uint8_t I2C_to_parallel_chip__pin_num
This is the outputo pin to enable.
This is the struct definition for the selection of the chip select of the relays drivers.