
LTC3350 C Library
==============================

Introduction:
-------------

This  C library includes headers and several functions to simplify communication
with  the  LTC3350.  This  low  level library provides a header file with the
definitions  of registers and bit fields within those registers, and routines to
read and write those registers and individual bit-fields.

Files:
------

LTC3350_reg_defs.h - Header file containing definitions of registers and bit
fields in the LTC3350.  Names and addresses of registers are defined here.
Names, addresses, sizes, offsets, and masks are defined for bit fields in the
LTC3350.  This information is also packed into a definition that is used by
LTC3350.c  

LTC3350.c - Functions to initialize a LTC3350 instance, read and write
registers and bit-fields

LTC3350.h - Header file defining prototypes, data structures and constants
used by LTC3350.c

LTC3350_formats.h - File defining constants and macros that can be used by
LTC3350.c to convert real-world values to LTC3350 values at compile time.

LTC3350_example_dummy.c - An example showing how to use the LTC3350.c
library. Dummy functions containing print statements are used in place of
hardware reads and writes.

LTC3350_example_linux.c - An example using the Linux SMBus library to
communicate with the LTC3350

LTC3350_autogen.ino - An example using the LT_PMBUS Linduino library to
communicate with the LTC3350.  This example can also be easily adapted to
use other TWI/I2C/SMBus Arduino libraries. To build the Arduino project
successfully, the following files must be placed in a folder called
'LTC3350_example_arduino':
  LTC3350_autogen.ino
  LTC3350.c
  LTC3350.h
  LTC3350_formats.h
  LTC3350_reg_defs.h

Makefile - Makefile to build the examples.  Targets are dummy, linux and clean.
  dummy builds LTC3350_example_dummy.c.
  linux builds LTC3350_example_linux.c.