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
398/584
DocID023800 Rev 1
#define: RTC_OutputPolarity_Low ((uint32_t)0x00100000)
RTC_Output_selection_Definitions
#define: RTC_Output_Disable ((uint32_t)0x00000000)
#define: RTC_Output_AlarmA ((uint32_t)0x00200000)
#define: RTC_Output_AlarmB ((uint32_t)0x00400000)
#define: RTC_Output_WakeUp ((uint32_t)0x00600000)
RTC_Output_Type_ALARM_OUT
#define: RTC_OutputType_OpenDrain ((uint32_t)0x00000000)
#define: RTC_OutputType_PushPull ((uint32_t)0x00040000)
RTC_Smooth_calib_period_Definitions
#define: RTC_SmoothCalibPeriod_32sec ((uint32_t)0x00000000)
if RTCCLK = 32768 Hz, Smooth calibation period is 32s, else 2exp20 RTCCLK seconds
#define: RTC_SmoothCalibPeriod_16sec ((uint32_t)0x00002000)
if RTCCLK = 32768 Hz, Smooth calibation period is 16s, else 2exp19 RTCCLK seconds
#define: RTC_SmoothCalibPeriod_8sec ((uint32_t)0x00004000)
if RTCCLK = 32768 Hz, Smooth calibation period is 8s, else 2exp18 RTCCLK seconds
RTC_Smooth_calib_Plus_pulses_Definitions
#define: RTC_SmoothCalibPlusPulses_Set ((uint32_t)0x00008000)
The number of RTCCLK pulses added during a X -second window = Y - CALM[8:0]. with Y
= 512, 256, 128 when X = 32, 16, 8

Table of Contents

Related product manuals