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

📄 runtime.h

📁 里面给出了ATmega103单片机编程的C语言实例程序
💻 H
字号:
/*  ATmega603 runtime.h File

   Author : Robert Stuart
   Company : PDL Industries Ltd
   Date of Creation : 26 August 1999
*/

/* includes */
#include <iom103.h>
#include "logic.h"
#include "ports.h"

/* Interrupt vector for overflow on Timer1 */
#pragma interrupt_handler RuntimeInterrupt:15

/* External Prototypes */
extern void ReadButtons( void ); 		/* buttons.c */
extern void DelayLCDStartup( void );		/* lcd.c */
extern void LCDPrintf( char *, char * );	/* lcd.c */
extern void CheckPower( void );   		/* power.c */

/* External Variables */
extern const char *Calender[];

extern struct TimeStruct
{
  unsigned char Second;   		/* Current time, day, month, and year */
  unsigned char Minute;
  unsigned char Hour;
  unsigned char Day;
  unsigned char Month;
  unsigned int Year;
} Time;

/* Local prototypes */
void RefreshImportantRegisters( void );
void WriteLCDMessage( void );
void SampleADC( void );

⌨️ 快捷键说明

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