Selection Of Rtc_Af1 And Rtc_Af2 Alternate Functions; Table 30. Rtc_Af1 Pin - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

General-purpose I/Os (GPIO)
7.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 RTC_ALARM, or RTC_CALIB RTC outputs.
The RTC_AF1 (PC13) can be used for the following purposes:
RTC_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_CALIB output: this feature is enabled by setting the COE[23] in the RTC_CR
register
RTC_TAMP1: tamper event detection
RTC_TS: time stamp event detection
The RTC_AF2 (PI8) can be used for the following purposes:
RTC_TAMP1: tamper event detection
RTC_TAMP2: tamper event detection
RTC_TS: 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 RTC_TAMP1 tamper input
TSINSEL is used to select which pin is used as the RTC_TS time stamp input
ALARMOUTTYPE is used to select whether the RTC_ALARM is output in push-pull or
open-drain mode
The output mechanism follows the priority order listed in
Table 30.
RTC_AF1 pin
Pin
RTC_ALARM
configuration
enabled
and function
Alarm out
1
output OD
Alarm out
1
output PP
Calibration out
0
output PP
TAMPER1 input
0
floating
TIMESTAMP
and TAMPER1
0
input floating
TIMESTAMP
0
input floating
Standard GPIO
0
1. OD: open drain; PP: push-pull.
197/1422
(1)
RTC_CALIB
Tamper
enabled
enabled
Don't care
Don't care
Don't care
Don't care
1
Don't care
0
1
0
1
0
0
0
0
Doc ID 018909 Rev 4
Table 30
Time
TAMP1INSEL
stamp
TAMPER1 pin
enabled
selection
Don't
Don't care
care
Don't
Don't care
care
Don't
Don't care
care
0
0
1
0
1
Don't care
0
Don't care
RM0090
and
Table
31.
TSINSEL
ALARMOUTTYPE
TIMESTAMP
RTC_ALARM
pin
configuration
selection
Don't care
0
Don't care
1
Don't care
Don't care
Don't care
Don't care
0
Don't care
0
Don't care
Don't care
Don't care

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F40 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF