mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/analogout_api.c
- Revision:
- 95:7f2fbdc5e413
- Parent:
- 94:6519f69185ce
- Child:
- 129:0182c99221bc
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/analogout_api.c Tue Feb 18 11:15:06 2014 +0000 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/analogout_api.c Tue Feb 18 14:15:05 2014 +0000 @@ -63,6 +63,7 @@ // Configure and enable DAC channel DAC_InitStructure.DAC_Trigger = DAC_Trigger_None; DAC_InitStructure.DAC_WaveGeneration = DAC_WaveGeneration_None; + DAC_InitStructure.DAC_LFSRUnmask_TriangleAmplitude = DAC_LFSRUnmask_Bit0; DAC_InitStructure.DAC_OutputBuffer = DAC_OutputBuffer_Disable; if (obj->channel == PA_4) {