Rtc Tamper And Alternate Function Configuration Register; (Rtc_Tafcr) - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090
23.6.17

RTC tamper and alternate function configuration register

(RTC_TAFCR)

Address offset: 0x40
Power-on reset value: 0x0000 0000
System reset: not affected
31
30
29
28
15
14
13
12
TAMP-
TAMP-
TAMPFLT[1:0]
PUDIS
PRCH[1:0]
rw
rw
rw
rw
Bit 31:19 Reserved. Always read as 0.
Bit 18 ALARMOUTTYPE: RTC_ALARM output type
0: RTC_ALARM is an open-drain output
1: RTC_ALARM is a push-pull output
Bit 17 TSINSEL: TIMESTAMP mapping
0: RTC_AF1 used as TIMESTAMP
1: RTC_AF2 used as TIMESTAMP
Bit 16 TAMP1INSEL: TAMPER1 mapping
0: RTC_AF1 used as TAMPER1
1: RTC_AF2 used as TAMPER1
Note: TAMP1E must be reset when TAMP1INSEL is changed to avoid unwanted setting of
Bit 15 TAMPPUDIS: TAMPER pull-up disable
This bit determines if each of the tamper pins are pre-charged before each sample.
0: Precharge tamper pins before sampling (enable internal pull-up)
1: Disable precharge of tamper pins
Note:
Bits 14:13 TAMPPRCH[1:0]: Tamper precharge duration
These bit determines the duration of time during which the pull-up/is activated before each
sample. TAMPPRCH is valid for each of the tamper inputs.
0x0: 1 RTCCLK cycle
0x1: 2 RTCCLK cycles
0x2: 4 RTCCLK cycles
0x3: 8 RTCCLK cycles
27
26
25
24
Reserved
11
10
9
8
TAMPFREQ[2:0]
rw
rw
rw
rw
TAMP1F.
Doc ID 018909 Rev 4
23
22
21
20
7
6
5
4
TAMPT
TAMP2
S
-TRG
Reserved
rw
rw
Real-time clock (RTC)
19
18
17
ALARMOUT
TSIN
TYPE
SEL
rw
rw
3
2
1
TAMP2
TAMP1
TAMPIE
E
TRG
rw
rw
rw
658/1422
16
TAMP1
INSEL
rw
0
TAMP1
E
rw

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