资源简介
2812 的c语言以及汇编语言例程包括头文件 串口使用 电机控制例程等等

代码片段和文件信息
// TI File $Revision: /main/2 $
// Checkin $Date: April 29 2005 11:11:45 $
//###########################################################################
//
// FILE: DSP281x_Adc.c
//
// title: DSP281x ADC Initialization & Support Functions.
//
//###########################################################################
// $TI Release: DSP281x C/C++ Header Files V1.20 $
// $Release Date: July 27 2009 $
//###########################################################################
#include “DSP281x_Device.h“ // DSP281x Headerfile Include File
#include “DSP281x_Examples.h“ // DSP281x Examples Include File
#define ADC_usDELAY 8000L
#define ADC_usDELAY2 20L
//---------------------------------------------------------------------------
// InitAdc:
//---------------------------------------------------------------------------
// This function initializes ADC to a known state.
//
void InitAdc(void)
{
extern void DSP28x_usDelay(Uint32 Count);
// To powerup the ADC the ADCENCLK bit should be set first to enable
// clocks followed by powering up the bandgap and reference circuitry.
// After a 5ms delay the rest of the ADC can be powered up. After ADC
// powerup another 20us delay is required before performing the first
// ADC conversion. Please note that for the delay function below to
// operate correctly the CPU_CLOCK_SPEED define statement in the
// DSP28_Examples.h file must contain the correct CPU clock period in
// nanoseconds. For example:
AdcRegs.ADCTRL3.bit.ADCBGRFDN = 0x3; // Power up bandgap/reference circuitry
DELAY_US(ADC_usDELAY); // Delay before powering up rest of ADC
AdcRegs.ADCTRL3.bit.ADCPWDN = 1; // Power up rest of ADC
DELAY_US(ADC_usDELAY2); // Delay after powering up ADC
}
//===========================================================================
// No more.
//===========================================================================
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 115698 2011-09-04 14:48 DSP2812例程\bpra058.pdf
文件 541141 2009-08-03 17:13 DSP2812例程\DSP281x_HeaderFiles_QuickStart_Readme.pdf
文件 587853 2011-09-04 14:48 DSP2812例程\spraa76.pdf
文件 1701024 2011-09-04 14:49 DSP2812例程\spraad5.pdf
文件 374430 2011-09-04 14:47 DSP2812例程\spraak2.pdf
文件 321372 2011-09-04 14:50 DSP2812例程\spru051d.pdf
文件 341534 2011-09-04 14:50 DSP2812例程\spru059e.pdf
文件 250226 2011-09-04 14:52 DSP2812例程\spru060d.pdf
文件 752944 2011-09-04 14:47 DSP2812例程\spru061d.pdf
文件 21832 2011-09-04 14:49 DSP2812例程\sprugi6a.pdf
文件 541141 2009-08-03 17:13 DSP2812例程\v120\doc\DSP281x_HeaderFiles_QuickStart_Readme.pdf
文件 6680 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\cmd\F2810.cmd
文件 7285 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\cmd\F2812.cmd
文件 3784 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\cmd\F2812_EzDSP_RAM_lnk.cmd
文件 7479 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\cmd\F2812_XintfBoot.cmd
文件 4799 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\include\DSP281x_DefaultIsr.h
文件 3251 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\include\DSP281x_Examples.h
文件 2544 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\include\DSP281x_GlobalPrototypes.h
文件 146860 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\include\DSP281x_SWPrioritizedIsrLevels.h
文件 2018 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_Adc.c
文件 1900 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_CodeStartBranch.asm
文件 4166 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_CpuTimers.c
文件 2418 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_CSMPasswords.asm
文件 873 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_DBGIER.asm
文件 25437 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_DefaultIsr.c
文件 8336 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_ECan.c
文件 1071 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_Ev.c
文件 1666 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_Gpio.c
文件 1871 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_InitPeripherals.c
文件 5767 2009-08-04 09:30 DSP2812例程\v120\DSP281x_common\source\DSP281x_Mcbsp.c
............此处省略310个文件信息
相关资源
- GD32F103例程
- stm32 DMA例程
- 基于STM32F407的W5500 tcpserver(官网例程
- QT CAN例程
- 博巨兴mcu例程(BJ8M601A)
- 电机控制例程
- STM8S105C6例程
- Wemos D1 mini阿里云MQTT例程
- C语言math.h文件使用说明及相应程序
- AVR单片机SPI通讯程序 (C语言源代码)
- prodave6.2 与s7-200通信例程
- C++调用C#库例程
- stm32L系列F系列 加密库Cryptographic lib
- 串口读写上位机例程
- MFC使用ado连接access数据库例程
- pic16的C语言例程
- 在vs中仿真uc/gui的例程,摆脱vc++
- 51单片机程序大全C语言写的150个程序
- BMP180气压计STM32例程+51例程+数据手册
- LY-51S V2.33 c语言 160例程
- vc6下编写串口通讯例程
- mfc经典例程150例
- MSP430系列程序,各种例程。
- 单片机c语言和汇编语言混合编程详解
- MFC单文档绘图例程
- 正运动控制器入门程序例程vc++6.0版
- C51单片机C语言400例.zip
- visual c++教程第三版郑阿奇,丁有和课
- 51单片机C语言400例
- VS2010基于对话框的MFC串口通信简明例
评论
共有 条评论