资源简介
DRV8711项目工程内有AD工程PCB板+原理图+stm32f030F4P6spi1驱动DRV8711代码
代码片段和文件信息
/**
******************************************************************************
* @file stm32f0xx_adc.c
* @author MCD Application Team
* @version V1.0.0
* @date 23-March-2012
* @brief This file provides firmware functions to manage the following
* functionalities of the Analog to Digital Convertor (ADC) peripheral:
* + Initialization and Configuration
* + Power saving
* + Analog Watchdog configuration
* + Temperature Sensor Vrefint (Internal Reference Voltage) and
* Vbat (Voltage battery) management
* + ADC Channels Configuration
* + ADC Channels DMA Configuration
* + Interrupts and flags management
*
* @verbatim
================================================================================
##### How to use this driver #####
================================================================================
[..]
(#) Enable the ADC interface clock using
RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1 ENABLE);
(#) ADC pins configuration
(++) Enable the clock for the ADC GPIOs using the following function:
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOx ENABLE);
(++) Configure these ADC pins in analog mode using GPIO_Init();
(#) Configure the ADC conversion resolution data alignment external
trigger and edge scan direction and Enable/Disable the continuous mode
using the ADC_Init() function.
(#) Activate the ADC peripheral using ADC_Cmd() function.
*** ADC channels group configuration ***
============================================
[..]
(+) To configure the ADC channels features use ADC_Init() and
ADC_ChannelConfig() functions.
(+) To activate the continuous mode use the ADC_ContinuousModeCmd()
function.
(+) To activate the Discontinuous mode use the ADC_DiscModeCmd() functions.
(+) To activate the overrun mode use the ADC_OverrunModeCmd() functions.
(+) To activate the calibration mode use the ADC_GetCalibrationFactor() functions.
(+) To read the ADC converted values use the ADC_GetConversionValue()
function.
*** DMA for ADC channels features configuration ***
=============================================================
[..]
(+) To enable the DMA mode for ADC channels group use the ADC_DMACmd() function.
(+) To configure the DMA transfer request use ADC_DMARequestModeConfig() function.
* @endverbatim
*
******************************************************************************
* @attention
*
* © COPYRIGHT 2012 STMicroelectronics
*
* 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-10-17 14:20 DRV8711步进电机\
目录 0 2019-10-16 17:10 DRV8711步进电机\DRV8711PCB\
文件 1484288 2019-09-30 12:36 DRV8711步进电机\DRV8711PCB\DRV8711.PcbDoc
文件 37902 2019-09-30 12:36 DRV8711步进电机\DRV8711PCB\DRV8711.PrjPcb
文件 169984 2019-09-30 11:44 DRV8711步进电机\DRV8711PCB\DRV8711.SchDoc
目录 0 2019-09-30 11:16 DRV8711步进电机\DRV8711PCB\__Previews\
文件 40041 2019-10-07 16:14 DRV8711步进电机\DRV8711PCB\__Previews\DRV8711.PcbDocPreview
文件 67348 2019-09-30 11:44 DRV8711步进电机\DRV8711PCB\__Previews\DRV8711.SchDocPreview
目录 0 2019-10-17 14:02 DRV8711步进电机\STM32F030F4P6_SPI1\
目录 0 2019-10-17 14:21 DRV8711步进电机\STM32F030F4P6_SPI1\CMSIS\
文件 24423 2015-10-20 10:13 DRV8711步进电机\STM32F030F4P6_SPI1\CMSIS\cmsis_armcc.h
文件 33042 2018-04-28 09:13 DRV8711步进电机\STM32F030F4P6_SPI1\CMSIS\core_cm0.h
文件 40429 2018-04-28 09:13 DRV8711步进电机\STM32F030F4P6_SPI1\CMSIS\core_cm0plus.h
文件 3620 2015-10-20 10:13 DRV8711步进电机\STM32F030F4P6_SPI1\CMSIS\core_cmFunc.h
文件 3636 2015-10-20 10:13 DRV8711步进电机\STM32F030F4P6_SPI1\CMSIS\core_cmInstr.h
目录 0 2019-10-17 14:02 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\
目录 0 2019-10-17 14:21 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\
文件 19520 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_adc.h
文件 12353 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_cec.h
文件 10385 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_comp.h
文件 3680 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_crc.h
文件 7138 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_dac.h
文件 3892 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_dbgmcu.h
文件 14207 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_dma.h
文件 8617 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_exti.h
文件 10957 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_flash.h
文件 13174 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_gpio.h
文件 18136 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_i2c.h
文件 4531 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_iwdg.h
文件 4413 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_misc.h
文件 5909 2018-04-28 09:12 DRV8711步进电机\STM32F030F4P6_SPI1\FWLIB\inc\stm32f0xx_pwr.h
............此处省略166个文件信息
评论
共有 条评论