Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# ads7828.c File Reference

## Detailed Description

Definition in file ads7828.c.

`#include <avr/io.h>`
`#include <avr/interrupt.h>`
`#include "global.h"`
`#include "i2c.h"`
`#include "ads7828.h"`

Go to the source code of this file.

## Functions
u08 | ads7828Init (u08 i2cAddr)
u16 | ads7828Convert (u08 i2cAddr, u08 channel)
| Begin single-ended conversion on given logical channel#, and return result.
u16 | ads7828ConvertDiff (u08 i2cAddr, u08 channel)
| Begin differential conversion on given channel pair, and return result.
u16 | ads7828ConvertRaw (u08 i2cAddr, u08 channel)
| Begin conversion on given raw channel#, and return result.
void | ads7828SetReference (u08 ref)
## Variables
u08 | Ads7282RefMode