Fixed comments
git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@409 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -71,6 +71,9 @@ struct DACDevice
|
||||
*
|
||||
* @param self DAC object
|
||||
* @param write Pointer to write function
|
||||
* @param readback Pointer to value readback function
|
||||
* @param resolutionsInBits The resolution of this ADC device in
|
||||
* number of bits
|
||||
*
|
||||
* @return ErrorStatus SUCCESS if construction was successful
|
||||
* ERROR otherwise
|
||||
@@ -99,7 +102,7 @@ extern void DACDevice_destruct(struct DACDevice* self);
|
||||
* Writes a value to the DAC device output
|
||||
*
|
||||
* @param self DAC object
|
||||
* @param voltage value in volt (signed) to write to output
|
||||
* @param voltage value to write to output
|
||||
*
|
||||
* @return ErrorStatus
|
||||
*
|
||||
@@ -109,6 +112,18 @@ extern void DACDevice_destruct(struct DACDevice* self);
|
||||
extern ErrorStatus DACDevice_write(const struct DACDevice* self, uint32_t voltage);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* DACDevice_getCurrentValue
|
||||
* returns the currently applied value from the DAC
|
||||
*
|
||||
* @param self DAC object
|
||||
*
|
||||
* @return uint32_t The value that is currently applied to
|
||||
* the DAC device
|
||||
*
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern uint32_t DACDevice_getCurrentValue(const struct DACDevice* self);
|
||||
|
||||
#endif /* INC_DACDEVICE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user