⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iar-

📁 IAR_example_EasyARM8962.zip
💻
📖 第 1 页 / 共 2 页
字号:
** Input parameters:	led: The num.of led to be toggled, 1-4 for LED1-LED4, 
**                      0xFF for all leds, others no action
**                      led: 要取反的LED的号码,1-4代表LED1-LED4,0xFF代表全部LED,其他值无意义。
** Output parameters:	None 无
** Returned value:	None 无         
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if (TARGET_LED1_EN > 0) || (TARGET_LED2_EN > 0) || (TARGET_LED3_EN > 0) || (TARGET_LED4_EN > 0)
    extern void ledToggle(INT8U  ucLed);
#endif


/*********************************************************************************************************
** Function name:       buzInit 
** Descriptions:	Initialize the target board's buzzer 初始化目标板的蜂鸣器
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无         
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if TARGET_BUZ_EN > 0
    extern void buzInit(void);
#endif

/*********************************************************************************************************
** Function name:       buzOn
** Descriptions:	Switch on the buzzer 打开蜂鸣器
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:           
** Modified date:         
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if TARGET_BUZ_EN > 0
    extern void buzOn(void);
#endif

/*********************************************************************************************************
** Function name:       buzOff
** Descriptions:	Switch off the buzzer 关闭蜂鸣器
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if TARGET_BUZ_EN > 0
    extern void buzOff(void);
#endif

/*********************************************************************************************************
** Function name:       buzToggle
**
** Descriptions:        Toggle the buzzer 取反蜂鸣器
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无
** Created by:	        Steven Zhou 周绍刚
** Created Date:        2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if TARGET_BUZ_EN > 0
    extern void buzToggle(void);    
#endif

/*********************************************************************************************************
** Function name:       keyInit
** Descriptions:	Initialize the target board's keys,support up to 4 keys 
**                      初始化目标板的按键,最多支持4个
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if (TARGET_KEY1_EN > 0) ||  (TARGET_KEY2_EN > 0) || (TARGET_KEY3_EN > 0) || (TARGET_KEY4_EN > 0)
    extern void keyInit(void);    
#endif


/*********************************************************************************************************
** Function name:       keyRead
** Descriptions:	Read the status of the keys. 读取按键的状态
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	8-bit unsigned char data. Bit0-bit3 stand for the status of Key1-Key4,
**                                                Bit4-Bit7 no meaning
**                      8位无符号数,位0-位3表示Key1-Key4的状态,位4-位7无意义         
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:            
** Modified date:          
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if (TARGET_KEY1_EN > 0) ||  (TARGET_KEY2_EN > 0) || (TARGET_KEY3_EN > 0) || (TARGET_KEY4_EN > 0)
    extern INT8U keyRead(void);    
#endif


/*********************************************************************************************************
** Function name:       timer0AInit
** Descriptions:	Initialize Timer0A to 32bit timeout 初始化定时器0A为32位超时
** Input parameters:	Tick: Number of timeout tick 超时脉冲数
                        Prio: Interrupt priority 中断优先级
** Output parameters:	None 无
** Returned value:	None 无
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:             
** Modified date:           
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if TARGET_TMR0A_EN > 0
    extern void timer0AInit(INT32U  ulTick, INT8U  ucPrio);
#endif


/*********************************************************************************************************
** Function name:       timer0AISR
** Descriptions:	Timeout interrupt handler of Timer0A 定时器0A超时中断
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无        
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:           
** Modified date:         
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
#if TARGET_TMR0A_EN > 0
    extern void timer0AISR(void);
#endif

/*********************************************************************************************************
** Function name:       tickISRHandler
** Descriptions:	Timeout interrupt handler of system timer 系统定时器超时中断
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无        
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:       
** Modified date:
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
extern void tickISRHandler(void);

/*********************************************************************************************************
** Function name:       targetInit
** Descriptions:	Initialize the target board 初始化目标板
** Input parameters:	None 无
** Output parameters:	None 无
** Returned value:	None 无        
** Created by:		Steven Zhou 周绍刚
** Created Date:	2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
**-------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
extern void targetInit(void);


#ifdef __cplusplus
    }
#endif

#endif

/*********************************************************************************************************
  END FILE 
*********************************************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -