When PC13 is used to output alarm:
0: PC13 is in open-drain output type
1: PC13 is in push-pull output type
When all RTC alternate functions are disabled and PC13MDE = 1:
0: PC13 output 0
1: PC13 output 1
Must be kept at reset value.
RTC_TAMPx pull up disable bit
0: Enable inner pull-up before sampling for pre-charge RTC_TAMPx pin
1: Disable pre-charge duration
Pre-charge duration time of RTC_TAMPx
This setting determines the pre-charge time before each sampling.
0x0: 1 RTC clock
0x1: 2 RTC clock
0x2: 4 RTC clock
0x3: 8 RTC clock
RTC_TAMPx filter count setting
This bit determines the tamper sampling type and the number of consecutive
sample.
0x0: Detecting tamper event using edge mode. Pre-charge duration is disabled
automatically
0x1: Detecting tamper event using level mode.2 consecutive valid level samples
will make an effective tamper event
0x2: Detecting tamper event using level mode.4 consecutive valid level samples
will make an effective tamper event
0x3: Detecting tamper event using level mode.8 consecutive valid level samples
will make an effective tamper event
Sampling frequency of tamper event detection
0x0: Sample once every 32768 RTCCLK (1Hz if RTCCLK = 32.768KHz)
0x1: Sample once every 16384 RTCCLK (2Hz if RTCCLK = 32.768KHz)
0x2: Sample once every 8192 RTCCLK (4Hz if RTCCLK = 32.768KHz)
0x3: Sample once every 4096 RTCCLK (8Hz if RTCCLK = 32.768KHz)
0x4: Sample once every 2048 RTCCLK (16Hz if RTCCLK = 32.768KHz)
0x5: Sample once every 1024 RTCCLK (32Hz if RTCCLK = 32.768KHz)
0x6: Sample once every 512 RTCCLK (64Hz if RTCCLK = 32.768KHz)
0x7: Sample once every 256 RTCCLK (128Hz if RTCCLK = 32.768KHz)
Make tamper function used for timestamp function
0: No effect
1: TSF is set when tamper event detected even TSEN=0
Must be kept at reset value.