mbed library sources
Fork of mbed-src by
Revision 95:7f2fbdc5e413, committed 2014-02-18
- Comitter:
- mbed_official
- Date:
- Tue Feb 18 14:15:05 2014 +0000
- Parent:
- 94:6519f69185ce
- Child:
- 96:c359415e941f
- Commit message:
- Synchronized with git revision a8f17f5426dd14412a34d93e1222fd148089dc47
Full URL: https://github.com/mbedmicro/mbed/commit/a8f17f5426dd14412a34d93e1222fd148089dc47/
Changed in this revision
targets/hal/TARGET_STM/TARGET_NUCLEO_L152RE/analogout_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {