예제 #1
0
/**
 * Start chip if available
 */
bool rtc6705Init()
{
    DISABLE_RTC6705;
    spiSetDivisor(RTC6705_SPI_INSTANCE, SPI_0_5625MHZ_CLOCK_DIVIDER);
    return rtc6705IsReady();
}
예제 #2
0
/**
 * Start chip if available
 */
bool rtc6705Init(void)
{
    DISABLE_RTC6705;
    spiSetDivisor(RTC6705_SPI_INSTANCE, SPI_CLOCK_SLOW);
    return rtc6705IsReady();
}