文件名称:500039_Wake_up_on_key
介绍说明--下载内容来自于网络,使用问题请自行百度
本文档描述了如何通过按键从待机模式中唤醒设备,并给出了代码示例。-/******************************************************************************
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
500039 Wake up on key/STANDBY_MODE.prj
500039 Wake up on key/STANDBY_MODE.wsp
500039 Wake up on key/Debug/ABS/STANDBY_MODE.abs
500039 Wake up on key/Debug/ABS/STANDBY_MODE.mhx
500039 Wake up on key/Debug/ABS
500039 Wake up on key/Debug/LST/STANDBY_MODE.mp1
500039 Wake up on key/Debug/LST
500039 Wake up on key/Debug/OBJ/Main.obj
500039 Wake up on key/Debug/OBJ/Main.stk
500039 Wake up on key/Debug/OBJ/mb95200.obj
500039 Wake up on key/Debug/OBJ/STANDBY_MODE.obj
500039 Wake up on key/Debug/OBJ/startup.obj
500039 Wake up on key/Debug/OBJ/vectors.obj
500039 Wake up on key/Debug/OBJ/vectors.stk
500039 Wake up on key/Debug/OBJ
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opa
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opb
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opc
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opl
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opv
500039 Wake up on key/Debug/OPT
500039 Wake up on key/Debug/src/Main.c
500039 Wake up on key/Debug/src/mb95200.asm
500039 Wake up on key/Debug/src/mb95200.h
500039 Wake up on key/Debug/src/startup.asm
500039 Wake up on key/Debug/src/vectors.c
500039 Wake up on key/Debug/src
500039 Wake up on key/Debug/STANDBY.sup
500039 Wake up on key/Debug/STANDBY_MODE.sup
500039 Wake up on key/Debug
500039 Wake up on key
500039 Wake up on key/STANDBY_MODE.prj
500039 Wake up on key/STANDBY_MODE.wsp
500039 Wake up on key/Debug/ABS/STANDBY_MODE.abs
500039 Wake up on key/Debug/ABS/STANDBY_MODE.mhx
500039 Wake up on key/Debug/ABS
500039 Wake up on key/Debug/LST/STANDBY_MODE.mp1
500039 Wake up on key/Debug/LST
500039 Wake up on key/Debug/OBJ/Main.obj
500039 Wake up on key/Debug/OBJ/Main.stk
500039 Wake up on key/Debug/OBJ/mb95200.obj
500039 Wake up on key/Debug/OBJ/STANDBY_MODE.obj
500039 Wake up on key/Debug/OBJ/startup.obj
500039 Wake up on key/Debug/OBJ/vectors.obj
500039 Wake up on key/Debug/OBJ/vectors.stk
500039 Wake up on key/Debug/OBJ
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opa
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opb
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opc
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opl
500039 Wake up on key/Debug/OPT/STANDBY_MODE.opv
500039 Wake up on key/Debug/OPT
500039 Wake up on key/Debug/src/Main.c
500039 Wake up on key/Debug/src/mb95200.asm
500039 Wake up on key/Debug/src/mb95200.h
500039 Wake up on key/Debug/src/startup.asm
500039 Wake up on key/Debug/src/vectors.c
500039 Wake up on key/Debug/src
500039 Wake up on key/Debug/STANDBY.sup
500039 Wake up on key/Debug/STANDBY_MODE.sup
500039 Wake up on key/Debug
500039 Wake up on key
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。