87 RTC->TAR = alarm_time;
K60 clock configuration defines.
void rtc_stop(void)
Stop the RTC seconds counter.
#define SIM
Peripheral SIM base pointer.
void rtc_init(void)
Initialize the RTC hardware.
Board configuration defines for Mulle platform.
K60 hardware register header wrapper.
uint32_t rtc_time_get(void)
Get the current time.
void rtc_start(void)
Enable the RTC seconds counter.
#define RTC
Peripheral RTC base pointer.
void rtc_time_set(uint32_t seconds)
Set the time.
#define BOARD_RTC_LOAD_CAP_BITS
RTC crystal load capacitance configuration bits.
void rtc_alarm_set(uint32_t alarm_time)
Set alarm time.
#define BITBAND_REG(Reg, Bit)
Macro to access a single bit of a peripheral register (bit band region 0x40000000 to 0x400FFFFF) usin...