pmic_rtc.h

来自「freescale i.mx31 BSP CE5.0全部源码」· C头文件 代码 · 共 34 行

H
34
字号
//------------------------------------------------------------------------------
//
//  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 + =
减小字号Ctrl + -
显示快捷键?