DRV8711步进电机.zip


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步进电机DRV8711PCBDRV8711.PcbDoc
     文件       37902  2019-09-30 12:36  DRV8711步进电机DRV8711PCBDRV8711.PrjPcb
     文件      169984  2019-09-30 11:44  DRV8711步进电机DRV8711PCBDRV8711.SchDoc
     目录           0  2019-09-30 11:16  DRV8711步进电机DRV8711PCB\__Previews
     文件       40041  2019-10-07 16:14  DRV8711步进电机DRV8711PCB\__PreviewsDRV8711.PcbDocPreview
     文件       67348  2019-09-30 11:44  DRV8711步进电机DRV8711PCB\__PreviewsDRV8711.SchDocPreview
     目录           0  2019-10-17 14:02  DRV8711步进电机STM32F030F4P6_SPI1
     目录           0  2019-10-17 14:21  DRV8711步进电机STM32F030F4P6_SPI1CMSIS
     文件       24423  2015-10-20 10:13  DRV8711步进电机STM32F030F4P6_SPI1CMSIScmsis_armcc.h
     文件       33042  2018-04-28 09:13  DRV8711步进电机STM32F030F4P6_SPI1CMSIScore_cm0.h
     文件       40429  2018-04-28 09:13  DRV8711步进电机STM32F030F4P6_SPI1CMSIScore_cm0plus.h
     文件        3620  2015-10-20 10:13  DRV8711步进电机STM32F030F4P6_SPI1CMSIScore_cmFunc.h
     文件        3636  2015-10-20 10:13  DRV8711步进电机STM32F030F4P6_SPI1CMSIScore_cmInstr.h
     目录           0  2019-10-17 14:02  DRV8711步进电机STM32F030F4P6_SPI1FWLIB
     目录           0  2019-10-17 14:21  DRV8711步进电机STM32F030F4P6_SPI1FWLIBinc
     文件       19520  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_adc.h
     文件       12353  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_cec.h
     文件       10385  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_comp.h
     文件        3680  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_crc.h
     文件        7138  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_dac.h
     文件        3892  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_dbgmcu.h
     文件       14207  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_dma.h
     文件        8617  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_exti.h
     文件       10957  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_flash.h
     文件       13174  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_gpio.h
     文件       18136  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_i2c.h
     文件        4531  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_iwdg.h
     文件        4413  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_misc.h
     文件        5909  2018-04-28 09:12  DRV8711步进电机STM32F030F4P6_SPI1FWLIBincstm32f0xx_pwr.h
............此处省略166个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)