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

API 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

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

Definition in file LTC1380.h.

Functions

void LTC1380_Set_Channel (int8 board_num, int8 mux_num, int8 channel_num)
 Commands an LTC1380 mux to connect one channel to its output. More...
 
void LTC1380_All_Off (int8 board_num, int8 mux_num)
 Commands an LTC1380 mux to disconnect all channels from its output. More...
 

Macros

LTC3300-1 Driver Properties
#define LTC1380_NUM_CHANNELS   8
 
#define LTC1380_BAUD_RATE   100
 

Function Documentation

void LTC1380_All_Off ( int8  board_num,
int8  mux_num 
)

Commands an LTC1380 mux to disconnect all channels from its output.

Returns
void
Parameters
board_numThe logical address for the PCB containing this LTC1380 IC.,
mux_numThe number for the LTC1380 IC, must be less than LTC1380_CONFIG_NUM_ICS_PER_ADDRESS.

Definition at line 138 of file LTC1380.c.

void LTC1380_Set_Channel ( int8  board_num,
int8  mux_num,
int8  channel_num 
)

Commands an LTC1380 mux to connect one channel to its output.

Returns
void
Parameters
board_numThe logical address for the PCB containing this LTC1380 IC.
mux_numThe number for the LTC1380 IC, must be less than LTC1380_CONFIG_NUM_ICS_PER_ADDRESS.
channel_numThe channel number to set for the LTC1380 IC.

Definition at line 114 of file LTC1380.c.