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

📄 ds1744rtc.h

📁 MPC826X挂接实时时钟芯片DS1744的驱动
💻 H
字号:
/* ds1744Rtc.h - Dallas Semiconductor 1744 RTC Real Time Clock header *//* Copyright 2002 Wind River Systems, Inc. *//*modification history--------------------01a,16apr02,rab  written.*/#ifndef __INCds1744Rtch#define __INCds1744Rtch#ifdef __cplusplusextern "C" {#endif#ifndef _ASMLANGUAGE/* register offsets */#define DS1744_RTC_CENTURY      0x7ff8#define DS1744_RTC_SEC      0x7ff9#define DS1744_RTC_MIN      0x7ffa#define DS1744_RTC_HOUR     0x7ffb#define DS1744_RTC_DAY_OF_WK    0x7ffc#define     DS1744_RTC_DAY_OF_MN    0x7ffd#define DS1744_RTC_MONTH    0x7ffe#define     DS1744_RTC_YEAR     0x7fff#define DS1744_BIT_OSC      0x80#define DS1744_BIT_RED      0x40#define DS1744_BIT_WRT      0x80#endif  /* _ASMLANGUAGE */STATUS sysRtcGet ( struct tm *tm);STATUS sysRtcSet ( struct tm *tm);STATUS sysRtcInit ( void);void sysRtcShutdown(void);#ifdef __cplusplus}#endif#endif /* __INCds1744Rtch */

⌨️ 快捷键说明

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