Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
rtc.h File Reference
#include <linux/mc146818rtc.h>
#include <linux/rtc.h>
#include <linux/bcd.h>
#include <linux/delay.h>

Go to the source code of this file.

Macros

#define RTC_PIE   0x40 /* periodic interrupt enable */
 
#define RTC_AIE   0x20 /* alarm interrupt enable */
 
#define RTC_UIE   0x10 /* update-finished interrupt enable */
 
#define RTC_BATT_BAD   0x100 /* battery bad */
 
#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 */
 
#define get_rtc_time   __get_rtc_time
 
#define set_rtc_time   __set_rtc_time
 

Macro Definition Documentation

#define get_rtc_time   __get_rtc_time

Definition at line 112 of file rtc.h.

#define RTC_24H   0x02 /* 24 hour mode - else hours bit 7 means pm */

Definition at line 28 of file rtc.h.

#define RTC_AIE   0x20 /* alarm interrupt enable */

Definition at line 21 of file rtc.h.

#define RTC_BATT_BAD   0x100 /* battery bad */

Definition at line 25 of file rtc.h.

#define RTC_DM_BINARY   0x04 /* all time/date values are BCD if clear */

Definition at line 27 of file rtc.h.

#define RTC_DST_EN   0x01 /* auto switch DST - works f. USA only */

Definition at line 29 of file rtc.h.

#define RTC_PIE   0x40 /* periodic interrupt enable */

Definition at line 20 of file rtc.h.

#define RTC_SQWE   0x08 /* enable square-wave output */

Definition at line 26 of file rtc.h.

#define RTC_UIE   0x10 /* update-finished interrupt enable */

Definition at line 22 of file rtc.h.

#define set_rtc_time   __set_rtc_time

Definition at line 198 of file rtc.h.