mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-19 00:55:37 -04:00
22 lines
412 B
C
22 lines
412 B
C
#ifndef __rtc_h__
|
|
#define __rtc_h__
|
|
|
|
|
|
void RTC_init( void );
|
|
void rtc_buf_reflesh( );
|
|
void set_rtc( u8 adrs, u8 data );
|
|
|
|
//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
|