STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
RTC Alarm Sub Seconds Masks Definitions
Collaboration diagram for RTC Alarm Sub Seconds Masks Definitions:

Macros

#define RTC_ALARMSUBSECONDMASK_ALL   0x00000000u
 < All Alarm SS fields are masked.
#define RTC_ALARMSUBSECONDMASK_SS14_1   RTC_ALRMASSR_MASKSS_0
 SS[14:2] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_2   RTC_ALRMASSR_MASKSS_1
 SS[14:3] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_3   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_1)
 SS[14:4] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_4   RTC_ALRMASSR_MASKSS_2
 SS[14:5] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_5   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_2)
 SS[14:6] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_6   (RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_2)
 SS[14:7] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_7   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_2)
 SS[14:8] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_8   RTC_ALRMASSR_MASKSS_3
 SS[14:9] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_9   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_3)
 SS[14:10] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_10   (RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_3)
 SS[14:11] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_11   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_3)
 SS[14:12] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_12   (RTC_ALRMASSR_MASKSS_2 | RTC_ALRMASSR_MASKSS_3)
 SS[14:13] are don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14_13   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_2 | RTC_ALRMASSR_MASKSS_3)
 SS[14] is don't care in Alarm comparison.
#define RTC_ALARMSUBSECONDMASK_SS14   (RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_2 | RTC_ALRMASSR_MASKSS_3)
 SS[14:0] are compared and must match to activate alarm.
#define RTC_ALARMSUBSECONDMASK_NONE   RTC_ALRMASSR_MASKSS

Detailed Description

Macro Definition Documentation

◆ RTC_ALARMSUBSECONDMASK_ALL

#define RTC_ALARMSUBSECONDMASK_ALL   0x00000000u

< All Alarm SS fields are masked.

There is no comparison on sub seconds for Alarm SS[14:1] are don't care in Alarm comparison. Only SS[0] is compared.

Definition at line 451 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_NONE

#define RTC_ALARMSUBSECONDMASK_NONE   RTC_ALRMASSR_MASKSS

Definition at line 481 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14

#define RTC_ALARMSUBSECONDMASK_SS14   (RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_2 | RTC_ALRMASSR_MASKSS_3)

SS[14:0] are compared and must match to activate alarm.

Definition at line 479 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_1

#define RTC_ALARMSUBSECONDMASK_SS14_1   RTC_ALRMASSR_MASKSS_0

SS[14:2] are don't care in Alarm comparison.

Only SS[1:0] are compared.

Definition at line 453 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_10

#define RTC_ALARMSUBSECONDMASK_SS14_10   (RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_3)

SS[14:11] are don't care in Alarm comparison.

Only SS[10:0] are compared.

Definition at line 471 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_11

#define RTC_ALARMSUBSECONDMASK_SS14_11   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_3)

SS[14:12] are don't care in Alarm comparison.

Only SS[11:0] are compared.

Definition at line 473 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_12

#define RTC_ALARMSUBSECONDMASK_SS14_12   (RTC_ALRMASSR_MASKSS_2 | RTC_ALRMASSR_MASKSS_3)

SS[14:13] are don't care in Alarm comparison.

Only SS[12:0] are compared.

Definition at line 475 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_13

#define RTC_ALARMSUBSECONDMASK_SS14_13   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_2 | RTC_ALRMASSR_MASKSS_3)

SS[14] is don't care in Alarm comparison.

Only SS[13:0] are compared.

Definition at line 477 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_2

#define RTC_ALARMSUBSECONDMASK_SS14_2   RTC_ALRMASSR_MASKSS_1

SS[14:3] are don't care in Alarm comparison.

Only SS[2:0] are compared.

Definition at line 455 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_3

#define RTC_ALARMSUBSECONDMASK_SS14_3   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_1)

SS[14:4] are don't care in Alarm comparison.

Only SS[3:0] are compared.

Definition at line 457 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_4

#define RTC_ALARMSUBSECONDMASK_SS14_4   RTC_ALRMASSR_MASKSS_2

SS[14:5] are don't care in Alarm comparison.

Only SS[4:0] are compared.

Definition at line 459 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_5

#define RTC_ALARMSUBSECONDMASK_SS14_5   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_2)

SS[14:6] are don't care in Alarm comparison.

Only SS[5:0] are compared.

Definition at line 461 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_6

#define RTC_ALARMSUBSECONDMASK_SS14_6   (RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_2)

SS[14:7] are don't care in Alarm comparison.

Only SS[6:0] are compared.

Definition at line 463 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_7

#define RTC_ALARMSUBSECONDMASK_SS14_7   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_1 | RTC_ALRMASSR_MASKSS_2)

SS[14:8] are don't care in Alarm comparison.

Only SS[7:0] are compared.

Definition at line 465 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_8

#define RTC_ALARMSUBSECONDMASK_SS14_8   RTC_ALRMASSR_MASKSS_3

SS[14:9] are don't care in Alarm comparison.

Only SS[8:0] are compared.

Definition at line 467 of file stm32h7xx_hal_rtc.h.

◆ RTC_ALARMSUBSECONDMASK_SS14_9

#define RTC_ALARMSUBSECONDMASK_SS14_9   (RTC_ALRMASSR_MASKSS_0 | RTC_ALRMASSR_MASKSS_3)

SS[14:10] are don't care in Alarm comparison.

Only SS[9:0] are compared.

Definition at line 469 of file stm32h7xx_hal_rtc.h.