This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:uc-drivers:ad5541a [13 Nov 2012 14:54] – Modified the table containing the driver's functions. Dan Nechita | resources:tools-software:uc-drivers:ad5541a [22 Aug 2018 15:07] (current) – added a new supported device Stefan Popa | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Supported Devices ===== | ===== Supported Devices ===== | ||
+ | * [[adi> | ||
* [[adi> | * [[adi> | ||
* [[adi> | * [[adi> | ||
Line 7: | Line 8: | ||
* [[adi> | * [[adi> | ||
* [[adi> | * [[adi> | ||
+ | * [[adi> | ||
===== Overview ===== | ===== Overview ===== | ||
Line 32: | Line 34: | ||
The following functions are implemented in this version of AD5541A driver: | The following functions are implemented in this version of AD5541A driver: | ||
^ Function | ^ Function | ||
- | | unsigned | + | | char AD5541A_Init(void) | Initializes the communication peripheral and configures LDAC pin. | |
| void AD5541A_SetRegisterValue(unsigned short registerValue) | Sends to DAC register through SPI the 16-bit data-word. | | | void AD5541A_SetRegisterValue(unsigned short registerValue) | Sends to DAC register through SPI the 16-bit data-word. | | ||
| float AD5541A_SetVoltage(float outVoltage, float vRef) | Sets the output voltage. | | | float AD5541A_SetVoltage(float outVoltage, float vRef) | Sets the output voltage. | |