STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
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)
#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