70 #define RTC_Busy() ( RTC.STATUS & RTC_SYNCBUSY_bm )
76 #define RTC_GetOverflowFlag() ( RTC.INTFLAGS & RTC_OVFIF_bm )
82 #define RTC_GetCompareFlag() ( RTC.INTFLAGS & RTC_COMPIF_bm )
93 #define RTC_SetCount( _rtccnt ) ( RTC.CNT = (_rtccnt) )
101 #define RTC_GetCount() ( RTC.CNT )
112 #define RTC_SetPeriod( _rtcper ) ( RTC.PER = (_rtcper) )
120 #define RTC_GetPeriod() ( RTC.PER )
132 #define RTC_SetCompareValue( _cmpVal ) ( RTC.COMP = (_cmpVal) )
141 #define RTC_GetCompareValue() ( RTC.COMP )
148 uint16_t compareValue,
149 RTC_PRESCALER_t prescaler);
150 void RTC_SetOverflowIntLevel( RTC_OVFINTLVL_t intLevel );
151 void RTC_SetCompareIntLevel( RTC_COMPINTLVL_t intLevel );
153 RTC_COMPINTLVL_t compIntLevel );
154 void RTC_SetAlarm( uint16_t alarmTimeout );
155 void RTC_SetPrescaler( RTC_PRESCALER_t prescaler );