File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ typedef void(*voidFuncPtr)(void);
29
29
class RTCZero {
30
30
public:
31
31
32
- enum Alarm_Match: uint8_t
32
+ enum Alarm_Match: uint8_t // Should we have this enum or just use the identifiers from /component/rtc.h ?
33
33
{
34
- MATCH_OFF = 0x00 ,
35
- MATCH_SS = 0x01 ,
36
- MATCH_MMSS = 0x02 ,
37
- MATCH_HHMMSS = 0x03 ,
38
- MATCH_DHHMMSS = 0x04 ,
39
- MATCH_MMDDHHMMSS = 0x05 ,
40
- MATCH_YYMMDDHHMMSS = 0x06
34
+ MATCH_OFF = RTC_MODE2_MASK_SEL_OFF_Val ,
35
+ MATCH_SS = RTC_MODE2_MASK_SEL_SS_Val ,
36
+ MATCH_MMSS = RTC_MODE2_MASK_SEL_MMSS_Val ,
37
+ MATCH_HHMMSS = RTC_MODE2_MASK_SEL_HHMMSS_Val ,
38
+ MATCH_DHHMMSS = RTC_MODE2_MASK_SEL_DDHHMMSS_Val ,
39
+ MATCH_MMDDHHMMSS = RTC_MODE2_MASK_SEL_MMDDHHMMSS_Val ,
40
+ MATCH_YYMMDDHHMMSS = RTC_MODE2_MASK_SEL_YYMMDDHHMMSS_Val
41
41
};
42
42
43
43
RTCZero () {};
You can’t perform that action at this time.
0 commit comments