ctr_mcu/branches/0.18(sdk_0_10)/rtc.h
N2614 1c8be29949 0.18_beta(sdk0_10)
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@182 013db118-44a6-b54f-8bf7-843cb86687b1
2010-05-28 08:43:58 +00:00

22 lines
396 B
C

#ifndef __rtc_h__
#define __rtc_h__
void RTC_init( void );
void rtc_buf_reflesh( );
void set_rtc( );
//task_status_immed tski_rtc_close();
void rtc_unlock( );
// ------------------------------------
#define RTC_32k_on() { RCLOE0 = 1; }
#define RTC_32k_off() { RCLOE0 = 0; }
// ------------------------------------
extern bit rtc_alarm_dirty;
#endif