MSPM0G1X0X_G3X0X Driver Library  2.05.01.00
dl_rtc.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 /*!****************************************************************************
33  * @file dl_rtc.h
34  * @brief Real Time Clock (RTC) Peripheral Interface
35  * @defgroup RTC Real Time Clock (RTC)
36  *
37  * @anchor ti_devices_msp_dl_rtc_Overview
38  * # Overview
39  * The RTC Driver Library allows full configuration of the MSPM0 RTC module.
40  * The real-time clock (RTC) module provides clock counters with calendar mode,
41  * a flexible programmable alarm, offset calibration, and a provision for
42  * temperature compensation.
43  *
44  * <hr>
45  ******************************************************************************
46  */
50 #ifndef ti_dl_dl_rtc__include
51 #define ti_dl_dl_rtc__include
52 
54 
55 #ifdef __MSPM0_HAS_RTC__
56 
57 #ifdef __cplusplus
58 extern "C" {
59 #endif
60 
61 /* clang-format off */
62 
68 
74 
78 #define DL_RTC_FORMAT_BINARY DL_RTC_COMMON_FORMAT_BINARY
79 
83 #define DL_RTC_FORMAT_BCD DL_RTC_COMMON_FORMAT_BCD
84 
88 #define DL_RTC_STATUS_READY DL_RTC_COMMON_STATUS_READY
89 
93 #define DL_RTC_STATUS_NOT_READY DL_RTC_COMMON_STATUS_NOT_READY
94 
98 #define DL_RTC_COMPENSATION_STATUS_READY DL_RTC_COMMON_COMPENSATION_STATUS_READY
99 
103 #define DL_RTC_COMPENSATION_STATUS_NOT_READY DL_RTC_COMMON_COMPENSATION_STATUS_NOT_READY
104 
108 #define DL_RTC_COMPENSATION_WRITE_RESULT_OK DL_RTC_COMMON_COMPENSATION_WRITE_RESULT_OK
109 
113 #define DL_RTC_COMPENSATION_WRITE_RESULT_NOT_OK DL_RTC_COMMON_COMPENSATION_WRITE_RESULT_NOT_OK
114 
118 #define DL_RTC_OFFSET_CALIBRATION_SIGN_DOWN DL_RTC_COMMON_OFFSET_CALIBRATION_SIGN_DOWN
119 
123 #define DL_RTC_OFFSET_CALIBRATION_SIGN_UP DL_RTC_COMMON_OFFSET_CALIBRATION_SIGN_UP
124 
128 #define DL_RTC_OFFSET_CALIBRATION_FREQUENCY_OFF DL_RTC_COMMON_OFFSET_CALIBRATION_FREQUENCY_OFF
129 
133 #define DL_RTC_OFFSET_CALIBRATION_FREQUENCY_512 DL_RTC_COMMON_OFFSET_CALIBRATION_FREQUENCY_512
134 
138 #define DL_RTC_OFFSET_CALIBRATION_FREQUENCY_256 DL_RTC_COMMON_OFFSET_CALIBRATION_FREQUENCY_256
139 
143 #define DL_RTC_OFFSET_CALIBRATION_FREQUENCY_1 DL_RTC_COMMON_OFFSET_CALIBRATION_FREQUENCY_1
144 
148 #define DL_RTC_TEMP_CALIBRATION_DOWN1PPM DL_RTC_COMMON_TEMP_CALIBRATION_DOWN1PPM
149 
153 #define DL_RTC_TEMP_CALIBRATION_UP1PPM DL_RTC_COMMON_TEMP_CALIBRATION_UP1PPM
154 
158 #define DL_RTC_INTERVAL_ALARM_MINUTECHANGE DL_RTC_COMMON_INTERVAL_ALARM_MINUTECHANGE
159 
163 #define DL_RTC_INTERVAL_ALARM_HOURCHANGE DL_RTC_COMMON_INTERVAL_ALARM_HOURCHANGE
164 
168 #define DL_RTC_INTERVAL_ALARM_NOON DL_RTC_COMMON_INTERVAL_ALARM_NOON
169 
173 #define DL_RTC_INTERVAL_ALARM_MIDNIGHT DL_RTC_COMMON_INTERVAL_ALARM_MIDNIGHT
174 
178 #define DL_RTC_PRESCALER0_DIVIDE_8 DL_RTC_COMMON_PRESCALER0_DIVIDE_8
179 
183 #define DL_RTC_PRESCALER0_DIVIDE_16 DL_RTC_COMMON_PRESCALER0_DIVIDE_16
184 
188 #define DL_RTC_PRESCALER0_DIVIDE_32 DL_RTC_COMMON_PRESCALER0_DIVIDE_32
189 
193 #define DL_RTC_PRESCALER0_DIVIDE_64 DL_RTC_COMMON_PRESCALER0_DIVIDE_64
194 
198 #define DL_RTC_PRESCALER0_DIVIDE_128 DL_RTC_COMMON_PRESCALER0_DIVIDE_128
199 
203 #define DL_RTC_PRESCALER0_DIVIDE_256 DL_RTC_COMMON_PRESCALER0_DIVIDE_256
204 
208 #define DL_RTC_PRESCALER1_DIVIDE_2 DL_RTC_COMMON_PRESCALER1_DIVIDE_2
209 
213 #define DL_RTC_PRESCALER1_DIVIDE_4 DL_RTC_COMMON_PRESCALER1_DIVIDE_4
214 
218 #define DL_RTC_PRESCALER1_DIVIDE_8 DL_RTC_COMMON_PRESCALER1_DIVIDE_8
219 
223 #define DL_RTC_PRESCALER1_DIVIDE_16 DL_RTC_COMMON_PRESCALER1_DIVIDE_16
224 
228 #define DL_RTC_PRESCALER1_DIVIDE_32 DL_RTC_COMMON_PRESCALER1_DIVIDE_32
229 
233 #define DL_RTC_PRESCALER1_DIVIDE_64 DL_RTC_COMMON_PRESCALER1_DIVIDE_64
234 
238 #define DL_RTC_PRESCALER1_DIVIDE_128 DL_RTC_COMMON_PRESCALER1_DIVIDE_128
239 
243 #define DL_RTC_PRESCALER1_DIVIDE_256 DL_RTC_COMMON_PRESCALER1_DIVIDE_256
244 
248 #define DL_RTC_IIDX_ALARM1 DL_RTC_COMMON_IIDX_ALARM1
249 
253 #define DL_RTC_IIDX_ALARM2 DL_RTC_COMMON_IIDX_ALARM2
254 
258 #define DL_RTC_IIDX_PRESCALER0 DL_RTC_COMMON_IIDX_PRESCALER0
259 
263 #define DL_RTC_IIDX_PRESCALER1 DL_RTC_COMMON_IIDX_PRESCALER1
264 
268 #define DL_RTC_IIDX_INTERVAL_TIMER DL_RTC_COMMON_IIDX_INTERVAL_TIMER
269 
273 #define DL_RTC_IIDX_READY DL_RTC_COMMON_IIDX_READY
274 
282 #define DL_RTC_INTERRUPT_CALENDAR_ALARM1 DL_RTC_COMMON_INTERRUPT_CALENDAR_ALARM1
283 
287 #define DL_RTC_INTERRUPT_CALENDAR_ALARM2 DL_RTC_COMMON_INTERRUPT_CALENDAR_ALARM2
288 
292 #define DL_RTC_INTERRUPT_PRESCALER0 DL_RTC_COMMON_INTERRUPT_PRESCALER0
293 
297 #define DL_RTC_INTERRUPT_PRESCALER1 DL_RTC_COMMON_INTERRUPT_PRESCALER1
298 
302 #define DL_RTC_INTERRUPT_INTERVAL_ALARM DL_RTC_COMMON_INTERRUPT_INTERVAL_ALARM
303 
307 #define DL_RTC_INTERRUPT_READY DL_RTC_COMMON_INTERRUPT_READY
308 
318 #define DL_RTC_EVENT_CALENDAR_ALARM1 DL_RTC_COMMON_EVENT_CALENDAR_ALARM1
319 
323 #define DL_RTC_EVENT_CALENDAR_ALARM2 DL_RTC_COMMON_EVENT_CALENDAR_ALARM2
324 
328 #define DL_RTC_EVENT_PRESCALER0 DL_RTC_COMMON_EVENT_PRESCALER0
329 
333 #define DL_RTC_EVENT_PRESCALER1 DL_RTC_COMMON_EVENT_PRESCALER1
334 
338 #define DL_RTC_EVENT_INTERVAL_ALARM DL_RTC_COMMON_EVENT_INTERVAL_ALARM
339 
343 #define DL_RTC_EVENT_READY DL_RTC_COMMON_EVENT_READY
344 
350 #define DL_RTC_enablePower DL_RTC_Common_enablePower
351 
355 #define DL_RTC_disablePower DL_RTC_Common_disablePower
356 
360 #define DL_RTC_isPowerEnabled DL_RTC_Common_isPowerEnabled
361 
365 #define DL_RTC_reset DL_RTC_Common_reset
366 
370 #define DL_RTC_isReset DL_RTC_Common_isReset
371 
375 #define DL_RTC_enableClockControl DL_RTC_Common_enableClockControl
376 
380 #define DL_RTC_disableClockControl DL_RTC_Common_disableClockControl
381 
385 #define DL_RTC_enableDebugInterrupts DL_RTC_Common_enableDebugInterrupts
386 
390 #define DL_RTC_disableDebugInterrupts DL_RTC_Common_disableDebugInterrupts
391 
395 #define DL_RTC_enableDebugMode DL_RTC_Common_enableDebugMode
396 
400 #define DL_RTC_disableDebugMode DL_RTC_Common_disableDebugMode
401 
405 #define DL_RTC_setClockFormat DL_RTC_Common_setClockFormat
406 
410 #define DL_RTC_getClockFormat DL_RTC_Common_getClockFormat
411 
415 #define DL_RTC_setIntervalAlarm DL_RTC_Common_setIntervalAlarm
416 
420 #define DL_RTC_getIntervalAlarm DL_RTC_Common_getIntervalAlarm
421 
425 #define DL_RTC_isSafeToRead DL_RTC_Common_isSafeToRead
426 
430 #define DL_RTC_isReadyToCalibrate DL_RTC_Common_isReadyToCalibrate
431 
435 #define DL_RTC_isCalibrationWriteResultOK DL_RTC_Common_isCalibrationWriteResultOK
436 
440 #define DL_RTC_setOffsetCalibrationFrequency DL_RTC_Common_setOffsetCalibrationFrequency
441 
445 #define DL_RTC_setOffsetCalibrationAdjValue DL_RTC_Common_setOffsetCalibrationAdjValue
446 
450 #define DL_RTC_setOffsetCalibration DL_RTC_Common_setOffsetCalibration
451 
455 #define DL_RTC_getOffsetCalibrationFrequency DL_RTC_Common_getOffsetCalibrationFrequency
456 
460 #define DL_RTC_getOffsetCalibrationSign DL_RTC_Common_getOffsetCalibrationSign
461 
465 #define DL_RTC_setTemperatureCompensation DL_RTC_Common_setTemperatureCompensation
466 
470 #define DL_RTC_getTemperatureCompensation DL_RTC_Common_getTemperatureCompensation
471 
475 #define DL_RTC_setCalendarSecondsBCD DL_RTC_Common_setCalendarSecondsBCD
476 
480 #define DL_RTC_getCalendarSecondsBCD DL_RTC_Common_getCalendarSecondsBCD
481 
485 #define DL_RTC_setCalendarMinutesBCD DL_RTC_Common_setCalendarMinutesBCD
486 
490 #define DL_RTC_getCalendarMinutesBCD DL_RTC_Common_getCalendarMinutesBCD
491 
495 #define DL_RTC_setCalendarHoursBCD DL_RTC_Common_setCalendarHoursBCD
496 
500 #define DL_RTC_getCalendarHoursBCD DL_RTC_Common_getCalendarHoursBCD
501 
505 #define DL_RTC_setCalendarDayOfWeekBCD DL_RTC_Common_setCalendarDayOfWeekBCD
506 
510 #define DL_RTC_getCalendarDayOfWeekBCD DL_RTC_Common_getCalendarDayOfWeekBCD
511 
515 #define DL_RTC_setCalendarDayOfMonthBCD DL_RTC_Common_setCalendarDayOfMonthBCD
516 
520 #define DL_RTC_getCalendarDayOfMonthBCD DL_RTC_Common_getCalendarDayOfMonthBCD
521 
525 #define DL_RTC_setCalendarMonthBCD DL_RTC_Common_setCalendarMonthBCD
526 
530 #define DL_RTC_getCalendarMonthBCD DL_RTC_Common_getCalendarMonthBCD
531 
535 #define DL_RTC_setCalendarYearBCD DL_RTC_Common_setCalendarYearBCD
536 
540 #define DL_RTC_getCalendarYearBCD DL_RTC_Common_getCalendarYearBCD
541 
545 #define DL_RTC_enableAlarm1MinutesBCD DL_RTC_Common_enableAlarm1MinutesBCD
546 
550 #define DL_RTC_disableAlarm1MinutesBCD DL_RTC_Common_disableAlarm1MinutesBCD
551 
555 #define DL_RTC_setAlarm1MinutesBCD DL_RTC_Common_setAlarm1MinutesBCD
556 
560 #define DL_RTC_getAlarm1MinutesBCD DL_RTC_Common_getAlarm1MinutesBCD
561 
565 #define DL_RTC_enableAlarm1HoursBCD DL_RTC_Common_enableAlarm1HoursBCD
566 
570 #define DL_RTC_disableAlarm1HoursBCD DL_RTC_Common_disableAlarm1HoursBCD
571 
575 #define DL_RTC_setAlarm1HoursBCD DL_RTC_Common_setAlarm1HoursBCD
576 
580 #define DL_RTC_getAlarm1HoursBCD DL_RTC_Common_getAlarm1HoursBCD
581 
585 #define DL_RTC_enableAlarm1DayOfWeekBCD DL_RTC_Common_enableAlarm1DayOfWeekBCD
586 
590 #define DL_RTC_disableAlarm1DayOfWeekBCD DL_RTC_Common_disableAlarm1DayOfWeekBCD
591 
595 #define DL_RTC_setAlarm1DayOfWeekBCD DL_RTC_Common_setAlarm1DayOfWeekBCD
596 
600 #define DL_RTC_getAlarm1DayOfWeekBCD DL_RTC_Common_getAlarm1DayOfWeekBCD
601 
605 #define DL_RTC_enableAlarm1DayOfMonthBCD DL_RTC_Common_enableAlarm1DayOfMonthBCD
606 
610 #define DL_RTC_disableAlarm1DayOfMonthBCD DL_RTC_Common_disableAlarm1DayOfMonthBCD
611 
615 #define DL_RTC_setAlarm1DayOfMonthBCD DL_RTC_Common_setAlarm1DayOfMonthBCD
616 
620 #define DL_RTC_getAlarm1DayOfMonthBCD DL_RTC_Common_getAlarm1DayOfMonthBCD
621 
625 #define DL_RTC_enableAlarm2MinutesBCD DL_RTC_Common_enableAlarm2MinutesBCD
626 
630 #define DL_RTC_disableAlarm2MinutesBCD DL_RTC_Common_disableAlarm2MinutesBCD
631 
635 #define DL_RTC_setAlarm2MinutesBCD DL_RTC_Common_setAlarm2MinutesBCD
636 
640 #define DL_RTC_getAlarm2MinutesBCD DL_RTC_Common_getAlarm2MinutesBCD
641 
645 #define DL_RTC_enableAlarm2HoursBCD DL_RTC_Common_enableAlarm2HoursBCD
646 
650 #define DL_RTC_disableAlarm2HoursBCD DL_RTC_Common_disableAlarm2HoursBCD
651 
655 #define DL_RTC_setAlarm2HoursBCD DL_RTC_Common_setAlarm2HoursBCD
656 
660 #define DL_RTC_getAlarm2HoursBCD DL_RTC_Common_getAlarm2HoursBCD
661 
665 #define DL_RTC_enableAlarm2DayOfWeekBCD DL_RTC_Common_enableAlarm2DayOfWeekBCD
666 
670 #define DL_RTC_disableAlarm2DayOfWeekBCD DL_RTC_Common_disableAlarm2DayOfWeekBCD
671 
675 #define DL_RTC_setAlarm2DayOfWeekBCD DL_RTC_Common_setAlarm2DayOfWeekBCD
676 
680 #define DL_RTC_getAlarm2DayOfWeekBCD DL_RTC_Common_getAlarm2DayOfWeekBCD
681 
685 #define DL_RTC_enableAlarm2DayOfMonthBCD DL_RTC_Common_enableAlarm2DayOfMonthBCD
686 
690 #define DL_RTC_disableAlarm2DayOfMonthBCD DL_RTC_Common_disableAlarm2DayOfMonthBCD
691 
695 #define DL_RTC_setAlarm2DayOfMonthBCD DL_RTC_Common_setAlarm2DayOfMonthBCD
696 
700 #define DL_RTC_getAlarm2DayOfMonthBCD DL_RTC_Common_getAlarm2DayOfMonthBCD
701 
705 #define DL_RTC_setCalendarSecondsBinary DL_RTC_Common_setCalendarSecondsBinary
706 
710 #define DL_RTC_getCalendarSecondsBinary DL_RTC_Common_getCalendarSecondsBinary
711 
715 #define DL_RTC_setCalendarMinutesBinary DL_RTC_Common_setCalendarMinutesBinary
716 
720 #define DL_RTC_getCalendarMinutesBinary DL_RTC_Common_getCalendarMinutesBinary
721 
725 #define DL_RTC_setCalendarHoursBinary DL_RTC_Common_setCalendarHoursBinary
726 
730 #define DL_RTC_getCalendarHoursBinary DL_RTC_Common_getCalendarHoursBinary
731 
735 #define DL_RTC_setCalendarDayOfWeekBinary DL_RTC_Common_setCalendarDayOfWeekBinary
736 
740 #define DL_RTC_getCalendarDayOfWeekBinary DL_RTC_Common_getCalendarDayOfWeekBinary
741 
745 #define DL_RTC_setCalendarDayOfMonthBinary DL_RTC_Common_setCalendarDayOfMonthBinary
746 
750 #define DL_RTC_getCalendarDayOfMonthBinary DL_RTC_Common_getCalendarDayOfMonthBinary
751 
755 #define DL_RTC_setCalendarMonthBinary DL_RTC_Common_setCalendarMonthBinary
756 
760 #define DL_RTC_getCalendarMonthBinary DL_RTC_Common_getCalendarMonthBinary
761 
765 #define DL_RTC_setCalendarYearBinary DL_RTC_Common_setCalendarYearBinary
766 
770 #define DL_RTC_getCalendarYearBinary DL_RTC_Common_getCalendarYearBinary
771 
775 #define DL_RTC_enableAlarm1MinutesBinary DL_RTC_Common_enableAlarm1MinutesBinary
776 
780 #define DL_RTC_disableAlarm1MinutesBinary DL_RTC_Common_disableAlarm1MinutesBinary
781 
785 #define DL_RTC_setAlarm1MinutesBinary DL_RTC_Common_setAlarm1MinutesBinary
786 
790 #define DL_RTC_getAlarm1MinutesBinary DL_RTC_Common_getAlarm1MinutesBinary
791 
795 #define DL_RTC_enableAlarm1HoursBinary DL_RTC_Common_enableAlarm1HoursBinary
796 
800 #define DL_RTC_disableAlarm1HoursBinary DL_RTC_Common_disableAlarm1HoursBinary
801 
805 #define DL_RTC_setAlarm1HoursBinary DL_RTC_Common_setAlarm1HoursBinary
806 
810 #define DL_RTC_getAlarm1HoursBinary DL_RTC_Common_getAlarm1HoursBinary
811 
815 #define DL_RTC_enableAlarm1DayOfWeekBinary DL_RTC_Common_enableAlarm1DayOfWeekBinary
816 
820 #define DL_RTC_disableAlarm1DayOfWeekBinary DL_RTC_Common_disableAlarm1DayOfWeekBinary
821 
825 #define DL_RTC_setAlarm1DayOfWeekBinary DL_RTC_Common_setAlarm1DayOfWeekBinary
826 
830 #define DL_RTC_getAlarm1DayOfWeekBinary DL_RTC_Common_getAlarm1DayOfWeekBinary
831 
835 #define DL_RTC_enableAlarm1DayOfMonthBinary DL_RTC_Common_enableAlarm1DayOfMonthBinary
836 
840 #define DL_RTC_disableAlarm1DayOfMonthBinary DL_RTC_Common_disableAlarm1DayOfMonthBinary
841 
845 #define DL_RTC_setAlarm1DayOfMonthBinary DL_RTC_Common_setAlarm1DayOfMonthBinary
846 
850 #define DL_RTC_getAlarm1DayOfMonthBinary DL_RTC_Common_getAlarm1DayOfMonthBinary
851 
855 #define DL_RTC_enableAlarm2MinutesBinary DL_RTC_Common_enableAlarm2MinutesBinary
856 
860 #define DL_RTC_disableAlarm2MinutesBinary DL_RTC_Common_disableAlarm2MinutesBinary
861 
865 #define DL_RTC_setAlarm2MinutesBinary DL_RTC_Common_setAlarm2MinutesBinary
866 
870 #define DL_RTC_getAlarm2MinutesBinary DL_RTC_Common_getAlarm2MinutesBinary
871 
875 #define DL_RTC_enableAlarm2HoursBinary DL_RTC_Common_enableAlarm2HoursBinary
876 
880 #define DL_RTC_disableAlarm2HoursBinary DL_RTC_Common_disableAlarm2HoursBinary
881 
885 #define DL_RTC_setAlarm2HoursBinary DL_RTC_Common_setAlarm2HoursBinary
886 
890 #define DL_RTC_getAlarm2HoursBinary DL_RTC_Common_getAlarm2HoursBinary
891 
895 #define DL_RTC_enableAlarm2DayOfWeekBinary DL_RTC_Common_enableAlarm2DayOfWeekBinary
896 
900 #define DL_RTC_disableAlarm2DayOfWeekBinary DL_RTC_Common_disableAlarm2DayOfWeekBinary
901 
905 #define DL_RTC_setAlarm2DayOfWeekBinary DL_RTC_Common_setAlarm2DayOfWeekBinary
906 
910 #define DL_RTC_getAlarm2DayOfWeekBinary DL_RTC_Common_getAlarm2DayOfWeekBinary
911 
915 #define DL_RTC_enableAlarm2DayOfMonthBinary DL_RTC_Common_enableAlarm2DayOfMonthBinary
916 
920 #define DL_RTC_disableAlarm2DayOfMonthBinary DL_RTC_Common_disableAlarm2DayOfMonthBinary
921 
925 #define DL_RTC_setAlarm2DayOfMonthBinary DL_RTC_Common_setAlarm2DayOfMonthBinary
926 
930 #define DL_RTC_getAlarm2DayOfMonthBinary DL_RTC_Common_getAlarm2DayOfMonthBinary
931 
935 #define DL_RTC_setPrescalerEvents DL_RTC_Common_setPrescalerEvents
936 
940 #define DL_RTC_setPeriodicAlarm0 DL_RTC_Common_setPeriodicAlarm0
941 
945 #define DL_RTC_setPeriodicAlarm1 DL_RTC_Common_setPeriodicAlarm1
946 
950 #define DL_RTC_getPrescaler0 DL_RTC_Common_getPrescaler0
951 
955 #define DL_RTC_getPrescaler1 DL_RTC_Common_getPrescaler1
956 
960 #define DL_RTC_enableInterrupt DL_RTC_Common_enableInterrupt
961 
965 #define DL_RTC_disableInterrupt DL_RTC_Common_disableInterrupt
966 
970 #define DL_RTC_getEnabledInterrupts DL_RTC_Common_getEnabledInterrupts
971 
975 #define DL_RTC_getEnabledInterruptStatus DL_RTC_Common_getEnabledInterruptStatus
976 
980 #define DL_RTC_getRawInterruptStatus DL_RTC_Common_getRawInterruptStatus
981 
985 #define DL_RTC_getPendingInterrupt DL_RTC_Common_getPendingInterrupt
986 
990 #define DL_RTC_clearInterruptStatus DL_RTC_Common_clearInterruptStatus
991 
995 #define DL_RTC_enableEvent DL_RTC_Common_enableEvent
996 
1000 #define DL_RTC_disableEvent DL_RTC_Common_disableEvent
1001 
1005 #define DL_RTC_getEnabledEvents DL_RTC_Common_getEnabledEvents
1006 
1010 #define DL_RTC_getEnabledEventStatus DL_RTC_Common_getEnabledEventStatus
1011 
1015 #define DL_RTC_getRawEventsStatus DL_RTC_Common_getRawEventsStatus
1016 
1020 #define DL_RTC_clearEventsStatus DL_RTC_Common_clearEventsStatus
1021 
1025 #define DL_RTC_setPublisherChanID DL_RTC_Common_setPublisherChanID
1026 
1030 #define DL_RTC_getPublisherChanID DL_RTC_Common_getPublisherChanID
1031 
1035 #define DL_RTC_initCalendar DL_RTC_Common_initCalendar
1036 
1040 #define DL_RTC_getCalendarTime DL_RTC_Common_getCalendarTime
1041 
1045 #define DL_RTC_setCalendarAlarm1 DL_RTC_Common_setCalendarAlarm1
1046 
1050 #define DL_RTC_getCalendarAlarm1 DL_RTC_Common_getCalendarAlarm1
1051 
1055 #define DL_RTC_enableCalendarAlarm1 DL_RTC_Common_enableCalendarAlarm1
1056 
1060 #define DL_RTC_disableCalendarAlarm1 DL_RTC_Common_disableCalendarAlarm1
1061 
1065 #define DL_RTC_setCalendarAlarm2 DL_RTC_Common_setCalendarAlarm2
1066 
1070 #define DL_RTC_getCalendarAlarm2 DL_RTC_Common_getCalendarAlarm2
1071 
1075 #define DL_RTC_enableCalendarAlarm2 DL_RTC_Common_enableCalendarAlarm2
1076 
1080 #define DL_RTC_disableCalendarAlarm2 DL_RTC_Common_disableCalendarAlarm2
1081 
1082 /* clang-format on */
1083 
1084 #ifdef __cplusplus
1085 }
1086 #endif
1087 
1088 #endif /* __MSPM0_HAS_RTC__ */
1089 
1090 #endif /* ti_dl_dl_rtc__include */
1091 
Real Time Clock A (RTC Common) Peripheral Interface.
Calendar struct to use in DL_RTC_Common_initCalendar()
Definition: dl_rtc_common.h:571
Alarm struct to use in DL_RTC_Common_setCalendarAlarm.
Definition: dl_rtc_common.h:550
DL_RTC_Common_CalendarAlarm DL_RTC_CalendarAlarm
Redirects to common DL_RTC_Common_CalendarAlarm.
Definition: dl_rtc.h:73
DL_RTC_Common_Calendar DL_RTC_Calendar
Redirects to common DL_RTC_Common_Calendar.
Definition: dl_rtc.h:67
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale