Martin Johnson / STM32F3-Discovery

Dependents:   Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more

Embed: (wiki syntax)

« Back to documentation index

Output pin Configuration function

Output pin Configuration function
[RTC_Private_Functions]

Output pin Configuration function. More...

Functions

void RTC_OutputConfig (uint32_t RTC_Output, uint32_t RTC_OutputPolarity)
 Configures the RTC output source (AFO_ALARM).

Detailed Description

Output pin Configuration function.

 ===============================================================================
                   ##### Output pin Configuration function #####
 ===============================================================================
    [..] This section provide functions allowing to configure the RTC Output source.


Function Documentation

void RTC_OutputConfig ( uint32_t  RTC_Output,
uint32_t  RTC_OutputPolarity 
)

Configures the RTC output source (AFO_ALARM).

Parameters:
RTC_Output,:Specifies which signal will be routed to the RTC output. This parameter can be one of the following values:

  • RTC_Output_Disable: No output selected
  • RTC_Output_AlarmA: signal of AlarmA mapped to output
  • RTC_Output_AlarmB: signal of AlarmB mapped to output
  • RTC_Output_WakeUp: signal of WakeUp mapped to output
RTC_OutputPolarity,:Specifies the polarity of the output signal. This parameter can be one of the following:

  • RTC_OutputPolarity_High: The output pin is high when the ALRAF/ALRBF/WUTF is high (depending on OSEL)
  • RTC_OutputPolarity_Low: The output pin is low when the ALRAF/ALRBF/WUTF is high (depending on OSEL)
Return values:
None

Definition at line 1656 of file stm32f30x_rtc.c.