Loading...
Searching...
No Matches
Go to the documentation of this file.
9#ifndef __PL031_REAL_TIME_CLOCK_H__
10#define __PL031_REAL_TIME_CLOCK_H__
13#define PL031_RTC_DR_DATA_REGISTER 0x000
14#define PL031_RTC_MR_MATCH_REGISTER 0x004
15#define PL031_RTC_LR_LOAD_REGISTER 0x008
16#define PL031_RTC_CR_CONTROL_REGISTER 0x00C
17#define PL031_RTC_IMSC_IRQ_MASK_SET_CLEAR_REGISTER 0x010
18#define PL031_RTC_RIS_RAW_IRQ_STATUS_REGISTER 0x014
19#define PL031_RTC_MIS_MASKED_IRQ_STATUS_REGISTER 0x018
20#define PL031_RTC_ICR_IRQ_CLEAR_REGISTER 0x01C
21#define PL031_RTC_PERIPH_ID0 0xFE0
22#define PL031_RTC_PERIPH_ID1 0xFE4
23#define PL031_RTC_PERIPH_ID2 0xFE8
24#define PL031_RTC_PERIPH_ID3 0xFEC
25#define PL031_RTC_PCELL_ID0 0xFF0
26#define PL031_RTC_PCELL_ID1 0xFF4
27#define PL031_RTC_PCELL_ID2 0xFF8
28#define PL031_RTC_PCELL_ID3 0xFFC
31#define PL031_RTC_ENABLED 0x00000001
32#define PL031_SET_IRQ_MASK 0x00000001
33#define PL031_IRQ_TRIGGERED 0x00000001
34#define PL031_CLEAR_IRQ 0x00000001
36#define PL031_COUNTS_PER_SECOND 1