EasyManua.ls Logo

GigaDevice Semiconductor GD32F3x0 - Page 246

Default Icon
665 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GD32F3x0 User Manual
246
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
17:16
Reserved
Must be kept at reset value.
15
DISPU
RTC_TAMPx pull up disable bit
0: Enable inner pull-up before sampling for pre-charge RTC_TAMPx pin
1: Disable pre-charge duration
14:13
PRCH[1:0]
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
12:11
FLT[1:0]
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
10:8
FREQ[2:0]
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)
7
TPTS
Make tamper function used for timestamp function
0: No effect
1: TSF is set when tamper event detected even TSEN=0
6:5
Reserved
Must be kept at reset value.

Table of Contents

GigaDevice Semiconductor GD32F3x0 - Page 246