source: svn/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/asm/m48t35.h @ 26

Last change on this file since 26 was 26, checked in by phkim, 11 years ago
  1. phkim
  2. 서경방소에서 kctv 로고 변경
  • Property svn:executable set to *
File size: 509 bytes
Line 
1/*
2 *  Registers for the SGS-Thomson M48T35 Timekeeper RAM chip
3 */
4#ifndef _ASM_M48T35_H
5#define _ASM_M48T35_H
6
7
8extern spinlock_t rtc_lock;
9
10struct m48t35_rtc {
11        volatile __u8   pad[0x7ff8];    /* starts at 0x7ff8 */
12        volatile __u8   control;
13        volatile __u8   sec;
14        volatile __u8   min;
15        volatile __u8   hour;
16        volatile __u8   day;
17        volatile __u8   date;
18        volatile __u8   month;
19        volatile __u8   year;
20};
21
22#define M48T35_RTC_SET          0x80
23#define M48T35_RTC_STOPPED      0x80
24#define M48T35_RTC_READ         0x40
25
26#endif /* _ASM_M48T35_H */
Note: See TracBrowser for help on using the repository browser.