f53x_linsnooper_timer.h
来自「8051试验程序 基础教材」· C头文件 代码 · 共 62 行
H
62 行
//-----------------------------------------------------------------------------
// F53x_Timer.h
//-----------------------------------------------------------------------------
// Copyright 2006 Silicon Laboratories, Inc.
// http://www.silabs.com
//
// Program Description:
//
// Header file with function prototypes relevant to F53x_Timer.c
//
// FID:
// Target: C8051F53x
// Tool chain: KEIL C51 7.20
// Command Line: None
// Project Name: LIN Snooper
//
// Release 1.0
// -Initial Revision
// -01 NOV 2006
//
//
//-----------------------------------------------------------------------------
// Header File Preprocessor Directive
//-----------------------------------------------------------------------------
#ifndef __TIMER_H__
#define __TIMER_H__
//-----------------------------------------------------------------------------
// Constant Definitions
//-----------------------------------------------------------------------------
#ifndef SYSCLK
#define SYSCLK 24500000L // System clock in Hz
#endif
//-----------------------------------------------------------------------------
// Function Prototypes
//-----------------------------------------------------------------------------
#ifdef F53x_TIMERS_SOURCE
void Timer1_Initialize(void);
void Timer2_Initialize(void);
void Timer2_ISR(void);
#else
extern void Timer1_Initialize(void);
extern void Timer2_Initialize(void);
extern __interrupt void Timer2_ISR(void);
extern uchar STATUS_FLAG;
extern uchar TIMEOUT;
#endif // endif definition of F53x_TIMERS_SOURCE
#endif // endif definition of __TIMER_H__
//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?