![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 294](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630294.webp)
www.geehy.com Page 293
Field
Name
R/W
Description
These bits detemine the number of sampling times after which the
tamper event is activated on specific level (TAMP*TRG).
TPFCSEL is valid for each input of RTC_TAMPx.
0x0: Activate the tamper event on the edge where RTC_TAMPx input
is converted into valid level
0x1: Continuous sampling twice
0x2: Continuous sampling for four times
0x3: Continuous sampling for eight times
14:13 TPPRDUSEL R/W
RTC_TAMPx Precharge Duration Select
These bits determine the number of RTCCLK cycles which are
enabled by pull-up resistor before sampling; which is valid in each
input of RTC_TAMPx.
0x0
:
1
0x1
:
2
0x2
:
4
0x3
:
8
15
TPPUDIS
R/W
RTC_TAMPx Pull-up Function Disable
This bit determines whether all RTC_TAMPx pins are precharged
before sampling.
0: Enable (internal pull-up is enabled)
1: Disable
16
TP1MSEL
R/W
RTC_TAMP1 Mapping Select
0: RTC_AF1 is used as RTC_TAMP1
1: RTC_AF2 is used as RTC_TAMP1
Note: When this bit is changed, TP1EN must be reset, so as to avoid
unnecessary setting of TP1FLG.
17
TSMSEL
R/W
Timestamp Mapping Select
0: RTC_AF1 is used as timestamp
1: RTC_AF2 is used as timestamp
18
ALRMOT
R/W
RTC_ALARM Output Type Configure
0: Open-drain output
1: Push-pull output
31:19
Reserved
RTC alarm A subsecond register (RTC_ALRMASS)
This register can be written only when ALRAEN bit of RTC_CTRL is reset or in
initialization mode, and it will be in write protection state.
This register is in write protection state.
Offset address: 0x44
Reset value of backup domain: 0x0000 0000
System reset: 0xXXXX XXXX
Field
Name
R/W
Description
14:0
SUBSEC
R/W
Sub Second Value Setup
The subsecond value is compared with the value in the synchronous
prescaler counter to determine whether to activate the alarm A, and
only the bits from 0 to MASKSEL-1 are compared.