Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs-rtc.h File Reference
#include <mach/hardware.h>

Go to the source code of this file.

Macros

#define RCNR   __REG(0x40900000) /* RTC Count Register */
 
#define RTAR   __REG(0x40900004) /* RTC Alarm Register */
 
#define RTSR   __REG(0x40900008) /* RTC Status Register */
 
#define RTTR   __REG(0x4090000C) /* RTC Timer Trim Register */
 
#define PIAR   __REG(0x40900038) /* Periodic Interrupt Alarm Register */
 
#define RTSR_PICE   (1 << 15) /* Periodic interrupt count enable */
 
#define RTSR_PIALE   (1 << 14) /* Periodic interrupt Alarm enable */
 
#define RTSR_HZE   (1 << 3) /* HZ interrupt enable */
 
#define RTSR_ALE   (1 << 2) /* RTC alarm interrupt enable */
 
#define RTSR_HZ   (1 << 1) /* HZ rising-edge detected */
 
#define RTSR_AL   (1 << 0) /* RTC alarm detected */
 

Macro Definition Documentation

#define PIAR   __REG(0x40900038) /* Periodic Interrupt Alarm Register */

Definition at line 14 of file regs-rtc.h.

#define RCNR   __REG(0x40900000) /* RTC Count Register */

Definition at line 10 of file regs-rtc.h.

#define RTAR   __REG(0x40900004) /* RTC Alarm Register */

Definition at line 11 of file regs-rtc.h.

#define RTSR   __REG(0x40900008) /* RTC Status Register */

Definition at line 12 of file regs-rtc.h.

#define RTSR_AL   (1 << 0) /* RTC alarm detected */

Definition at line 21 of file regs-rtc.h.

#define RTSR_ALE   (1 << 2) /* RTC alarm interrupt enable */

Definition at line 19 of file regs-rtc.h.

#define RTSR_HZ   (1 << 1) /* HZ rising-edge detected */

Definition at line 20 of file regs-rtc.h.

#define RTSR_HZE   (1 << 3) /* HZ interrupt enable */

Definition at line 18 of file regs-rtc.h.

#define RTSR_PIALE   (1 << 14) /* Periodic interrupt Alarm enable */

Definition at line 17 of file regs-rtc.h.

#define RTSR_PICE   (1 << 15) /* Periodic interrupt count enable */

Definition at line 16 of file regs-rtc.h.

#define RTTR   __REG(0x4090000C) /* RTC Timer Trim Register */

Definition at line 13 of file regs-rtc.h.