STM8L15x Standard Peripherals Drivers: Output pin Configuration function

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Output pin Configuration function

Output pin Configuration function. More...

Functions

ErrorStatus RTC_SynchroShiftConfig (RTC_ShiftAdd1S_TypeDef RTC_ShiftAdd1S, uint16_t RTC_ShiftSubFS)
 Configures the Synchronization Shift Control Settings.

Detailed Description

Output pin Configuration function.

 ===============================================================================
                         Output pin Configuration function
 ===============================================================================  

  This section provide functions allowing to configure the RTC Output source.


Function Documentation

ErrorStatus RTC_SynchroShiftConfig ( RTC_ShiftAdd1S_TypeDef  RTC_ShiftAdd1S,
uint16_t  RTC_ShiftSubFS 
)

Configures the Synchronization Shift Control Settings.

Parameters:
RTC_ShiftAdd1S: Select to add or not 1 second to the time Calendar. This parameter can be one parameter from the RTC_ShiftAdd1S_TypeDef enumeration.
RTC_ShiftSubFS,:Select the number of Second Fractions to Substitute. This parameter can be one any value from 0 to 0x7FFF.
Return values:
AnErrorStatus enumeration value:
  • SUCCESS: RTC Shift registers are configured
  • ERROR: RTC Shift registers are not configured

Definition at line 1633 of file stm8l15x_rtc.c.

References ERROR, IS_RTC_SHIFT_ADD1S, IS_RTC_SHIFT_SUBFS, RESET, RTC, RTC_ISR1_SHPF, SHPF_TIMEOUT, and SUCCESS.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com