这个LED的时钟源是多少,怎么计算?详细点,我菜鸟,请见谅
/****************************************************************************/
/* */
/* 底板 LED 测试 */
/* */
/* 2014年04月20日 */
/* */
/****************************************************************************/
#include "TL6748.h" // 创龙 DSP6748
开发板相关声明
#include "hw_types.h" // 宏命令
#include "hw_syscfg0_C6748.h" // 系统配置模块寄存器
#include "soc_C6748.h" // DSP C6748 外设寄存器
#include "psc.h" //
电源与睡眠控制宏及设备抽象层函数声明
#include "gpio.h" // 通用输入输出口宏及设备抽象层函数声明
/****************************************************************************/
/* */
/* 宏定义 */
/* */
/****************************************************************************/
// 软件断点
#define SW_BREAKPOINT asm(" SWBP 0 ");
/****************************************************************************/
/* */
/* 全局变量 */
/* */
/****************************************************************************/
/****************************************************************************/
/* */
/* 函数声明 */
/* */
/****************************************************************************/
// 外设使能配置
void PSCInit(void);
// GPIO 管脚复用配置
void GPIOBankPinMuxSet();
// GPIO 管脚初始化
void GPIOBankPinInit();
// 延时
void Delay(unsigned int n);
/****************************************************************************/
/* */
/* 主函数 */
/* */
/****************************************************************************/
int main(void)
{
一周热门 更多>