/* Returns the last data output value of the selected DAC channel.  */
uint16_t DAC_GetOutputDataVal(uint32_t DAC_Channel)
/* Returns the last data output value of the selected DAC channel.  */
uint16_t DAC_GetOutputDataVal(uint32_t DAC_Channel)
{
    __IO uint32_t tmp = 0;
    assert_param(IS_DAC_CHANNEL(DAC_Channel));
    tmp = (uint32_t)DAC_BASE;
    tmp += DATO1_OFFSET + ((uint32_t)DAC_Channel >> 2);
    return (uint16_t)(*(__IO uint32_t*)tmp);
}