led.h

来自「协调器的执行程序」· C头文件 代码 · 共 39 行

H
39
字号
//----------------------------------------------------//
//-------Institute Of  Computing Technology-----------//
//------------Chinese Academic  Science---------------//
//-----中国科学院计算技术研究所先进测试技术实验室-----//
//----------------------------------------------------//

// **************************************************
// * @copyright:nbicc_lpp
// * @this is LED driver code head
// * @author zhouqiang  (zhouhongren@163.com)
// *              liulingyi      (lingyiliu@ict.ac.cn)
// * @data:2005.11.05
// * @version:0.0.1
// * @updata:$
// **************************************************

#ifndef LED_H
#define LED_H

#include "top.h"
 
	
	//------------------------led
	extern uint8_t Leds_init(void);
	uint8_t Leds_yellowOn(void);
	uint8_t Leds_yellowOff(void);
	uint8_t Leds_yellowToggle(void);
	uint8_t Leds_greenOn(void);
	uint8_t Leds_greenOff(void);
	uint8_t Leds_greenToggle(void);
	uint8_t Leds_redOn(void);
	uint8_t Leds_redOff(void);
	uint8_t Leds_redToggle(void);
 
   
#endif


⌨️ 快捷键说明

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