STM32F4xx_StdPeriph_DAC
所属分类:单片机开发
开发工具:C/C++
文件大小:12172KB
下载次数:0
上传日期:2018-07-08 23:19:07
上 传 者:
jll1997
说明: DAC模块,负责DAC模块搭建和.c和.h文件
(DAC.for dac file .c and .file for the stm32407 board)
文件列表:
STM32F4xx_StdPeriph_DAC (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\EWARM (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\EWARM\Project.ewd (144896, 2013-11-14)
STM32F4xx_StdPeriph_DAC\EWARM\Project.ewp (110213, 2013-11-14)
STM32F4xx_StdPeriph_DAC\EWARM\Project.eww (161, 2013-11-07)
STM32F4xx_StdPeriph_DAC\EWARM\stm32f4xx_flash.icf (1592, 2013-11-07)
STM32F4xx_StdPeriph_DAC\EWARM\stm32f4xx_flash_extsdram.icf (1615, 2013-11-07)
STM32F4xx_StdPeriph_DAC\EWARM\stm32f4xx_flash_extsram.icf (1615, 2013-11-07)
STM32F4xx_StdPeriph_DAC\EWARM\stm32f4xx_sram.icf (1594, 2013-11-07)
STM32F4xx_StdPeriph_DAC\main.c (12118, 2018-05-23)
STM32F4xx_StdPeriph_DAC\main.h (2324, 2013-11-13)
STM32F4xx_StdPeriph_DAC\MDK-ARM (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\DebugConfig (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\DebugConfig\STM32F40_41xxx_STM32F407VETx.dbgconf (2084, 2015-10-27)
STM32F4xx_StdPeriph_DAC\MDK-ARM\EventRecorderStub.scvd (339, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\JLinkLog.txt (24298777, 2017-03-29)
STM32F4xx_StdPeriph_DAC\MDK-ARM\JLinkSettings.ini (671, 2016-07-26)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project.uvguix.Gin (168022, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project.uvopt (44112, 2013-11-16)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project.uvoptx (57346, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project.uvproj.saved_uv4 (126901, 2013-11-16)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project.uvprojx (127060, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project_STM32F401xx.dep (38685, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\Project_STM32F40_41xxx.dep (122628, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\RTE (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\RTE\_STM32F40_41xxx (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\RTE\_STM32F40_41xxx\RTE_Components.h (353, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx (0, 2018-05-23)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\misc.crf (366202, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\misc.d (2488, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\misc.o (404492, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\startup_stm32f401xx.d (126, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\startup_stm32f401xx.lst (77411, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\startup_stm32f401xx.o (6864, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\stm32f4xx_can.crf (383950, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\stm32f4xx_can.d (2776, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\stm32f4xx_can.o (446824, 2016-07-01)
STM32F4xx_StdPeriph_DAC\MDK-ARM\STM32F401xx\stm32f4xx_cryp.crf (378756, 2016-07-01)
... ...
/**
@page DAC_SignalsGeneration DAC Signals generation example
@verbatim
******************** (C) COPYRIGHT 2013 STMicroelectronics *******************
* @file DAC/DAC_SignalsGeneration/readme.txt
* @author MCD Application Team
* @version V1.3.0
* @date 13-November-2013
* @brief Description of the DAC Signals generation example.
******************************************************************************
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
@endverbatim
@par Example Description
This example provides a short description of how to use the DAC peripheral to
generate several signals using DMA controller.
When the user presses the KEY push-button, DMA transfers the two selected
waveforms to the DAC.
For each press on KEY button, 2 signals has been selected and can be monitored on
the two DAC channels:
- Escalator waveform (Channel 1) and Sine waveForm (Channel 2).
- Noise waveform (Channel 1) and Triangle waveform (Channel 2).
@par Directory contents
- DAC/DAC_SignalsGeneration/system_stm32f4xx.c STM32F4xx system clock configuration file
- DAC/DAC_SignalsGeneration/stm32f4xx_conf.h Library Configuration file
- DAC/DAC_SignalsGeneration/stm32f4xx_it.c Interrupt handlers
- DAC/DAC_SignalsGeneration/stm32f4xx_it.h Interrupt handlers header file
- DAC/DAC_SignalsGeneration/main.c Main program
- DAC/DAC_SignalsGeneration/main.h Main program header file
@par Hardware and Software environment
- This example runs on STM32F405xx/407xx, STM32F415xx/417xx and STM32F427xx/437xx
devices.
- This example has been tested with STMicroelectronics STM324xG-EVAL (STM32F40xx/
STM32F41xx Devices) and STM32437I-EVAL (STM32F427xx/STM32F437xx Devices) evaluation
boards and can be easily tailored to any other supported device and development board.
- STM324xG-EVAL and STM32437I-EVAL Set-up
- Use KEY push-button connected to PG15.
- Connect PA4 (DAC Channel1) and PA5 (DAC Channel2) pins to an oscilloscope.
@note Make sure that JP31 is open.
@par How to use it ?
In order to make the program work, you must do the following:
- Copy all source files from this example folder to the template folder under
Project\STM32F4xx_StdPeriph_Templates
- Open your preferred toolchain
- Select the project workspace related to the used device
- If "STM32F40_41xxx" is selected as default project Add the following files in the project source list:
- Utilities\STM32_EVAL\STM3240_41_G_EVAL\stm324xg_eval.c
- If "STM32F427_437xx" is selected as default project Add the following files in the project source list:
- Utilities\STM32_EVAL\STM324x7I_EVAL\stm324x7i_eval.c
- Rebuild all files and load your image into target memory
- Run the example
*
© COPYRIGHT STMicroelectronics
*/
近期下载者:
相关文件:
收藏者: