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
Output pin Configuration function

Output pin Configuration function. More...


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

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).

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