登录
首页 » c++ » 固高驱动程序

固高驱动程序

于 2022-01-28 发布 文件大小:9.31 MB
0 120
下载积分: 2 下载次数: 1

代码说明:

基于固高运动控制卡的电机驱动程序,驱动步进电机和伺服电机还有各种电机程序,不仅适用于步进电机,而且也适用于伺服电机。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 05970438
    手机GSM TI 平台 dma 驱动 源代码(Mobile phone GSM TI platform dma driver source code)
    2019-01-06 22:32:53下载
    积分:1
  • 网络层源代码
    汽车诊断协议 基于UDS的网络层源代码(Network Layer Source Code Based on UDS for Automobile Diagnosis Protocol)
    2019-02-19 20:05:39下载
    积分:1
  • HomeRes
    家庭理财统计!可以在一定的时间一定的消费类型消费人员金额等等的统计!(Family financial management and Statistics! At a certain time a certain amount of the consumption type of consumption, personnel statistics, etc.!)
    2010-01-16 22:24:58下载
    积分:1
  • REG-that
    PDA版的小型WEB服务器,可运行于windows mobile平台上(PDA version of a small WEB server that runs on a windows mobile platform)
    2019-04-01 11:28:21下载
    积分:1
  • VideoGameTheory
    Video Game Theory to develop game
    2014-01-22 09:37:53下载
    积分:1
  • FreeRTOS+FreeModbus+STM32F107VC
    /*  * FreeModbus Libary: BARE Port  * Copyright (C) 2006 Christian Walter  *  * This library is free software; you can redistribute it and/or  * modify it under the terms of the GNU Lesser General Public  * License as published by the Free Software Foundation; either  * version 2.1 of the License, or (at your option) any later version.  *  * This library is distributed in the hope that it will be useful,  * but WITHOUT ANY WARRANTY; without even the implied warranty of  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  * Lesser General Public License for more details.  *  * You should have received a copy of the GNU Lesser General Public  * License along with this library; if not, write to the Free Software  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA  *  * File: $Id: porttimer.c,v 1.1 2006/08/22 21:35:13 wolti Exp $  */ /* ----------------------- Platform includes --------------------------------*/ #include #include "port.h" /* ----------------------- Modbus includes ----------------------------------*/ #include "mb.h" #include "mbport.h" /* ----------------------- static functions ---------------------------------*/ static void prvvTIMERExpiredISR( void ); /* ----------------------- Start implementation -----------------------------*/ BOOL xMBPortTimersInit( USHORT usTim1Timerout50us ) { NVIC_InitTypeDef NVIC_InitStructure; TIM_TimeBaseInitTypeDef  TIM_TimeBaseStructure; USHORT PrescalerValue = 0;     NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);     /* Enable the TIM5 gloabal Interrupt */     NVIC_InitStructure.NVIC_IRQChannel = TIM5_IRQn;     NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;     NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3;     NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;     NVIC_Init(&NVIC_InitStructure);     /* TIM5 clock enable */     RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM5, ENABLE); PrescalerValue = (USHORT) (SystemCoreClock / 20000) - 1;      TIM_TimeBaseStructure.TIM_Period = usTim1Timerout50us;     TIM_TimeBaseStructure.TIM_Prescaler = PrescalerValue;     TIM_TimeBaseStructure.TIM_ClockDivision = 0;     TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;     TIM_TimeBaseInit(TIM5, &TIM_TimeBaseStructure);     TIM_ClearITPendingBit(TIM5, TIM_IT_Update);     //TIM_ITConfig(TIM5, TIM_IT_Update, DISABLE);     //TIM_Cmd(TIM5, ENABLE);      return TRUE; } void vMBPortTimersEnable( void ) {     /* Enable the timer with the timeout passed to xMBPortTimersInit( ) */     ENTER_CRITICAL_SECTION(); TIM_ClearITPendingBit(TIM5, TIM_IT_Update);     TIM_ITConfig(TIM5, TIM_IT_Update, ENABLE); TIM_SetCounter(TIM5, 0x0000);     TIM_Cmd(TIM5, ENABLE); EXIT_CRITICAL_SECTION(); } void vMBPortTimersDisable( void ) {     /* Disable any pending timers. */     ENTER_CRITICAL_SECTION(); TIM_ClearITPendingBit(TIM5, TIM_IT_Update);     TIM_ITConfig(TIM5, TIM_IT_Update, DISABLE); TIM_SetCounter(TIM5, 0x0000);     TIM_Cmd(TIM5, DISABLE); EXIT_CRITICAL_SECTION(); } /* Create an ISR which is called whenever the timer has expired. This function  * must then call pxMBPortCBTimerExpired( ) to notify the protocol stack that  * the timer has expired.  */ static void prvvTIMERExpiredISR( void ) {     ( void )pxMBPortCBTimerExpired(  ); } void TIM5_IRQHandler(void) { if (TIM_GetITStatus(TIM5, TIM_IT_Update) == SET) { TIM_ClearITPendingBit(TIM5, TIM_IT_Update); prvvTIMERExpiredISR(); } }
    2021-08-22 00:30:59下载
    积分:1
  • 迷宫
    迷宫求解:用二维矩阵表示迷宫,自动生成或者直接输入迷宫的格局,确定迷宫是否能走通,如果能走通,输出行走路线。(Labyrinth Solution: Use two-dimensional matrix to represent the maze, automatically generate or directly input the maze pattern, determine whether the maze can pass, if it can pass, output the walking route.)
    2019-03-21 21:02:04下载
    积分:1
  • LMMBBI5024e
    16位元led等电流驱动driveer器mbi5024驱动driver, (Led, such as 16-bit device driver current drive mbi5024 drive driver, )
    2012-05-15 11:19:06下载
    积分:1
  • Memory
    a sample c embedded program for beginners
    2010-08-25 18:52:06下载
    积分:1
  • TextRecognitionSystemBasedOnVisualDesignAndImpleme
    说明:  基于视觉的文字识别系统的设计与实现.pdf(Text recognition system based on visual design and implementation. Pdf)
    2010-04-19 16:48:30下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载