O'Reilly logo

Digital Interface Design and Application by Jonathan A. Dell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B STM Discovery Examples Library

This appendix summarises the ST Microelectronics Keil Peripheral Example Library for STM32F4-Discovery and the advanced application examples.

B.1 Peripheral Examples

In the Peripheral Examples folder the following sub-folders will be found. A brief description of the functionality provided within each folder is given in the table.

Sub-folder name Functionality of interface
ADC3_DMA Describes how to use the ADC3 and DMA to transfer continuously converted data from ADC3 to memory. The ADC3 is configured to convert continuously channel7. Each time an end of conversion occurs the DMA transfers, in circular mode, the converted data from ADC3 DR register to the ADC3ConvertedValue variable
ADC_Interleaved_DMAmode2 Provides a short description of how to use the ADC peripheral to convert a regular channel in triple interleaved mode using DMA in mode 2 with 8.4 Msps
DAC_SignalsGeneration Provides a short description of how to use the DAC peripheral to generate several signals using DMA controller. When the user presses the USER push-button, DMA transfers the two selected waveforms to the DAC
DMA_FLASH_RAM Provides a description of how to use a DMA channel to transfer a word data buffer from FLASH memory to embedded SRAM memory
EXTI Shows how to configure the external interrupt lines. In this example, the EXTI Line0 (connected to PA0 pin) is configured to generate an interrupt on each rising edge. In the interrupt routine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required