ATMEL全套MP3设计资料

源代码在线查看: kbd_task.h

软件大小: 18143 K
上传用户: 狼狈
关键词: ATMEL MP3 设计资料
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*H**************************************************************************
				* $RCSfile: kbd_task.h,v $
				*----------------------------------------------------------------------------
				* Copyright (c) 2002 Atmel.
				*----------------------------------------------------------------------------
				* RELEASE:      $Name: DEMO_FAT_1_9_9 $      
				* REVISION:     $Revision: 1.2 $     
				* FILE_CVSID:   $Id: kbd_task.h,v 1.2 2002/06/07 15:44:38 ffosse Exp $       
				*----------------------------------------------------------------------------
				* PURPOSE:
				* This file contains the Keyboard task definition
				*****************************************************************************/
				
				#ifndef _KBD_TASK_H_
				#define _KBD_TASK_H_
				
				/*_____ I N C L U D E S ____________________________________________________*/
				
				
				/*_____ M A C R O S ________________________________________________________*/
				
				#define KBD_DEBOUNCE_TEMPO  80/SCHEDULER_TICK   /* debounce period: 80 ms */
				#define KBD_DEBOUNCE_INIT   0                   /* debounce counter init */
				
				
				/*----- Task states -----*/
				#define KBD_IDLE        (Byte)0x00
				#define KBD_DEBOUNCE    (Byte)0x01
				#define KBD_DECODE      (Byte)0x02
				
				
				/*_____ D E F I N I T I O N ________________________________________________*/
				
				
				/*_____ D E C L A R A T I O N ______________________________________________*/
				
				void    kbd_task_init (void);
				void    kbd_task (void);
				void    kbd_set_stop (void);
				
				
				#endif /* _KBD_TASK_H_ */
				
							

相关资源