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_Smooth_calib_period_Definitions

Macros

#define RTC_SmoothCalibPeriod_32sec   ((uint32_t)0x00000000)
 
#define RTC_SmoothCalibPeriod_16sec   ((uint32_t)0x00002000)
 
#define RTC_SmoothCalibPeriod_8sec   ((uint32_t)0x00004000)
 
#define IS_RTC_SMOOTH_CALIB_PERIOD(PERIOD)
 

Detailed Description

Macro Definition Documentation

#define IS_RTC_SMOOTH_CALIB_PERIOD (   PERIOD)
Value:
(((PERIOD) == RTC_SmoothCalibPeriod_32sec) || \
((PERIOD) == RTC_SmoothCalibPeriod_16sec) || \
#define RTC_SmoothCalibPeriod_16sec   ((uint32_t)0x00002000)

if RTCCLK = 32768 Hz, Smooth calibation period is 16s, else 2exp19 RTCCLK seconds

#define RTC_SmoothCalibPeriod_32sec   ((uint32_t)0x00000000)

if RTCCLK = 32768 Hz, Smooth calibation period is 32s, else 2exp20 RTCCLK seconds

#define RTC_SmoothCalibPeriod_8sec   ((uint32_t)0x00004000)

if RTCCLK = 32768 Hz, Smooth calibation period is 8s, else 2exp18 RTCCLK seconds