AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/ports/xplained/ASF/xmega/drivers/rtc32/rtc32.c
void rtc_set_time(uint32_t time)
{
    RTC32.CTRL = 0;

    while (rtc_is_busy());

    RTC32.CNT = time;
    RTC32.CTRL = RTC32_ENABLE_bm;
}
/**
 * \brief Set current time
 *
 * \param time Time value to set
 */
\brief Set current time
\param time Time value to set
\ brief Set current time \ param time Time value to set
void rtc_set_time(uint32_t time)
{
    RTC32.CTRL = 0;
    while (rtc_is_busy());
    RTC32.CNT = time;
    RTC32.CTRL = RTC32_ENABLE_bm;
}
void rtc_set_time ( uint32_t time ) { RTC32 . CTRL = 0 ; while ( rtc_is_busy ( ) ) ; RTC32 . CNT = time ; RTC32 . CTRL = RTC32_ENABLE_bm ; }
\brief Set current time
 \param time Time value to set
\ brief Set current time \ param time Time value to set