This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
resources:tools-software:uc-drivers:ad7476 [13 Nov 2012 15:04] – Modified the table containing the driver's functions. Dan Nechita | resources:tools-software:uc-drivers:ad7476 [05 Jul 2013 14:07] – changed 1 function Lucian Sin | ||
---|---|---|---|
Line 39: | Line 39: | ||
The following functions are implemented in this version of AD74xx driver: | The following functions are implemented in this version of AD74xx driver: | ||
^ Function | ^ Function | ||
- | | unsigned | + | | char AD74xx_Init(char partNumber) | Initializes the device. | |
| void AD74xx_PowerDown(void) | Powers down the device. | | | void AD74xx_PowerDown(void) | Powers down the device. | | ||
| void AD74xx_PowerUp(void) | Powers up the device by performing a dummy read. | | | void AD74xx_PowerUp(void) | Powers up the device by performing a dummy read. | | ||
| unsigned short AD74xx_GetRegisterValue(void) | Reads the conversion value. | | | unsigned short AD74xx_GetRegisterValue(void) | Reads the conversion value. | | ||
| float AD74xx_ConvertToVolts(unsigned short rawValue, float vRef) | Converts a raw sample to volts. | | | float AD74xx_ConvertToVolts(unsigned short rawValue, float vRef) | Converts a raw sample to volts. | |