linux/include/linux/rtc/ds1286.h

/*
 * Copyright (C) 1998, 1999, 2003 Ralf Baechle
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 */
#ifndef __LINUX_DS1286_H
#define __LINUX_DS1286_H

/**********************************************************************
 * register summary
 **********************************************************************/
#define RTC_HUNDREDTH_SECOND
#define RTC_SECONDS
#define RTC_MINUTES
#define RTC_MINUTES_ALARM
#define RTC_HOURS
#define RTC_HOURS_ALARM
#define RTC_DAY
#define RTC_DAY_ALARM
#define RTC_DATE
#define RTC_MONTH
#define RTC_YEAR
#define RTC_CMD
#define RTC_WHSEC
#define RTC_WSEC
#define RTC_UNUSED

/* RTC_*_alarm is always true if 2 MSBs are set */
#define RTC_ALARM_DONT_CARE


/*
 * Bits in the month register
 */
#define RTC_EOSC
#define RTC_ESQW

/*
 * Bits in the Command register
 */
#define RTC_TDF
#define RTC_WAF
#define RTC_TDM
#define RTC_WAM
#define RTC_PU_LVL
#define RTC_IBH_LO
#define RTC_IPSW
#define RTC_TE

#endif /* __LINUX_DS1286_H */