mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-19 00:55:37 -04:00

既知の不具合 Vol値が突然不正になることがある。ADCの値がおかしい。 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@3 013db118-44a6-b54f-8bf7-843cb86687b1
21 lines
331 B
C
21 lines
331 B
C
#ifndef __rtc_h__
|
|
#define __rtc_h__
|
|
|
|
|
|
/*-------------------------------*/
|
|
void RTC_init(void);
|
|
__interrupt void int_rtc_int();
|
|
void get_rtc();
|
|
void set_rtc();
|
|
|
|
void rtc_close_iic();
|
|
|
|
|
|
/*-------------------------------*/
|
|
#define RTC_32k_on() { RCLOE0 = 1; }
|
|
|
|
|
|
|
|
/*-------------------------------*/
|
|
#endif
|