资源简介
代码片段和文件信息
/*This file is prepared for Doxygen automatic documentation generation.*/
/*! \file ******************************************************************
*
* \brief Management of the delays.
*
* This file manages the “delays“ with or without an OS.
*
* - Compiler: IAR EWAVR32 and GNU GCC for AVR32
* - Supported devices: All AVR32 devices with a USB module can be used.
* - AppNote:
*
* \author Atmel Corporation: http://www.atmel.com \n
* Support and FAQ: http://support.atmel.no/
*
***************************************************************************/
/* Copyright (C) 2006-2008 Atmel Corporation All rights reserved.
*
* 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. The name of ATMEL may not be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY ATMEL ‘‘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 EXPRESSLY AND
* SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL 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.
*/
//_____ I N C L U D E S ___________________________________________________
#include “delay.h“
//_____ M A C R O S ________________________________________________________
//_____ D E F I N I T I O N S ______________________________________________
//! CPU frequency
static unsigned long s_fcpu_hz;
//_____ D E C L A R A T I O N S ____________________________________________
void delay_init(unsigned long fcpu_hz)
{
s_fcpu_hz = fcpu_hz;
}
void delay_ms(unsigned long delay)
{
cpu_delay_ms(delay s_fcpu_hz);
}
void delay_us(unsigned long delay)
{
cpu_delay_us(delay s_fcpu_hz);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\
文件 61284 2009-02-18 18:28 BLDC_FOC-1_0_0\.cproject
文件 2147 2009-02-18 18:28 BLDC_FOC-1_0_0\.project
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\.settings\
文件 98 2009-02-18 18:28 BLDC_FOC-1_0_0\.settings\com.atmel.avr32.debug.prefs
文件 88 2009-02-18 18:28 BLDC_FOC-1_0_0\.settings\com.atmel.avr32.managedbuilder.prefs
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\
目录 0 2010-03-12 09:53 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\GCC\
文件 5445 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\GCC\config.mk
文件 65 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\GCC\gdb_cmdfile.txt
文件 16579 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\GCC\Makefile
目录 0 2010-03-12 10:05 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\IAR\
文件 8077 2010-03-12 09:54 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\IAR\bldc_foc.ewd
文件 28105 2010-03-12 09:56 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\IAR\bldc_foc.ewp
文件 162 2008-09-22 09:39 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\AT32UC3B0256_EVK1101\IAR\bldc_foc.eww
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\CONF\
文件 5113 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\CONF\conf_foc.h
文件 9274 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\CONF\conf_usb.h
文件 10410 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\CONF\cos_sin.h
文件 5289 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\CONF\mc300.h
文件 2776 2009-02-18 18:27 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\delay.c
文件 8383 2009-02-18 18:27 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\delay.h
文件 4896 2009-02-18 18:27 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\device_cdc_task.c
文件 2965 2009-02-18 18:27 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\device_cdc_task.h
目录 0 2010-03-02 13:25 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\ENUM\
文件 859 2009-02-18 18:28 BLDC_FOC-1_0_0\src\APPLICATIONS\EVK110x-MOTOR-CONTROL\BLDC-FOC\APPLICATION\ENUM\fr
............此处省略124个文件信息
- 上一篇:dsp控制永磁同步电机
- 下一篇:MPU6050读取原始加速度、角速度及温度数据
相关资源
- dsp控制永磁同步电机
- 步进电机调速原理.c
- 步进电机控制(源码+文档)
- STM32 BLDC 无刷电机
- pid控制电机
- 51驱动步进电机
- 电机控制例程
- 基于51单片机的c语言程序 电机转速测
- PN532-libnfc-mfoc-mfcuk-windows
- C++ 图形界面 实现文本编辑框输入同步
- 进程同步与互斥C++
- C语言编写的跨平台线程库
- 变频器源码 DSPIC30F5015电机控制专用芯
- 生产者消费者问题源码-MFC实现-进程模
- 嗜睡的理发师进程同步与实现c++
- 医务室模拟_vc/类/多线程
- 对无线传感器网络(WSN)中参考广播
- 永磁电机设计软件
- 步进电机控制程序175063
- STM32F030无刷电机驱动程序
- ethercat电机mfc简单连接程序
- C++11编写的socket通信程序
- 台达ASDA2伺服电机简单控制C++程序
- ffmpeg简易播放器-音视频同步
- blender 源代码 c c++ git 2016-4-3同步获取
- PID调节电机转速 配合MPU6050
- SMT32电机驱动(舵机和电机)
- 《线性代数同步学习辅导》pdf 高清版
- mfc 同步移动两个窗口
- fanuc 编程(BYTESTFocas)
评论
共有 条评论