Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
rtc.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /* asm-m68k/rtc.h
- *
- * Copyright Richard Zidlicky
- * implementation details for genrtc/q40rtc driver
- */
- /* permission is hereby granted to copy, modify and redistribute this code
- * in terms of the GNU Library General Public License, Version 2 or later,
- * at your option.
- */
- #ifndef _ASM_RTC_H
- #define _ASM_RTC_H
- #ifdef __KERNEL__
- #include <linux/config.h>
- #include <linux/rtc.h>
- #include <linux/delay.h>
- #include <asm/machdep.h>
- #define RTC_PIE 0x40 /* periodic interrupt enable */
- #define RTC_AIE 0x20 /* alarm interrupt enable */
- #define RTC_UIE 0x10 /* update-finished interrupt enable */
- extern void gen_rtc_interrupt(unsigned long);
- /* some dummy definitions */
- #define RTC_SQWE 0x08 /* enable square-wave output */
- #define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */
- #define RTC_24H 0x02 /* 24 hour mode - else hours bit 7 means pm */
- #define RTC_DST_EN 0x01 /* auto switch DST - works f. USA only */
- #endif /* __KERNEL__ */
- #endif /* _ASM__RTC_H */