s12co_led.h

来自「source code for a sample alarm control p」· C头文件 代码 · 共 22 行

H
22
字号
//=============================================================================
// File: S12CO_LED.H - V1.00
// Rem.: The ACPRD Project Page on the Web -> http://hc12web.de/acprd
//=============================================================================

#ifndef __S12CO_LED_H
#define __S12CO_LED_H

//-- Macros -------------------------------------------------------------------

#define initLED()	PORTE |= 0x80; DDRE |= 0x80
#define offLED()	PORTE |= 0x80
#define onLED()		PORTE &= ~0x80
#define toggleLED()	PORTE ^= 0x80

//-- Function Prototypes ------------------------------------------------------

/* module contains no code */

#endif //__S12CO_LED_H ========================================================

⌨️ 快捷键说明

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