EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Real-time clock (RTC)
UM1581
378/584
DocID023800 Rev 1
19.2.26.5 RTC_AlarmSubSecondConfig
Function Name
void RTC_AlarmSubSecondConfig ( uint32_t RTC_Alarm,
uint32_t RTC_AlarmSubSecondValue, uint32_t
RTC_AlarmSubSecondMask)
Function Description
Configures the RTC AlarmA/B Subseconds value and mask.
Parameters
RTC_Alarm : specifies the alarm to be configured. This
parameter can be one of the following values:
RTC_Alarm_A : to select Alarm A
RTC_Alarm_B : to select Alarm B
RTC_AlarmSubSecondValue : specifies the Subseconds
value. This parameter can be a value from 0 to 0x00007FFF.
RTC_AlarmSubSecondMask : specifies the Subseconds
Mask. This parameter can be any combination of the following
values:
RTC_AlarmSubSecondMask_All : All Alarm SS fields
are masked. There is no comparison on sub seconds for
Alarm.
RTC_AlarmSubSecondMask_SS14_1 : SS[14:1] are
don't care in Alarm comparison. Only SS[0] is compared
RTC_AlarmSubSecondMask_SS14_2 : SS[14:2] are
don't care in Alarm comparison. Only SS[1:0] are
compared
RTC_AlarmSubSecondMask_SS14_3 : SS[14:3] are
don't care in Alarm comparison. Only SS[2:0] are
compared
RTC_AlarmSubSecondMask_SS14_4 : SS[14:4] are
don't care in Alarm comparison. Only SS[3:0] are
compared
RTC_AlarmSubSecondMask_SS14_5 : SS[14:5] are
don't care in Alarm comparison. Only SS[4:0] are
compared
RTC_AlarmSubSecondMask_SS14_6 : SS[14:6] are
don't care in Alarm comparison. Only SS[5:0] are
compared
RTC_AlarmSubSecondMask_SS14_7 : SS[14:7] are
don't care in Alarm comparison. Only SS[6:0] are
compared
RTC_AlarmSubSecondMask_SS14_8 : SS[14:8] are
don't care in Alarm comparison. Only SS[7:0] are
compared
RTC_AlarmSubSecondMask_SS14_9 : SS[14:9] are
don't care in Alarm comparison. Only SS[8:0] are
compared
RTC_AlarmSubSecondMask_SS14_10 : SS[14:10]
are don't care in Alarm comparison. Only SS[9:0] are
compared
RTC_AlarmSubSecondMask_SS14_11 : SS[14:11]
are don't care in Alarm comparison. Only SS[10:0] are
compared
RTC_AlarmSubSecondMask_SS14_12 : SS[14:12]

Table of Contents

Related product manuals