Gpios Controlled By The Rtc; Table 77. Rtc Pin Pc13 Configuration - STMicroelectronics STM32F05 series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0091
24.3.2

GPIOs controlled by the RTC

RTC_OUT, RTC_TS and RTC_TAMP1 are mapped on the same pin (PC13).
The selection of the RTC_ALARM output is performed through the RTC_TAFCR register as
follows: the PC13VALUE bit is used to select whether the RTC_ALARM output is configured
in push-pull or open drain mode.
When PC13 is not used as RTC alternate function, it can be forced in output push-pull mode
by setting the PC13MODE bit in the RTC_TAFCR. The output data value is then given by
the PC13VALUE bit. In this case, PC13 output push-pull state and data are preserved in
Standby mode.
The output mechanism follows the priority order shown in
When PC14 and PC15 are not used as LSE oscillator, they can be forced in output push-pull
mode by setting the PC14MODE and PC15MODE bits in the RTC_TAFCR register
respectively. The output data values are then given by PC14VALUE and PC15VALUE. In
this case, the PC14 and PC15 output push-pull states and data values are preserved in
Standby mode.
The output mechanism follows the priority order shown in
Table 77.
RTC pin PC13 configuration
Pin
RTC_ALARM
configuration
output
and function
enabled
RTC_ALARM
output OD
RTC_ALARM
output PP
RTC_CALIB
output PP
RTC_TAMP1
input floating
RTC_TS and
RTC_TAMP1
input floating
RTC_TS input
floating
Output PP
forced
Wakeup pin or
Standard GPIO
1. OD: open drain; PP: push-pull.
RTC_CALIB
output
enabled
1
Don't care
1
Don't care
0
1
0
0
0
0
0
0
0
0
0
0
Doc ID 018940 Rev 1
(1)
RTC_TAMP1
RTC_TS
input
input
enabled
enabled
Don't care
Don't care
Don't care
Don't care
Don't care
Don't care
1
1
0
0
0
Real-time clock (RTC)
Table 77
Table 78
and
Table
PC13MODE
bit
Don't care
Don't care
Don't care
0
Don't care
1
Don't care
1
Don't care
0
1
0
0
79.
PC13VALUE
bit
0
1
Don't care
Don't care
Don't care
Don't care
PC13 output
data value
Don't care
537/742

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents