DC2100A  1.2.0
Bi-Directional Cell Balancer Using the LTC3300-1 and the LTC6804-2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Driver Configuration Header File for LTC1380 Single-Ended 8-Channel/Differential 4-Channel Analog Multiplexer with SMBus Interface. More...

Go to the source code of this file.

Detailed Description

Driver Configuration Header File for LTC1380 Single-Ended 8-Channel/Differential 4-Channel Analog Multiplexer with SMBus Interface.

Definition in file LTC1380_Config.h.

Macros

#define LTC1380_CONFIG_NUM_ICS_PER_ADDRESS   DC2100A_NUM_MUXES
 Configures the number of LTC1380 ICs at each logical address. More...
 
#define LTC1380_CONFIG_I2C_WRITE(address, data_ptr, num_bytes, baud_khz)   LTC6804_I2C_Write(address, TRUE, TRUE, data_ptr, num_bytes, baud_khz);
 Configures interface through which LTC1380 driver module sends I2C bytes to an LTC1380 IC. More...
 

Macro Definition Documentation

#define LTC1380_CONFIG_I2C_WRITE (   address,
  data_ptr,
  num_bytes,
  baud_khz 
)    LTC6804_I2C_Write(address, TRUE, TRUE, data_ptr, num_bytes, baud_khz);

Configures interface through which LTC1380 driver module sends I2C bytes to an LTC1380 IC.

  • Parameters
    • address: The logical address for the PCB containing this LTC1380 IC.
    • data_ptr: Pointer to LTC1380 bytes to be written via I2C.
    • num_bytes: Number of bytes to be written via I2C.
    • baud_khz: The baud rate of the I2C communication in kHz.
  • Usage Examples
    • If communication is through an LTC6804-2, this macro would call the LTC6804-2 driver's I2C Write function.
    • If communication is direct from the microcontroller, this macro would call the microcontroller's I2C Write function.

Definition at line 91 of file LTC1380_Config.h.

#define LTC1380_CONFIG_NUM_ICS_PER_ADDRESS   DC2100A_NUM_MUXES

Configures the number of LTC1380 ICs at each logical address.

Definition at line 80 of file LTC1380_Config.h.