This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:uc-drivers:ad7980 [01 Oct 2012 15:06] – created Dragos Bogdan | resources:tools-software:uc-drivers:ad7980 [07 Sep 2016 16:47] (current) – [Evaluation Boards] Robin Getz | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Evaluation Boards ===== | ===== Evaluation Boards ===== | ||
- | * PmodAD4 | + | * [[adi> |
===== Overview ===== | ===== Overview ===== | ||
Line 29: | Line 29: | ||
The following functions are implemented in this version of AD7980 driver: | The following functions are implemented in this version of AD7980 driver: | ||
^ Function | ^ Function | ||
- | | unsigned | + | | char AD7980_Init(void) | Initializes the communication peripheral. | |
| unsigned short AD7980_Conversion(void) | Initiates conversion and reads data. | | | unsigned short AD7980_Conversion(void) | Initiates conversion and reads data. | | ||
+ | | float AD7980_ConvertToVolts(unsigned short rawSample, float vRef) | Converts a 16-bit raw sample to volts. | | ||
This version of AD7980 driver uses the //**CS Mode 4-Wire, without Busy Indicator **// mode; the device has to be connected to an SPI-compatible digital host as following: | This version of AD7980 driver uses the //**CS Mode 4-Wire, without Busy Indicator **// mode; the device has to be connected to an SPI-compatible digital host as following: |