/************************************************************************** * * Copyright (c) 2019-2019 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file RTC.h * * @date 27-NOV-2019 * @author D. Navaei * * @brief RTC header file. * **************************************************************************/ #ifndef _RTC_H_ #define _RTC_H_ #include "Common.h" void initRTC(); void execRTC(); void setRTCTimestamp( U08 secs, U08 mins, U08 hours, U08 days, U08 months, U16 years ); U32 getRTCTimestamp(); SELF_TEST_STATUS_T execRTCSelfTest(); void writeToRAM( U16 address, U16* data, U32 length ); void readFromRAM( U16 address, U32 length ); U16* getDataFromRAM( U16 address, U32 length ); #endif