文件名称:500039_Wake_up_on_key
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 43kb
- 下载次数:
- 0次
- 提 供 者:
- Shi***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本文档描述了如何通过按键从待机模式中唤醒设备,并给出了代码示例。-/******************************************************************************
F2MC-8FX Family SOFTUNE C Compiler sample startup routine,
ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 2008
LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED
NAME: MAIN.C
FUNCTION: Change the system clock and lighten three LED
LED flicker frequency different in different clock
******************************************************************************/
#include "mb95200.h"
#define LED2 PDR0_P05
#define LED3 PDR6_P64
#define LED4 PDR6_P63
#define Light 0 /*LED light*/
#define Unlight 1 /*LED unlight*/
/**************** vDelay routine ***********************/
unsigned char vDelay(unsigned int uiCount)
{
int i
while(uiCount--)
{
for(i=0 i<100 i++)
asm("\tNOP")
}
}
/******************************************************************************
NAME: __interrupt void external_int06(void)
FUNCTION:
***********************************************
F2MC-8FX Family SOFTUNE C Compiler sample startup routine,
ALL RIGHTS RESERVED, COPYRIGHT (C) FUJITSU LIMITED 2008
LICENSED MATERIAL- PROGRAM PROPERTY OF FUJITSU LIMITED
NAME: MAIN.C
FUNCTION: Change the system clock and lighten three LED
LED flicker frequency different in different clock
******************************************************************************/
#include "mb95200.h"
#define LED2 PDR0_P05
#define LED3 PDR6_P64
#define LED4 PDR6_P63
#define Light 0 /*LED light*/
#define Unlight 1 /*LED unlight*/
/**************** vDelay routine ***********************/
unsigned char vDelay(unsigned int uiCount)
{
int i
while(uiCount--)
{
for(i=0 i<100 i++)
asm("\tNOP")
}
}
/******************************************************************************
NAME: __interrupt void external_int06(void)
FUNCTION:
***********************************************
(系统自动生成,下载前可以参看下载内容)
下载文件列表
500039 Wake up on key\STANDBY_MODE.dat
.....................\STANDBY_MODE.prj
.....................\STANDBY_MODE.wsp
.....................\Debug\ABS\STANDBY_MODE.abs
.....................\.....\...\STANDBY_MODE.mhx
.....................\.....\ABS
.....................\.....\LST\STANDBY_MODE.mp1
.....................\.....\LST
.....................\.....\OBJ\Main.obj
.....................\.....\...\Main.stk
.....................\.....\...\mb95200.obj
.....................\.....\...\STANDBY_MODE.obj
.....................\.....\...\startup.obj
.....................\.....\...\vectors.obj
.....................\.....\...\vectors.stk
.....................\.....\OBJ
.....................\.....\.PT\STANDBY_MODE.opa
.....................\.....\...\STANDBY_MODE.opb
.....................\.....\...\STANDBY_MODE.opc
.....................\.....\...\STANDBY_MODE.opl
.....................\.....\...\STANDBY_MODE.opv
.....................\.....\OPT
.....................\.....\src\Main.c
.....................\.....\...\mb95200.asm
.....................\.....\...\mb95200.h
.....................\.....\...\startup.asm
.....................\.....\...\vectors.c
.....................\.....\src
.....................\.....\STANDBY.sup
.....................\.....\STANDBY_MODE.sup
.....................\Debug
500039 Wake up on key
.....................\STANDBY_MODE.prj
.....................\STANDBY_MODE.wsp
.....................\Debug\ABS\STANDBY_MODE.abs
.....................\.....\...\STANDBY_MODE.mhx
.....................\.....\ABS
.....................\.....\LST\STANDBY_MODE.mp1
.....................\.....\LST
.....................\.....\OBJ\Main.obj
.....................\.....\...\Main.stk
.....................\.....\...\mb95200.obj
.....................\.....\...\STANDBY_MODE.obj
.....................\.....\...\startup.obj
.....................\.....\...\vectors.obj
.....................\.....\...\vectors.stk
.....................\.....\OBJ
.....................\.....\.PT\STANDBY_MODE.opa
.....................\.....\...\STANDBY_MODE.opb
.....................\.....\...\STANDBY_MODE.opc
.....................\.....\...\STANDBY_MODE.opl
.....................\.....\...\STANDBY_MODE.opv
.....................\.....\OPT
.....................\.....\src\Main.c
.....................\.....\...\mb95200.asm
.....................\.....\...\mb95200.h
.....................\.....\...\startup.asm
.....................\.....\...\vectors.c
.....................\.....\src
.....................\.....\STANDBY.sup
.....................\.....\STANDBY_MODE.sup
.....................\Debug
500039 Wake up on key