powerdemo.h

来自「ADI公司blackfin DSP开发板BF533 EZ-KIT LITE附带的」· C头文件 代码 · 共 32 行

H
32
字号
/*********************************************************************************

Copyright(c) 2005 Analog Devices, Inc. All Rights Reserved. 

This software is proprietary and confidential.  By using this software you agree
to the terms of the associated Analog Devices License Agreement.  

Description:
			Power Management Sample Program header file
			
*********************************************************************************/
#include <services/services.h>
#include "ezkitutilities.h"	// EZ-Kit utilities
#include "sdram_test.h"

#if !defined (__ADSP_TETON__)
#define	CLEAR_RTC_IRQS		0x807F		// Write-1-To-Clear all RTC interrupts
#endif

void TogglePowerMode	(void);					// Change Power Mode
void ToggleVoltage		(void);					// Change voltage level
void BlinkLEDs			(u32 count,u16 mask);	// Blinks the LED display

// Masks
#define BLINK_MASK 0x003E   // all but LED_1
#define ALL_LEDS   0x003F

// Blink delay count
#define DELAY_COUNT 10000000


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?