资源简介
STM32 ,实现了低压BLDC马达驱动
代码片段和文件信息
/**
******************************************************************************
* @file L6398.c
* @author System lab - Automation and Motion control team
* @version V1.1.0
* @date 23-Oct-2015
* @brief This file provides a set of functions to manage L6398 driver
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2015 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
* DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/
#include “l6398.h“
/** @addtogroup DRIVERS DRIVERS
* @brief Driver layer
* @{
*/
/** @addtogroup BSP BSP
* @brief BSP layer
* @{
*/
/** @addtogroup COMPONENTS COMPONENTS
* @brief Components
* @{
*/
/** @addtogroup L6398 L6398
* @brief L6398 driver section
* @{
*/
/** @defgroup L6398MotorDriver L6398MotorDriver
* @{
* @brief API pointer for L6398
*/
L6398_MotorDriver_TypeDef L6398MotorDriver =
{
EnableInput_CH1_E_CH2_E_CH3_D
EnableInput_CH1_E_CH2_D_CH3_E
EnableInput_CH1_D_CH2_E_CH3_E
DisableInput_CH1_D_CH2_D_CH3_D
Start_PWM_driving
Stop_PWM_driving
HF_TIMx_SetDutyCycle_CH1
HF_TIMx_SetDutyCycle_CH2
HF_TIMx_SetDutyCycle_CH3
Current_Reference_Start
Current_Reference_Stop
Current_Reference_Setvalue
};
/**
* @}
*/
/** @defgroup Enab
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-04-07 23:00 STM32CubeExpansion_SPN8_V1.0.1\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Documentation\
文件 1182843 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Documentation\X-CUBE-SPN8.chm
目录 0 2016-04-07 23:00 STM32CubeExpansion_SPN8_V1.0.1\Drivers\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\Common\
文件 4167 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\Common\MC_Common.h
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\l6398\
文件 6551 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\l6398\l6398.c
文件 3836 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\l6398\l6398.h
文件 25501 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\Components\l6398\Release_Notes.html
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\
文件 3 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\entries
文件 3 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\format
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\10\
文件 24827 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\10\10b0638d1910d19538cfa6ed03a71c8dcc0a0034.svn-ba
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\20\
文件 15562 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\20\20063c9e25aadf639ed8f1e3872936c33788ab2d.svn-ba
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\dd\
文件 11504 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\pristine\dd\dd3f1f1a2ddeb65f606f4fe8fccd65a7904dd3ce.svn-ba
目录 0 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\tmp\
文件 36864 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\.svn\wc.db
文件 15562 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\Release_Notes.html
文件 24827 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\stm32f3xx_nucleo.c
文件 11504 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F3xx-Nucleo\stm32f3xx_nucleo.h
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F4xx-Nucleo\
目录 0 2016-04-07 22:59 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F4xx-Nucleo\.svn\
文件 3 2016-04-07 17:42 STM32CubeExpansion_SPN8_V1.0.1\Drivers\BSP\STM32F4xx-Nucleo\.svn\entries
............此处省略2829个文件信息
评论
共有 条评论