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

📄 rtc.h

📁 矿工定位系统单端
💻 H
字号:
//rtc.h - code recommendation for C header file
/***********************************************************************
MODULE:    Real Time Clock
VERSION:   1.00
CONTAINS:  Routines for controlling the Real Time Clock/System Timer
           on the Philips P89LPC932
COPYRIGHT: Embedded Systems Academy, Inc. - www.esacademy.com
LICENSE:   May be freely used in commercial and non-commercial code
           without royalties provided this copyright notice remains
           in this file and unaltered
WARNING:   IF THIS FILE IS REGENERATED BY CODE ARCHITECT ANY CHANGES
           MADE WILL BE LOST. WHERE POSSIBLE USE ONLY CODE ARCHITECT
           TO CHANGE THE CONTENTS OF THIS FILE
GENERATED: On "Feb 24 2004" at "16:21:01" by Code Architect 2.03
***********************************************************************/

#ifndef _RTCH_
#define _RTCH_

/***********************************************************************
DESC:    Initializes the Real Time Clock and starts it running
         Generates an interrupt every 1.997ms
         Clock source: CPU Clock at 7.3728 MHz
RETURNS: Nothing
CAUTION: Set EA to 1 to enable interrupts
************************************************************************/
extern void rtc_init
  (
  void
  );

/***********************************************************************
DESC:    Starts the Real Time Clock
RETURNS: Nothing
CAUTION: rtc_init must be called first
************************************************************************/
extern void rtc_start
  (
  void
  );

/***********************************************************************
DESC:    Stops the Real Time Clock
RETURNS: Nothing
CAUTION: rtc_init must be called first
************************************************************************/
extern void rtc_stop
  (
  void
  );

#endif // _RTCH_

⌨️ 快捷键说明

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