checked in missing file

git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@240 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
mmi
2017-10-06 09:04:50 +00:00
parent 5105d55089
commit 71ae4c6832
8 changed files with 382 additions and 24 deletions

View File

@@ -186,9 +186,11 @@ ErrorStatus MAX5715Channel_setValue(struct MAX5715_DAC* self, uint16_t value)
{
ErrorStatus returnValue = SUCCESS;
// Send data
// Send data to CODEn register
MAX5715_writeCODEn(self->parent, MAX5715_SEL_DACB, value);
// Send GO
// Load CODEn register to DAC output
MAX5715_writeLOADn(self->parent, MAX5715_SEL_DACB);
return returnValue;
}