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

源代码在线查看: led.h

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

相关代码

				/*H**************************************************************************
				* NAME:         led.h         
				*----------------------------------------------------------------------------
				* Copyright (c) 2003 Atmel.
				*----------------------------------------------------------------------------
				* RELEASE:      snd1c-refd-nf-4_0_3      
				* REVISION:     1.1.2.2     
				*----------------------------------------------------------------------------
				* PURPOSE:        This file contains the high level display definition
				*
				*****************************************************************************
				* NOTE:
				*
				*****************************************************************************/
				
				#ifndef _LED_H_
				#define _LED_H_
				
				/*_____ I N C L U D E S ____________________________________________________*/
				
				
				/*_____ M A C R O S ________________________________________________________*/
				
				/*----- Hardware Definition -----*/
				#define P_LED           P1              /* LED port P1 */
				
				#define LED_VOL         P1_2
				#define LED_BASS        P1_5
				#define LED_TREEB       P1_6
				#define LED_MED         P1_7
				#define MSK_PLED        ((Byte)0xE4)    /* mask for unused bit of P_LED */
				
				/*_____ D E F I N I T I O N ________________________________________________*/
				
				
				/* LED blinking timing */
				#define LED_ON_TIME     1
				#define LED_CLEAR_TIME  5
				#define LED_ON_TIME_S     5
				#define LED_CLEAR_TIME_S  25
				#define LED_ON_TIME_VS     5
				#define LED_CLEAR_TIME_VS  254
				
				/*_____ D E C L A R A T I O N ______________________________________________*/
				
				
				
				#endif  /* _LED_H_ */
				
							

相关资源