• 大小: 1.02MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-14
  • 语言: 其他
  • 标签: C6747  DSP  例程  

资源简介

各种例程包括FLASH,SDRAM,FLUSH烧写,串口,PWM,,,

资源截图

代码片段和文件信息

/*
 *  Copyright 2008 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */

/*
 *  Board Setup
 *
 */

#include “C6747.h“
#include “C6747_i2c.h“
Int16 _resetEMIF( Uint16 chip_select );
/* ------------------------------------------------------------------------ *
 *                                                                          *
 *  C6747_wait( delay )                                                  *
 *                                                                          *
 *      Wait in a software loop for ‘x‘ delay                               *
 *                                                                          *
 * ------------------------------------------------------------------------ */
void C6747_wait( Uint32 delay )
{
    volatile Uint32 i;
    for ( i = 0 ; i < delay ; i++ ){ };
}

/* ------------------------------------------------------------------------ *
 *                                                                          *
 *  C6747_waitusec( usec )                                               *
 *                                                                          *
 *      Wait in a software loop for ‘x‘ microseconds                        *
 *                                                                          *
 * ------------------------------------------------------------------------ */
void C6747_waitusec( Uint32 usec )
{
    C6747_wait( usec * 3 );
}

void _wait( Uint32 delay )
{
    volatile Uint32 i;
    for ( i = 0 ; i < delay ; i++ ){ };
}




/* ------------------------------------------------------------------------ *
 *                                                                          *
 *  C6747_init( )                                                        *
 *                                                                          *
 *      Setup I2C MSP430 & I2C GPIO Expander                              *
 *                                                                          *
 * ------------------------------------------------------------------------ */
Int16 C6747_init( )
{
    
   sysinit();
  
    return 0;
}

/* ------------------------------------------------------------------------ *
 *                                                                          *
 *  _resetEMIF( )                                                           *
 *                                                                          *
 *      Reset EMIF timings to have MAX timeout                              *
 *                                                                          *
 *      @ 594 MHz AEMIF clock is set to ( 99 MHz or 10.1 ns )              *
 *                                                                          *
 *      chip_select     <- Chip Select [2-5]                                *
 *                            

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\
     文件         353  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\.ccsproject
     文件        8098  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\.cdtbuild
     文件         677  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\.cdtproject
     文件         587  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\.project
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\.settings\
     文件         551  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\.settings\org.eclipse.cdt.managedbuilder.core.prefs
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\cmd\
     文件         838  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\cmd\linker.cmd
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\Debug\
     文件        7213  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\ADC7656.map
     文件       50829  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\ADC7656.out
     文件          89  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\ccsObjs.opt
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\Debug\cmd\
     文件           0  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\cmd\ccsSrcs.opt
     文件         405  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\cmd\subdir.mk
     文件        3066  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\makefile
     文件         267  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\objects.mk
     文件        1645  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\sources.mk
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\Debug\src\
     文件        7329  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\C6747.obj
     文件         178  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\C6747.pp
     文件       12157  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\C6747_init.obj
     文件         122  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\C6747_init.pp
     文件          55  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\ccsSrcs.opt
     文件        9319  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\main.obj
     文件        1168  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\main.pp
     文件        2497  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\Debug\src\subdir.mk
     目录           0  2014-01-15 18:31  ccs4.1.2软件例程\ADC7656\include\
     文件       36878  2012-01-05 09:04  ccs4.1.2软件例程\ADC7656\include\C6747.h
............此处省略507个文件信息

评论

共有 条评论