We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10297b3 commit a8f17f5Copy full SHA for a8f17f5
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/analogout_api.c
@@ -63,6 +63,7 @@ void analogout_init(dac_t *obj, PinName pin) {
63
// Configure and enable DAC channel
64
DAC_InitStructure.DAC_Trigger = DAC_Trigger_None;
65
DAC_InitStructure.DAC_WaveGeneration = DAC_WaveGeneration_None;
66
+ DAC_InitStructure.DAC_LFSRUnmask_TriangleAmplitude = DAC_LFSRUnmask_Bit0;
67
DAC_InitStructure.DAC_OutputBuffer = DAC_OutputBuffer_Disable;
68
69
if (obj->channel == PA_4) {
0 commit comments