EasyManuals Logo

ST STM32F207 series User Manual

ST STM32F207 series
1381 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 #149 background imageLoading...
Page #149 background image
RM0033 Rev 9 149/1381
RM0033 General-purpose I/Os (GPIO)
158
6.3.15 Selection of RTC_AF1 and RTC_AF2 alternate functions
The STM32F4xx feature two GPIO pins RTC_AF1 and RTC_AF2 that can be used for the
detection of a tamper or time stamp event, or AFO_ALARM, or AFO_CALIB RTC outputs.
The RTC_AF1 (PC13) can be used for the following purposes:
RTC AFO_ALARM output: this output can be RTC Alarm A, RTC Alarm B or RTC Wakeup
depending on the OSEL[1:0] bits in the RTC_CR register
RTC AFO_CALIB output: this feature is enabled by setting the COE[23] in the RTC_CR
register
RTC AFI_TAMPER1: tamper event detection
RTC AFI_TIMESTAMP: time stamp event detection
The RTC_AF2 (PI8) can be used for the following purposes:
RTC AFI_TAMPER1: tamper event detection
RTC AFI_TAMPER2: tamper event detection
RTC AFI_TIMESTAMP: time stamp event detection
The selection of the corresponding pin is performed through the RTC_TAFCR register as
follows:
TAMP1INSEL is used to select which pin is used as the AFI_TAMPER1 tamper input
TSINSEL is used to select which pin is used as the AFI_TIMESTAMP time stamp input
ALARMOUTTYPE is used to select whether the RTC AFO_ALARM is output in push-
pull or open-drain mode
The output mechanism follows the priority order listed in Table 16 and Table 17.
Table 16. RTC_AF1 pin
(1)
Pin
configuration
and function
AFO_ALARM
enabled
AFO_CALIB
enabled
Tamper
enabled
Time
stamp
enabled
TAMP1INSEL
TAMPER1
pin selection
TSINSEL
TIMESTAMP
pin
selection
ALARMOUTTYPE
AFO_ALARM
configuration
Alarm out
output OD
1Dont care
Don’t
care
Don’t
care
Don’t care Don’t care 0
Alarm out
output PP
1Dont care
Don’t
care
Don’t
care
Don’t care Don’t care 1
Calibration
out output PP
01
Don’t
care
Don’t
care
Don’t care Don’t care Don’t care
TAMPER1
input floating
0 0 1 0 0 Don’t care Don’t care
TIMESTAMP
and
TAMPER1
input floating
0 0 1 1 0 0 Don’t care
TIMESTAMP
input floating
0 0 0 1 Don’t care 0 Don’t care
Standard
GPIO
0 0 0 0 Don’t care Don’t care Don’t care
1. OD: open drain; PP: push-pull.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F207 series Specifications

General IconGeneral
BrandST
ModelSTM32F207 series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals