OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Macros | |
#define | R_PCH_RTC_INDEX 0x70 |
#define | R_PCH_RTC_TARGET 0x71 |
#define | R_PCH_RTC_EXT_INDEX 0x72 |
#define | R_PCH_RTC_EXT_TARGET 0x73 |
#define | R_PCH_RTC_INDEX_ALT 0x74 |
#define | R_PCH_RTC_TARGET_ALT 0x75 |
#define | R_PCH_RTC_EXT_INDEX_ALT 0x76 |
#define | R_PCH_RTC_EXT_TARGET_ALT 0x77 |
#define | RTC_BANK_SIZE 0x80 |
#define | RTC_DATA_MASK 0x7F |
#define | RTC_NMI_MASK 0x80 |
#define | RTC_ADDRESS_SECONDS 0 |
#define | RTC_ADDRESS_SECONDS_ALARM 1 |
#define | RTC_ADDRESS_MINUTES 2 |
#define | RTC_ADDRESS_MINUTES_ALARM 3 |
#define | RTC_ADDRESS_HOURS 4 |
#define | RTC_ADDRESS_HOURS_ALARM 5 |
#define | RTC_ADDRESS_DAY_OF_THE_WEEK 6 |
#define | RTC_ADDRESS_DAY_OF_THE_MONTH 7 |
#define | RTC_ADDRESS_MONTH 8 |
#define | RTC_ADDRESS_YEAR 9 |
#define | RTC_ADDRESS_REGISTER_A 10 |
#define | RTC_ADDRESS_REGISTER_B 11 |
#define | RTC_ADDRESS_REGISTER_C 12 |
#define | RTC_ADDRESS_REGISTER_D 13 |
#define | RTC_UPDATE_IN_PROGRESS 0x80U |
OcRtcLib - library with RTC I/O functions
Copyright (c) 2020, vit9696
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file OcRtcLibInternal.h.
#define R_PCH_RTC_EXT_INDEX 0x72 |
Definition at line 27 of file OcRtcLibInternal.h.
#define R_PCH_RTC_EXT_INDEX_ALT 0x76 |
Definition at line 35 of file OcRtcLibInternal.h.
#define R_PCH_RTC_EXT_TARGET 0x73 |
Definition at line 28 of file OcRtcLibInternal.h.
#define R_PCH_RTC_EXT_TARGET_ALT 0x77 |
Definition at line 36 of file OcRtcLibInternal.h.
#define R_PCH_RTC_INDEX 0x70 |
Definition at line 25 of file OcRtcLibInternal.h.
#define R_PCH_RTC_INDEX_ALT 0x74 |
Definition at line 33 of file OcRtcLibInternal.h.
#define R_PCH_RTC_TARGET 0x71 |
Definition at line 26 of file OcRtcLibInternal.h.
#define R_PCH_RTC_TARGET_ALT 0x75 |
Definition at line 34 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_DAY_OF_THE_MONTH 7 |
Definition at line 59 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_DAY_OF_THE_WEEK 6 |
Definition at line 58 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_HOURS 4 |
Definition at line 56 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_HOURS_ALARM 5 |
Definition at line 57 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_MINUTES 2 |
Definition at line 54 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_MINUTES_ALARM 3 |
Definition at line 55 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_MONTH 8 |
Definition at line 60 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_REGISTER_A 10 |
Definition at line 62 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_REGISTER_B 11 |
Definition at line 63 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_REGISTER_C 12 |
Definition at line 64 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_REGISTER_D 13 |
Definition at line 65 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_SECONDS 0 |
Definition at line 52 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_SECONDS_ALARM 1 |
Definition at line 53 of file OcRtcLibInternal.h.
#define RTC_ADDRESS_YEAR 9 |
Definition at line 61 of file OcRtcLibInternal.h.
#define RTC_BANK_SIZE 0x80 |
Definition at line 41 of file OcRtcLibInternal.h.
#define RTC_DATA_MASK 0x7F |
Definition at line 46 of file OcRtcLibInternal.h.
#define RTC_NMI_MASK 0x80 |
Definition at line 47 of file OcRtcLibInternal.h.
#define RTC_UPDATE_IN_PROGRESS 0x80U |
Definition at line 70 of file OcRtcLibInternal.h.