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

📄 s12co_led.h

📁 source code for a sample alarm control panel system using Freescale MC9S12DP256 . The project was im
💻 H
字号:
//=============================================================================
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -