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

📄 mega8_0.h

📁 基于AVR平台的C语言开发
💻 H
字号:
//mega8_0.h : header file for the mega8_0 project
//

#ifndef _MEGA8_0_H_
#define _MEGA8_0_H_

#ifndef __AVR_ATmega8__
#define __AVR_ATmega8__
#endif

#define __MCU_CLOCK_FREQUENCY__ _8.0000_MHz

#include <io.h>
#include <wdt.h>
#include <sleep.h>
#include <Interrupt.h>
#include <sig-avr.h>
#include <inttypes.h>

/////////////////////////////////////////////////////////////////////////////
//mega8_0
/*
void led(void);
void led_red(void);
*/
unsigned char get_k(void);
void shuma(void);
void led_out(unsigned char a);
SIGNAL(SIG_INTERRUPT0);


#endif

⌨️ 快捷键说明

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