GD32VF103 User Manual
60
1: Enable RTC clock calibration output
When enable, the TAMPER pin will output a clock with the frequency f
RTCCLK
/64.
ASOEN has the priority over COEN. When ASOEN is set, the TAMPER pin will
output the RTC alarm or second signal whether COEN is set or not.
RTC clock calibration value
The value indicates how many clock pulses are ignored or added every 2^20 RTC
clock pulses.
4.4.3. Tamper pin control register (BKP_TPCTL)
Address offset: 0x30
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)
Must be kept at reset value.
0: The TAMPER pin is active high
1: The TAMPER pin is active low
0: The TAMPER pin is free for GPIO functions
1: The TAMPER pin is dedicated for the Backup Reset function. The active level on
the TAMPER pin resets all data of the BKP_DATAx registers.
4.4.4. Tamper control and status register (BKP_TPCS)
Address offset: 0x34
Reset value: 0x0000(bit 2 reset by a system reset or the wake-up from Standby mode)
This register can be accessed by half-word (16-bit) or word (32-bit)
Must be kept at reset value.