WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Hi @Bozog
It is configured here:

dacChannelConf.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE;

So not possible to change the value except if you change it manually.
If you want you can submit a PR to be able to redefine it, something like this:

#if defined(DISABLE_DAC_OUTPUTBUFFER)
    dacChannelConf.DAC_OutputBuffer = DAC_OUTPUTBUFFER_DISABLE;
#else
    dacChannelConf.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE;
#endif

Then you will be able to disable it by defining the DISABLE_DAC_OUTPUTBUFFER using build_opt.h or the hal_conf_extra.h

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Bozog
Comment options

Answer selected by Bozog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants