~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/unicore32/include/mach/regs-rtc.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * PKUnity Real-Time Clock (RTC) control registers
 
3
 */
 
4
/*
 
5
 * RTC Alarm Reg RTC_RTAR
 
6
 */
 
7
#define RTC_RTAR        (PKUNITY_RTC_BASE + 0x0000)
 
8
/*
 
9
 * RTC Count Reg RTC_RCNR
 
10
 */
 
11
#define RTC_RCNR        (PKUNITY_RTC_BASE + 0x0004)
 
12
/*
 
13
 * RTC Trim Reg RTC_RTTR
 
14
 */
 
15
#define RTC_RTTR        (PKUNITY_RTC_BASE + 0x0008)
 
16
/*
 
17
 * RTC Status Reg RTC_RTSR
 
18
 */
 
19
#define RTC_RTSR        (PKUNITY_RTC_BASE + 0x0010)
 
20
 
 
21
/*
 
22
 * ALarm detected RTC_RTSR_AL
 
23
 */
 
24
#define RTC_RTSR_AL             FIELD(1, 1, 0)
 
25
/*
 
26
 * 1 Hz clock detected RTC_RTSR_HZ
 
27
 */
 
28
#define RTC_RTSR_HZ             FIELD(1, 1, 1)
 
29
/*
 
30
 * ALarm interrupt Enable RTC_RTSR_ALE
 
31
 */
 
32
#define RTC_RTSR_ALE            FIELD(1, 1, 2)
 
33
/*
 
34
 * 1 Hz clock interrupt Enable RTC_RTSR_HZE
 
35
 */
 
36
#define RTC_RTSR_HZE            FIELD(1, 1, 3)
 
37