TianoCore EDK2 master
Loading...
Searching...
No Matches
PL031RealTimeClock.h File Reference

Go to the source code of this file.

Macros

#define PL031_RTC_DR_DATA_REGISTER   0x000
 
#define PL031_RTC_MR_MATCH_REGISTER   0x004
 
#define PL031_RTC_LR_LOAD_REGISTER   0x008
 
#define PL031_RTC_CR_CONTROL_REGISTER   0x00C
 
#define PL031_RTC_IMSC_IRQ_MASK_SET_CLEAR_REGISTER   0x010
 
#define PL031_RTC_RIS_RAW_IRQ_STATUS_REGISTER   0x014
 
#define PL031_RTC_MIS_MASKED_IRQ_STATUS_REGISTER   0x018
 
#define PL031_RTC_ICR_IRQ_CLEAR_REGISTER   0x01C
 
#define PL031_RTC_PERIPH_ID0   0xFE0
 
#define PL031_RTC_PERIPH_ID1   0xFE4
 
#define PL031_RTC_PERIPH_ID2   0xFE8
 
#define PL031_RTC_PERIPH_ID3   0xFEC
 
#define PL031_RTC_PCELL_ID0   0xFF0
 
#define PL031_RTC_PCELL_ID1   0xFF4
 
#define PL031_RTC_PCELL_ID2   0xFF8
 
#define PL031_RTC_PCELL_ID3   0xFFC
 
#define PL031_RTC_ENABLED   0x00000001
 
#define PL031_SET_IRQ_MASK   0x00000001
 
#define PL031_IRQ_TRIGGERED   0x00000001
 
#define PL031_CLEAR_IRQ   0x00000001
 
#define PL031_COUNTS_PER_SECOND   1
 

Detailed Description

Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PL031RealTimeClock.h.

Macro Definition Documentation

◆ PL031_CLEAR_IRQ

#define PL031_CLEAR_IRQ   0x00000001

Definition at line 34 of file PL031RealTimeClock.h.

◆ PL031_COUNTS_PER_SECOND

#define PL031_COUNTS_PER_SECOND   1

Definition at line 36 of file PL031RealTimeClock.h.

◆ PL031_IRQ_TRIGGERED

#define PL031_IRQ_TRIGGERED   0x00000001

Definition at line 33 of file PL031RealTimeClock.h.

◆ PL031_RTC_CR_CONTROL_REGISTER

#define PL031_RTC_CR_CONTROL_REGISTER   0x00C

Definition at line 16 of file PL031RealTimeClock.h.

◆ PL031_RTC_DR_DATA_REGISTER

#define PL031_RTC_DR_DATA_REGISTER   0x000

Definition at line 13 of file PL031RealTimeClock.h.

◆ PL031_RTC_ENABLED

#define PL031_RTC_ENABLED   0x00000001

Definition at line 31 of file PL031RealTimeClock.h.

◆ PL031_RTC_ICR_IRQ_CLEAR_REGISTER

#define PL031_RTC_ICR_IRQ_CLEAR_REGISTER   0x01C

Definition at line 20 of file PL031RealTimeClock.h.

◆ PL031_RTC_IMSC_IRQ_MASK_SET_CLEAR_REGISTER

#define PL031_RTC_IMSC_IRQ_MASK_SET_CLEAR_REGISTER   0x010

Definition at line 17 of file PL031RealTimeClock.h.

◆ PL031_RTC_LR_LOAD_REGISTER

#define PL031_RTC_LR_LOAD_REGISTER   0x008

Definition at line 15 of file PL031RealTimeClock.h.

◆ PL031_RTC_MIS_MASKED_IRQ_STATUS_REGISTER

#define PL031_RTC_MIS_MASKED_IRQ_STATUS_REGISTER   0x018

Definition at line 19 of file PL031RealTimeClock.h.

◆ PL031_RTC_MR_MATCH_REGISTER

#define PL031_RTC_MR_MATCH_REGISTER   0x004

Definition at line 14 of file PL031RealTimeClock.h.

◆ PL031_RTC_PCELL_ID0

#define PL031_RTC_PCELL_ID0   0xFF0

Definition at line 25 of file PL031RealTimeClock.h.

◆ PL031_RTC_PCELL_ID1

#define PL031_RTC_PCELL_ID1   0xFF4

Definition at line 26 of file PL031RealTimeClock.h.

◆ PL031_RTC_PCELL_ID2

#define PL031_RTC_PCELL_ID2   0xFF8

Definition at line 27 of file PL031RealTimeClock.h.

◆ PL031_RTC_PCELL_ID3

#define PL031_RTC_PCELL_ID3   0xFFC

Definition at line 28 of file PL031RealTimeClock.h.

◆ PL031_RTC_PERIPH_ID0

#define PL031_RTC_PERIPH_ID0   0xFE0

Definition at line 21 of file PL031RealTimeClock.h.

◆ PL031_RTC_PERIPH_ID1

#define PL031_RTC_PERIPH_ID1   0xFE4

Definition at line 22 of file PL031RealTimeClock.h.

◆ PL031_RTC_PERIPH_ID2

#define PL031_RTC_PERIPH_ID2   0xFE8

Definition at line 23 of file PL031RealTimeClock.h.

◆ PL031_RTC_PERIPH_ID3

#define PL031_RTC_PERIPH_ID3   0xFEC

Definition at line 24 of file PL031RealTimeClock.h.

◆ PL031_RTC_RIS_RAW_IRQ_STATUS_REGISTER

#define PL031_RTC_RIS_RAW_IRQ_STATUS_REGISTER   0x014

Definition at line 18 of file PL031RealTimeClock.h.

◆ PL031_SET_IRQ_MASK

#define PL031_SET_IRQ_MASK   0x00000001

Definition at line 32 of file PL031RealTimeClock.h.