制作硬盘MP3的源代码与PCB图

源代码在线查看: kbd_task.h

软件大小: 870 K
上传用户: ybsscauc
关键词: MP3 PCB 硬盘 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*H**************************************************************************
				* NAME:         kbd_task.h         
				*----------------------------------------------------------------------------
				* Copyright (c) 2003 Atmel.
				*----------------------------------------------------------------------------
				* RELEASE:      snd1c-refd-nf-4_0_3      
				* REVISION:     1.3.2.2     
				*----------------------------------------------------------------------------
				* 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_ */
				
							

相关资源