EasyManuals Logo

ST STM32F31xx User Manual

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
Page #384 background imageLoading...
Page #384 background image
Real-time clock (RTC)
UM1581
384/584
DocID023800 Rev 1
Parameters
ï‚· 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.
Return values
ï‚· An ErrorStatus enumeration value:
 SUCCESS: RTC Calib registers are configured
 ERROR: RTC Calib registers are not configured
Notes
ï‚· None.
19.2.31 Timestamp configuration functions
19.2.31.1 RTC_TimeStampCmd
Function Name
void RTC_TimeStampCmd ( uint32_t RTC_TimeStampEdge,
FunctionalState NewState)
Function Description
Enables or Disables the RTC TimeStamp functionality with the
specified time stamp pin stimulating edge.
Parameters
ï‚· 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.
Return values
ï‚· None.
Notes
ï‚· None.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals