mirror of
https://github.com/google/pebble.git
synced 2025-07-04 22:00:38 -04:00
33 lines
1.5 KiB
C
33 lines
1.5 KiB
C
/*
|
|
* Copyright 2024 Google LLC
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define RTC_BKP_BOOTBIT_DR RTC_BKP_DR0
|
|
#define STUCK_BUTTON_REGISTER RTC_BKP_DR1
|
|
#define BOOTLOADER_VERSION_REGISTER RTC_BKP_DR2
|
|
#define CURRENT_TIME_REGISTER RTC_BKP_DR3
|
|
#define CURRENT_INTERVAL_TICKS_REGISTER RTC_BKP_DR4
|
|
#define REBOOT_REASON_REGISTER_1 RTC_BKP_DR5
|
|
#define REBOOT_REASON_REGISTER_2 RTC_BKP_DR6
|
|
#define REBOOT_REASON_STUCK_TASK_PC RTC_BKP_DR7
|
|
#define REBOOT_REASON_STUCK_TASK_LR RTC_BKP_DR8
|
|
#define REBOOT_REASON_STUCK_TASK_CALLBACK RTC_BKP_DR9
|
|
#define REBOOT_REASON_MUTEX_LR RTC_BKP_DR10 // Now REBOOT_REASON_DROPPED_EVENT
|
|
#define REBOOT_REASON_MUTEX_PC RTC_BKP_DR11 // Deprecated
|
|
#define MAG_XY_CORRECTION_VALS RTC_BKP_DR17
|
|
#define MAG_Z_CORRECTION_VAL RTC_BKP_DR18
|
|
#define SLOT_OF_LAST_LAUNCHED_APP RTC_BKP_DR19
|