cc430-rtc.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010, Freie Universitaet Berlin (FUB). All rights reserved.
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #ifndef CC430_RTC_H
10 #define CC430_RTC_H
11 #include "periph/rtc.h"
12 #include "time.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
34 typedef enum {
36  RTC_ALARM_MIN = 0x01,
37  RTC_ALARM_HOUR = 0x02,
38  RTC_ALARM_DOW = 0x04,
39  RTC_ALARM_DOM = 0x08
41 
45 void rtc_remove_alarm(void);
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* CC430_RTC_H */
Alarm disables.
Definition: cc430-rtc.h:35
Low-level RTC peripheral driver interface definitions.
void rtc_remove_alarm(void)
Resets any set alarm.
Alarm mask for Hours.
Definition: cc430-rtc.h:37
Alarm mask for Day of Month.
Definition: cc430-rtc.h:39
Alarm mask for Day of Week.
Definition: cc430-rtc.h:38
Alarm mask for Minutes.
Definition: cc430-rtc.h:36
rtc_alarm_mask_t
Mask for RTC alarms.
Definition: cc430-rtc.h:34