DocID025202 Rev 7
758/1080
RM0365
Real-time clock (RTC)
764
27.6.16 RTC tamper and alternate function configuration register
(RTC_TAFCR)
Address offset: 0x40
Backup domain reset value: 0x0000 0000
System reset: not affected
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
PC15
MODE
PC15
VALUE
PC14
MODE
PC14
VALUE
PC13
MODE
PC13
VALUE
Res.
Res.
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TAMPP
UDIS
TAMPPRCH
[1:0]
TAMPFLT[1:0]
TAMPFREQ[2:0]
TAMPT
S
TAMP3
TRG
(1)
TAMP3
E
TAMP2
TRG
TAMP2
E
TAMPIE
TAMP1
TRG
TAMP1
E
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
1. RTC_TAMP3 is not available on the STM32F302x6/8 devices.
Bits 31:24 Reserved, must be kept at reset value.
Bit 23
PC15MODE
: PC15 mode
0: PC15 is controlled by the GPIO configuration registers. Consequently PC15 is floating in
Standby mode.
1: PC15 is forced to push-pull output if LSE is disabled.
Bit 22
PC15VALUE
: PC15 value
If the LSE is disabled and PC15MODE = 1, PC15VALUE configures the PC15 output data.
Bit 21
PC14MODE
: PC14 mode
0: PC14 is controlled by the GPIO configuration registers. Consequently PC14 is floating in
Standby mode.
1: PC14 is forced to push-pull output if LSE is disabled.
Bit 20
PC14VALUE
: PC14 value
If the LSE is disabled and PC14MODE = 1, PC14VALUE configures the PC14 output data.
Bit 19
PC13MODE
: PC13 mode
0: PC13 is controlled by the GPIO configuration registers. Consequently PC13 is floating in
Standby mode.
1: PC13 is forced to push-pull output if all RTC alternate functions are disabled.
Bit 18
PC13VALUE
: RTC_ALARM output type/PC13 value
If PC13 is used to output RTC_ALARM, PC13VALUE configures the output configuration:
0: RTC_ALARM is an open-drain output
1: RTC_ALARM is a push-pull output
If all RTC alternate functions are disabled and PC13MODE = 1, PC13VALUE configures the
PC13 output data.
Bits 17:16 Reserved, must be kept at reset value.
Bit 15
TAMPPUDIS
: RTC_TAMPx pull-up disable
This bit determines if each of the RTC_TAMPx pins are pre-charged before each sample.
0: Precharge RTC_TAMPx pins before sampling (enable internal pull-up)
1: Disable precharge of RTC_TAMPx pins.