discoverpixy
Macros
RTC_Alarm_Sub_Seconds_Masks_Definitions
Collaboration diagram for RTC_Alarm_Sub_Seconds_Masks_Definitions:

Macros

#define RTC_AlarmSubSecondMask_All   ((uint32_t)0x00000000)
 
#define RTC_AlarmSubSecondMask_SS14_1   ((uint32_t)0x01000000)
 
#define RTC_AlarmSubSecondMask_SS14_2   ((uint32_t)0x02000000)
 
#define RTC_AlarmSubSecondMask_SS14_3   ((uint32_t)0x03000000)
 
#define RTC_AlarmSubSecondMask_SS14_4   ((uint32_t)0x04000000)
 
#define RTC_AlarmSubSecondMask_SS14_5   ((uint32_t)0x05000000)
 
#define RTC_AlarmSubSecondMask_SS14_6   ((uint32_t)0x06000000)
 
#define RTC_AlarmSubSecondMask_SS14_7   ((uint32_t)0x07000000)
 
#define RTC_AlarmSubSecondMask_SS14_8   ((uint32_t)0x08000000)
 
#define RTC_AlarmSubSecondMask_SS14_9   ((uint32_t)0x09000000)
 
#define RTC_AlarmSubSecondMask_SS14_10   ((uint32_t)0x0A000000)
 
#define RTC_AlarmSubSecondMask_SS14_11   ((uint32_t)0x0B000000)
 
#define RTC_AlarmSubSecondMask_SS14_12   ((uint32_t)0x0C000000)
 
#define RTC_AlarmSubSecondMask_SS14_13   ((uint32_t)0x0D000000)
 
#define RTC_AlarmSubSecondMask_SS14   ((uint32_t)0x0E000000)
 
#define RTC_AlarmSubSecondMask_None   ((uint32_t)0x0F000000)
 
#define IS_RTC_ALARM_SUB_SECOND_MASK(MASK)
 

Detailed Description

Macro Definition Documentation

#define IS_RTC_ALARM_SUB_SECOND_MASK (   MASK)
Value:
(((MASK) == RTC_AlarmSubSecondMask_All) || \
((MASK) == RTC_AlarmSubSecondMask_SS14) || \
#define RTC_AlarmSubSecondMask_SS14_5
Definition: stm32f4xx_rtc.h:317
#define RTC_AlarmSubSecondMask_SS14_1
Definition: stm32f4xx_rtc.h:305
#define RTC_AlarmSubSecondMask_SS14_8
Definition: stm32f4xx_rtc.h:326
#define RTC_AlarmSubSecondMask_SS14_9
Definition: stm32f4xx_rtc.h:329
#define RTC_AlarmSubSecondMask_SS14_10
Definition: stm32f4xx_rtc.h:332
#define RTC_AlarmSubSecondMask_SS14
Definition: stm32f4xx_rtc.h:344
#define RTC_AlarmSubSecondMask_SS14_7
Definition: stm32f4xx_rtc.h:323
#define RTC_AlarmSubSecondMask_SS14_2
Definition: stm32f4xx_rtc.h:308
#define RTC_AlarmSubSecondMask_SS14_6
Definition: stm32f4xx_rtc.h:320
#define RTC_AlarmSubSecondMask_SS14_12
Definition: stm32f4xx_rtc.h:338
#define RTC_AlarmSubSecondMask_All
Definition: stm32f4xx_rtc.h:300
#define RTC_AlarmSubSecondMask_SS14_11
Definition: stm32f4xx_rtc.h:335
#define RTC_AlarmSubSecondMask_SS14_13
Definition: stm32f4xx_rtc.h:341
#define RTC_AlarmSubSecondMask_SS14_4
Definition: stm32f4xx_rtc.h:314
#define RTC_AlarmSubSecondMask_None
Definition: stm32f4xx_rtc.h:347
#define RTC_AlarmSubSecondMask_SS14_3
Definition: stm32f4xx_rtc.h:311
#define RTC_AlarmSubSecondMask_All   ((uint32_t)0x00000000)

All Alarm SS fields are masked. There is no comparison on sub seconds for Alarm

#define RTC_AlarmSubSecondMask_None   ((uint32_t)0x0F000000)

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

#define RTC_AlarmSubSecondMask_SS14   ((uint32_t)0x0E000000)

SS[14] is don't care in Alarm comparison.Only SS[13:0] are compared

#define RTC_AlarmSubSecondMask_SS14_1   ((uint32_t)0x01000000)

SS[14:1] are don't care in Alarm comparison. Only SS[0] is compared.

#define RTC_AlarmSubSecondMask_SS14_10   ((uint32_t)0x0A000000)

SS[14:10] are don't care in Alarm comparison. Only SS[9:0] are compared

#define RTC_AlarmSubSecondMask_SS14_11   ((uint32_t)0x0B000000)

SS[14:11] are don't care in Alarm comparison. Only SS[10:0] are compared

#define RTC_AlarmSubSecondMask_SS14_12   ((uint32_t)0x0C000000)

SS[14:12] are don't care in Alarm comparison.Only SS[11:0] are compared

#define RTC_AlarmSubSecondMask_SS14_13   ((uint32_t)0x0D000000)

SS[14:13] are don't care in Alarm comparison. Only SS[12:0] are compared

#define RTC_AlarmSubSecondMask_SS14_2   ((uint32_t)0x02000000)

SS[14:2] are don't care in Alarm comparison. Only SS[1:0] are compared

#define RTC_AlarmSubSecondMask_SS14_3   ((uint32_t)0x03000000)

SS[14:3] are don't care in Alarm comparison. Only SS[2:0] are compared

#define RTC_AlarmSubSecondMask_SS14_4   ((uint32_t)0x04000000)

SS[14:4] are don't care in Alarm comparison. Only SS[3:0] are compared

#define RTC_AlarmSubSecondMask_SS14_5   ((uint32_t)0x05000000)

SS[14:5] are don't care in Alarm comparison. Only SS[4:0] are compared

#define RTC_AlarmSubSecondMask_SS14_6   ((uint32_t)0x06000000)

SS[14:6] are don't care in Alarm comparison. Only SS[5:0] are compared

#define RTC_AlarmSubSecondMask_SS14_7   ((uint32_t)0x07000000)

SS[14:7] are don't care in Alarm comparison. Only SS[6:0] are compared

#define RTC_AlarmSubSecondMask_SS14_8   ((uint32_t)0x08000000)

SS[14:8] are don't care in Alarm comparison. Only SS[7:0] are compared

#define RTC_AlarmSubSecondMask_SS14_9   ((uint32_t)0x09000000)

SS[14:9] are don't care in Alarm comparison. Only SS[8:0] are compared