![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 293](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630293.webp)
www.geehy.com Page 292
Field
Name
R/W
Description
1: Enable
1
TP1ALCFG
R/W
RTC_TAMP1 Input Active Level Configure
When TPFCSEL!=00, this bit determines that RTC_TAMP1 will
trigger an tamper detection event when the input maintains high/low
level.
0: Low level
1: High level
When TPFCSEL=00, this bit determines that RTC_TAMP1 triggers
an tamper detection event when the input is on rising/falling edge.
0: Rising edge
1: Falling edge
2
TPIEN
R/W
Tamper Interrupt Enable
0: Disable
1: Enable
3
TP2EN
R/W
RTC_TAMP2 Input Detection Enable
0: Disable
1: Enable
4
TP2ALCFG
R/W
RTC_TAMP2 Input Active Level Configure
When TPFCSEL!=00, this bit determines that RTC_TAMP2 will
trigger a tamper detection event when the input maintains high/low
level.
0: Low level
1: High level
When TPFCSEL=00, this bit determines that RTC_TAMP2 triggers a
tamper detection event on rising/falling edge
0: Rising edge
1: Falling edge
6:5
Reserved
7
TPTSEN
R/W
Tamper Detection Event Timestamp Enable
This bit determines whether the timestamp generated by the tamper
detection event is saved
0: Not saved
1: Saved
This bit is still valid when TSEN=0 for RTC_CTRL register.
10:8
TPSFSEL
R/W
Tamper Sampling Frequency Select
These bits determine the sampling frequency of each input of
RTC_TAMPx.
0x0
:
RTCCLK/32768
0x1
:
RTCCLK/16384
0x2
:
RTCCLK/8192
0x3
:
RTCCLK/4096
0x4
:
RTCCLK/2048
0x5
:
RTCCLK/1024
0x6
:
RTCCLK/512
0x7
:
RTCCLK/256
12:11
TPFCSEL
R/W RTC_TAMPx Filter Count Select