📄 pmic_rtc.h
字号:
//------------------------------------------------------------------------------
//
// Copyright (C) 2005, Motorola Inc. All Rights Reserved
//
//------------------------------------------------------------------------------
//
// Header: PMIC_RTC.h
//
// This header file defines the Linear Regulator Register of MC13783 PMIC
//
//------------------------------------------------------------------------------
#ifndef __REGS_RTC_H__
#define __REGS_RTC_H__
#include "pmic_basic_types.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef void (FAR PASCAL *RTC_ALARM_CB)(void);
static BOOL bTODalarmTerminate;
// Function Prototypes
PMIC_STATUS pmicRTCSetSystemTime(SYSTEMTIME* lpSystemTime);
PMIC_STATUS pmicRTCGetSystemTime(SYSTEMTIME* lpSystemTime);
PMIC_STATUS pmicRTCSetAlarmTime(SYSTEMTIME* lpAlarmTime);
PMIC_STATUS pmicRTCGetAlarmTime(SYSTEMTIME* lpAlarmTime);
PMIC_STATUS pmicRTCRegisterAlarmCallback(RTC_ALARM_CB alarmCB);
PMIC_STATUS pmicRTCCancelAlarm();
#ifdef __cplusplus
}
#endif
#endif // __REGS_REGULATOR_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -