ï‚· RTC_SmoothCalibPeriod : : Select the Smooth Calibration
Period. This parameter can be can be one of the following
values:
ï€ RTC_SmoothCalibPeriod_32sec : The smooth
calibration periode is 32s.
ï€ RTC_SmoothCalibPeriod_16sec : The smooth
calibration periode is 16s.
ï€ RTC_SmoothCalibPeriod_8sec : The smooth
calibartion periode is 8s.
ï‚· RTC_SmoothCalibPlusPulses : : Select to Set or reset the
CALP bit. This parameter can be one of the following values:
ï€ RTC_SmoothCalibPlusPulses_Set : Add one
RTCCLK puls every 2**11 pulses.
ï€ RTC_SmoothCalibPlusPulses_Reset : No RTCCLK
pulses are added.
ï‚· RTC_SmouthCalibMinusPulsesValue : Select the value of
CALM[8:0] bits. This parameter can be one any value from 0
to 0x000001FF.
ï‚· An ErrorStatus enumeration value:
ï€ SUCCESS: RTC Calib registers are configured
ï€ ERROR: RTC Calib registers are not configured
19.2.31 Timestamp configuration functions
19.2.31.1 RTC_TimeStampCmd
void RTC_TimeStampCmd ( uint32_t RTC_TimeStampEdge,
FunctionalState NewState)
Enables or Disables the RTC TimeStamp functionality with the
specified time stamp pin stimulating edge.
ï‚· RTC_TimeStampEdge : Specifies the pin edge on which the
TimeStamp is activated. This parameter can be one of the
following:
ï€ RTC_TimeStampEdge_Rising : the Time stamp event
occurs on the rising edge of the related pin.
ï€ RTC_TimeStampEdge_Falling : the Time stamp event
occurs on the falling edge of the related pin.
ï‚· NewState : new state of the TimeStamp. This parameter can
be: ENABLE or DISABLE.