2
* Copyright (C) 1998, 1999, 2003 Ralf Baechle
4
* This file is subject to the terms and conditions of the GNU General Public
5
* License. See the file "COPYING" in the main directory of this archive
8
#ifndef __LINUX_DS1286_H
9
#define __LINUX_DS1286_H
11
/**********************************************************************
13
**********************************************************************/
14
#define RTC_HUNDREDTH_SECOND 0
17
#define RTC_MINUTES_ALARM 3
19
#define RTC_HOURS_ALARM 5
21
#define RTC_DAY_ALARM 7
30
/* RTC_*_alarm is always true if 2 MSBs are set */
31
# define RTC_ALARM_DONT_CARE 0xC0
35
* Bits in the month register
41
* Bits in the Command register
47
#define RTC_PU_LVL 0x10
48
#define RTC_IBH_LO 0x20
52
#endif /* __LINUX_DS1286_H */