libClearCore/src/DigitalInOutAnalogOut.cpp
void DigitalInOutAnalogOut::DacRegisterWrite(uint16_t value) {
    if (DAC->DATA[0].reg != value) {
        SYNCBUSY_WAIT(DAC, DAC_SYNCBUSY_DATA0);
        DAC->DATA[0].reg = value;
    }
}
/**
    Write a value to the DAC DATA register.
**/
Write a value to the DAC DATA register.
Write a value to the DAC DATA register .
void DigitalInOutAnalogOut::DacRegisterWrite(uint16_t value) {
    if (DAC->DATA[0].reg != value) {
        SYNCBUSY_WAIT(DAC, DAC_SYNCBUSY_DATA0);
        DAC->DATA[0].reg = value;
    }
}
void DigitalInOutAnalogOut :: DacRegisterWrite ( uint16_t value ) { if ( DAC -> DATA [ 0 ] . reg != value ) { SYNCBUSY_WAIT ( DAC , DAC_SYNCBUSY_DATA0 ) ; DAC -> DATA [ 0 ] . reg = value ; } }
Write a value to the DAC DATA register.
Write a value to the DAC DATA register .